-
Notifications
You must be signed in to change notification settings - Fork 1
backlog(B-0106): add P2 row — tsc --noEmit gate job for tools/**.ts #888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,72 @@ | ||||||
| --- | ||||||
| id: B-0106 | ||||||
| priority: P2 | ||||||
| status: open | ||||||
| title: Add `tsc --noEmit` gate job for tools/**.ts so type errors fail CI | ||||||
| tier: factory-hygiene | ||||||
| effort: S | ||||||
| ask: Aaron 2026-04-29 (B-0086 trajectory) — found via slice-9 #882 post-merge audit on 2026-04-30 | ||||||
| created: 2026-04-30 | ||||||
| last_updated: 2026-04-30 | ||||||
| composes_with: [B-0086] | ||||||
| tags: [ci-lint, factory-hygiene, ts-bun-migration, mechanical-guard, missing-gate] | ||||||
| --- | ||||||
|
|
||||||
| # `tsc --noEmit` gate job for tools/**.ts | ||||||
|
||||||
|
|
||||||
| A real strict-typecheck error | ||||||
| (`tools/hygiene/audit-agencysignature-main-tip.ts(124,5): TS2322`) | ||||||
| shipped to main in slice-9 (PR #882) and was discovered post-merge | ||||||
| during slice-11 audit work on 2026-04-30. CI did not catch it because | ||||||
| `gate.yml` runs `dotnet build` for F#/C# but no `tsc --noEmit` for | ||||||
| TypeScript scripts under `tools/**`. | ||||||
|
|
||||||
| The fix for the specific bug shipped as PR #887. This row tracks | ||||||
| the *gap* — the missing CI gate. | ||||||
|
|
||||||
| ## Scope | ||||||
|
|
||||||
| Add a `lint (tsc tools)` job to `.github/workflows/gate.yml` that: | ||||||
|
|
||||||
| 1. Runs `./tools/setup/install.sh` (three-way-parity, GOVERNANCE §24). | ||||||
| 2. Runs `bun install --frozen-lockfile` to materialize `node_modules` | ||||||
| for `typescript@6.0.3` (already in `package.json` devDeps). | ||||||
| 3. Runs `bun --bun tsc --noEmit -p tsconfig.json`. | ||||||
|
||||||
| 3. Runs `bun --bun tsc --noEmit -p tsconfig.json`. | |
| 3. Runs `bun x tsc --noEmit -p tsconfig.json`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The glob in the title looks off:
tools/**.tswon’t match nested directories the same waytools/**/*.tsdoes. Since this row is about gating TS scripts undertools/, consider updating the pattern totools/**/*.ts(ortools/**/*.ts+tools/**/*.tsxif applicable) to avoid ambiguity later.