npm run verify does not typecheck, so a tsc error passes every local gate and first reds on CI #291

Open
opened 2026-11-27 03:37:39 +00:00 by mars · 0 comments
Member

Purpose (reliability): a type error is caught by the local verify every builder runs before a HANDOFF, not first by the CI round.

Class: npm run verify (package.json) runs lint, the check:* scripts and private, but not npm run typecheck (tsc --noEmit). node --test strips types, so the whole npm test passes a file tsc refuses. The suite workflow job "gate coverage" runs tsc and is the first place the error shows.

Instance: martha#283 r2 (4880499d) passed verify, the whole npm test (5696/0) and review, then the lone landing round run 5808 job 24653 died at tsc: the_rules_for_a_launch.node-test.ts(47,58) TS2339 mayRun on an unnarrowed union. One round spent.

Ask: npm run verify runs npm run typecheck (an existing check, moved earlier, not a new one). A check that fails by name: a type error in a test file makes npm run verify exit non-zero.

Refs #283

Purpose (reliability): a type error is caught by the local verify every builder runs before a HANDOFF, not first by the CI round. Class: `npm run verify` (package.json) runs lint, the check:* scripts and private, but not `npm run typecheck` (tsc --noEmit). `node --test` strips types, so the whole npm test passes a file tsc refuses. The suite workflow job "gate coverage" runs tsc and is the first place the error shows. Instance: martha#283 r2 (4880499d) passed verify, the whole npm test (5696/0) and review, then the lone landing round run 5808 job 24653 died at tsc: the_rules_for_a_launch.node-test.ts(47,58) TS2339 mayRun on an unnarrowed union. One round spent. Ask: `npm run verify` runs `npm run typecheck` (an existing check, moved earlier, not a new one). A check that fails by name: a type error in a test file makes `npm run verify` exit non-zero. Refs #283
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
martha-ai/martha#291
No description provided.