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
fix(pm): name the ratchet invocation CI runs in the dispatch-gates test-file entry
The convention entry for a change that adds a test file emitted
check:type-check-coverage with a rationale that describes the TEST_DEBT
ratchet — a half only check:type-check-debt (--re-measure) runs. A dev
seat that ran the named command in good faith reported green while the
ratchet had never run locally; CI then found four new type errors.
Both invocations are now emitted, each stating the question it answers,
and the ratchet line carries its built-closure prerequisite inline with
the exact build command lint.yml runs before that step — an unexplained
throw on a cold worktree reads as "not applicable to me".
Fixes#8545
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WuTtyckQa1VcXwgd52JpN
why: "TEST_DEBT ratchets a package's test-layer type errors, so a new test file that does not typecheck cleanly moves it",
768
+
why: "the STRUCTURAL half: a package whose test files sit outside every tsc program accounting for it must carry a TEST_DEBT entry, so a new test file no tsconfig reaches moves this one. It re-measures no count — the ratchet is the invocation below",
769
+
},
770
+
{
771
+
name: 'check:type-check-debt',
772
+
why: "the RATCHET half, and the invocation CI runs for it: `--re-measure` re-runs tsc per ledger entry and fails when a count drifts up, so a new test file that does not typecheck cleanly moves it. Needs the workspace closure BUILT — on an unbuilt worktree it refuses outright, and that throw means NOT MEASURED, never `not applicable to me`. Build first, exactly as lint.yml does: pnpm exec turbo run build --filter=./packages/* --filter=./packages/*/* (quote the filter values for your shell)",
0 commit comments