This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
docs(ci): pin the vi.mock and shadcn sections of ci-cd-pipeline.md to what their jobs run - #8878
Merged
Merged
Conversation
`vi-mock-specifiers.yml` runs two gates; the page named one, and the one it omitted (`check-vi-mock-inherit.mjs`) is a blocking step of a required context. `shadcn-check.yml`'s section named none of the three commands its job runs. Both sections now name every first-party command their job runs, and each is pinned by one `commandParity` unit in the doc test. The alias question is settled for these two units only: an alias whose root `package.json` definition is exactly `node scripts/<file>` names the same gate as invoking that file directly, so the page's local-run line is not read as a phantom gate. Aliases that carry arguments select a mode and are not merged. Refs: objectui#8420 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FhBNJcLRZLe8M87VcUgpKr
…graph Empty-frontmatter changeset: documentation and test only, no package released. Refs: objectui#8420 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FhBNJcLRZLe8M87VcUgpKr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #8420 (instances 1 and 2)
⛔ Deliberately not
Fixes. #8420 is a CLASS card — its title is everyci-cd-pipeline.mdworkflow section except
ci.ymlandlint.yml, and its body names two instances as the first twoof roughly thirty-two. This pull request pins those two. Closing the card here would retire the
remaining sections from every open-issue sweep in one move, which is the failure the card itself
warns about. On merge the card returns to
pm:queuewith aRelease:line naming what landed andwhat is left.
What changed
Two sections of
content/docs/guide/ci-cd-pipeline.mdnow name every first-party command the jobthey document actually runs — and no command it does not run — and each is held there by one
commandParityunit inscripts/__tests__/ci-cd-pipeline-doc.test.ts.## Inert vi.mock Specifiers— the workflow runs two gates in one job(
check-vi-mock-specifiers.mjsatvi-mock-specifiers.yml:96,check-vi-mock-inherit.mjsat:112); the section named only the first. The omitted one is a blocking step of a requiredcontext, so a contributor reading this section to learn what CI does to their pull request did
not know a gate that can stop it exists. The section now names both, says both block, and
describes what the inherit gate catches and how its recogniser works.
### Shadcn Component Check— three prose bullets naming none of the job's three commands.It now names
pnpm shadcn:analyze(shadcn-check.yml:94),pnpm shadcn:check(:119) andnode scripts/shadcn-check-report.mjs(:141), each with what its exit code means, plus thefact that nothing here blocks a merge.
The alias question, settled — and deliberately not generalised
shadcn-check.ymlliterally runs the aliaspnpm shadcn:analyze, while the vi.mock section namespnpm check:vi-mock-specifiersas the way to run a gate the workflow invokes asnode scripts/check-vi-mock-specifiers.mjs. The decision, written into the test's own prose so thenext reader inherits it:
Without it the two spellings read as two commands and the rule reports the page's own "run it
locally" line as a phantom gate — cry wolf, on the first section it was pointed at. Three limits are
pinned with it:
pnpm shadcn:checkandpnpm shadcn:updateare the same script with different flags; an alias with arguments selects a mode.
ci.ymltable, thelint.ymlsection, or the other 32 sections. Thoseare pinned by the unmodified module-scope rule; re-pointing them is a separate card.
pnpm installmustinvoke node directly). That is a fact about step placement; this rule measures which gates a job
runs.
A control test asserts the resolver is unambiguous (no two root scripts are a pure wrapper around
the same file — measured: 51 pure wrappers, 0 collisions) and that it still resolves the one alias
these pins depend on. Ambiguity would make the pins compare a spelling nobody chose.
Not a sweep
Scope is the two named sections. The card measured the naive extension: it flags 24 of the 34
sections and most are not defects. Where this PR needed to cite a neighbouring gate, it followed the
convention the
## Lintsection already established — name the script without itsscripts/pathand say why, so the page does not credit the job with a gate it does not run.
Evidence
Ablation, per pin, on the committed tree (mutate, prove the mutation reached disk, run, restore, and
prove the restore by blob hash):
check-vi-mock-inheritfrom the vi.mock prose (page hits 2 and 1 to 0 and 0; controlcheck-vi-mock-specifiersstays 3)vi-mock-specifiers.yml:pnpm check:vi-mock-inheritpnpm shadcn:analyzefrom the shadcn prose (1 to 0; controlshadcn:checkstays 1)shadcn-check.yml:pnpm shadcn:analyzescripts/check-doc-links.mjs, which it does not runpnpm docs:check-linksEach leg restored to the exact
HEADblob385055f51…and leftgit diff HEADempty.Checks run locally, all green:
pnpm exec vitest run scripts/__tests__/ci-cd-pipeline-doc.test.ts— 62 passed (58 before).pnpm exec vitest run scripts/__tests__/— 132 files, 3837 tests passed, 2 skipped. Seventeentest files in that directory read this page.
pnpm lint:rootexit 0 (whole root scan, 9.7s; the 32 warnings are pre-existing and none is in afile this PR touches — targeted eslint on the changed test file reports 0 errors, 0 warnings).
pnpm type-check:scriptsexit 0,pnpm docs:check-linksexit 0,pnpm check:doc-fencesexit 0,pnpm check:shell-escape-residueexit 0,node scripts/check-control-bytes.mjsexit 0.node scripts/check-changeset-presence.mjsexit 0. Documentation and test only, so the changesetis an empty-frontmatter declaration.
One card claim that did not reproduce
The card says
check-vi-mock-inherit.mjs"was widened three commits ago by #8414 (4b5e07a53)".Re-derived here:
git log origin/main -- .github/workflows/vi-mock-specifiers.ymlreturns threecommits in that file's whole history (
6ea94b80e,05b832407,e9e55524e), and4b5e07a53is notamong them. The drift-rate sentence built on it is not repeated anywhere in this PR, and neither
instance needs it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FhBNJcLRZLe8M87VcUgpKr
Generated by Claude Code
Generated by Claude Code