Repository navigation
chore(ui-tooling): drop two test-only scripts and six CLI aliases nothing runs (slice 2 of #25920) - #26024
Merged
Conversation
…hing runs - ui/scripts/coverage-red-cause-census.mjs, its suspects ledger and test: a one-off census whose own header says no workflow runs it; only its test and one markdown-test-inputs row named it. - ui/scripts/extract-mdx-demos.mjs and its test: a one-off MDX-to-catalog migration helper; only its test and one markdown-test-inputs row named it. - ui/package.json: cli, objectui, doctor, studio, generate and g pointed at packages/cli/dist/cli.js; no workflow, script or document invokes them. `check` stays (root ci.yml runs it); start, site:start, test:unit and test:integration stay (live targets, pinned or documented). Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012eXtKYmXEnCc1GExP4go12
Contributor
Author
席位核对 — ACCEPT at
|
6 tasks
This was referenced Oct 26, 2026
Merged
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Requested by Elon · project thread
Part of #25920 — slice 2 of the unwired-tooling cleanup (slice 1 was #26004). The card stays open for the slices listed at the end.
Summary
Deletions only: 7 files, −1,322 lines, on
main88531fa.ui/scripts/coverage-red-cause-census.mjs+coverage-red-cause-suspects.json+ its test → delete. Its header calls it "a ONE-OFF CENSUS, not a gate … nothing in CI calls it"; nothing but its test and onemarkdown-test-inputs.mjsrow named it (row removed).ui/scripts/extract-mdx-demos.mjs+ its test → delete. A one-off MDX-to-schema-catalog migration helper; no alias, no workflow; nothing but its test and onemarkdown-test-inputs.mjsrow named it (row removed).ui/package.jsonaliasescli,objectui,doctor,studio,generate,g→ delete. All six point atpackages/cli/dist/cli.js; no workflow, script or document runs any of them (exactpnpm NAME/pnpm run NAMEgrep over the whole tree: 0 hits; theobjectui:build/objectui:refreshhits are different root scripts).Corrections to the #26004 body's "remaining slices" table, kept out of this PR on purpose:
test:unitandtest:integrationstay:ui/scripts/__tests__/package-scripts-vitest-projects.test.tspins both against the vitest projects.startandsite:startstay: both targets exist (@object-ui/consolepreview,@object-ui/sitestart) andui/apps/console/README.mddocumentspnpm start.checkstays: rootci.ymlrunspnpm --dir ui run check.Nothing is wired.
Verification (head e1651b4)
git grepacross the whole tree (AGENTS.md, skills, .claude, docs, every manifest, CHANGELOGs excluded) for both scripts, the ledger and the six aliases: no hits outside the deleted files and the two removed rows. No governed text touched.pnpm --dir ui run check:unreferenced-sourcesexit 0,check:test-path-rootsexit 0.dispatch-gates --commandsderived families: see the report on the card for the per-family exit codes.Remaining slices
tsconfig-test-parity-census(430 lines plus ~10 pointer comments),page-key-read-census(1,146),dollar-dialect-alias-census(1,109),check-component-surface-parity(2,584),changeset-polarity-census(3,525, split in two to stay under the 3,000-line human-merge threshold).Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_012eXtKYmXEnCc1GExP4go12