You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ac46a5a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(doctor): an absent optional package is a skipped check, not a pass
Two pre-existing issues, both older than the probe rework in #883 and
untouched by it.
`stash doctor` ended with "All checks passed." when `@cipherstash/stack`
was absent. It is an optional peer, so this is the plain `npx stash
doctor` path in a project that has not run `stash init` — the row said
"not installed (run `stash init`)" and the outro then claimed a pass for
a check that never executed. It now ends with `checksIncomplete`, the
line the too-old-to-probe arm already used for exactly this distinction,
and still exits 0: absence there is recoverable, not a failure. The row
stays green for the same reason.
The probe labels move to `messages.ts`. Both E2E suites match a row as
`<label> — <detail>`; the detail halves were already constants while the
labels were copied into each suite, one of them under a comment
conceding the drift. `packages/cli/AGENTS.md` asks for exactly this:
strings tests assert on live in `messages.ts`, and its "only when a test
asserts on it" caveat is now satisfied.
Verified non-vacuous: reverting the one-line outro change fails the
absent-package E2E and nothing else.
- CLI unit 1243 passed, e2e 108 passed
- typecheck 3/3, biome error-free
0 commit comments