Repository navigation
test(cli): the doctor golden leaves out a check only some computers report - #12994
Closed
josephfarina wants to merge 1 commit into
Closed
josephfarina wants to merge 1 commit into
josephfarina wants to merge 1 commit into
Conversation
…eport The old-transpile-cache check reports only on a computer where an earlier CLI left its transpile folder in the user's cache, so the doctor golden in the isolation test failed on such a box and passed on a clean one. The golden now leaves that check out, as it reduces the other computer checks. [skip ci]
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
AI review status for this pull request.
|
josephfarina
marked this pull request as ready for review
November 19, 2026 20:06
josephfarina
requested review from
cixzhang and
imdreamrunner
as code owners
November 19, 2026 20:06
This was referenced Nov 19, 2026
josephfarina
added a commit
that referenced
this pull request
Nov 19, 2026
Contributor
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet. Its only commit carries [skip ci], so the required checks still have to pass before it merges.
On the base, the test fails the doctor golden only when an earlier CLI's astryx/jiti cache folder exists, and on this head it passes with and without that folder. No blocking findings.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: the doctor golden fails on a computer whose user cache holds an earlier CLI's transpile folder and passes on a clean one. Verified: the test on the base fails only with the folder;
packages/cli/api/doctor/doctor.mjs:3144-3158. - Claim: the test already reduces
newest-release,cli-on-pathandcomputer-integrationsto their ids. Verified:experimental-isolation.test.mjs:276-280and:303. - Claim:
old-transpile-cachereports only when the old folder exists. Verified:doctor.mjs:3146-3150. - Claim: reducing it to its id would still add a row on some computers. Verified: the map keeps an id-only row (
:303). - Claim: the golden now leaves the check out through a small set beside the existing list. Verified:
:287and:299-301. - Claim: before the change, with the old folder, "doctor reports an invalid installed set" is the one failure. Verified for that test: it fails on the base only with the folder.
- Claim: after the change, the file passes with and without the old folder. Verified for the doctor test and 53 others; the searchable-docs test needs a git checkout and was not re-run.
- Claim: only the test changes, and product behavior is unchanged. Verified: one changed file, and
packages/cli/package.jsonships neithertest/nor*.test.*. - Claim: no CI impact. Verified: with no old folder, as on a fresh runner, the filter removes nothing.
- Claim: the scope is
packages/clitests, with no public API, behavior, visual or policy change, and no internal context in public text. Verified. - Claim: preflight passed at this head. This records the author's own local run and was not re-run.
- Claim (commit message): the golden leaves the check out as it reduces the other computer checks. Verified, as above.
- File
packages/cli/test/experimental-isolation.test.mjs: clear.
josephfarina
added a commit
that referenced
this pull request
Nov 19, 2026
- #12941 fix(Table): the default cell renderer shows an Invalid Date as an empty cell Author: @josephfarina - #12886 docs(core): the README setup loads the theme's fonts Author: @josephfarina - #12887 fix(cli): doctor --built reads the setup stylesheet as wiring, not page styling Author: @josephfarina - #12456 fix(cli): a doc may leave out a value the code deprecates everywhere Author: @josephfarina - #12857 docs(cli): the styling and typography pages state their core rules Author: @josephfarina - #12994 test(cli): the doctor golden leaves out a check only some computers report Author: @josephfarina - #13001 test(cli): the swizzle proof renders Lab's MediaPlayer with its required label Author: @josephfarina
Contributor
Author
|
Landed in #12992. |
github-actions
Bot
deleted the
josephfarina/doctor-golden-old-transpile-cache
branch
November 20, 2026 06:05
This branch had an error being deployed
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.
Maintainer impact
The doctor golden in
packages/cli/test/experimental-isolation.test.mjsfails on any computer where an earlier Astryx CLI left its transpile folder in the user's cache, and passes on a clean one. The test then fails for a reason unrelated to the change under test, on the same commit that passes elsewhere.Intended invariant
The golden holds what the project and its icon sets decide, not this computer's state. It already reduces the checks that answer from the computer's cache and search path (
newest-release,cli-on-path,computer-integrations) to their ids.Change
old-transpile-cachereports only when the old folder exists, so whether its row appears depends on the computer alone. Reducing it to its id would still add a row on some computers. The golden now leaves it out entirely, through a small set of such checks beside the existing list.Evidence
~/.cache/astryx/jiti), "doctor reports an invalid installed set" fails: 1 failed, 54 passed.Scope
Components:
packages/cli(tests)Testing
pnpm exec vitest run packages/cli/test/experimental-isolation.test.mjs, with and without the old cache folder: 55 pass each.preflight: pass 80a700a