Repository navigation
Commit 1180de6
committed
chore(cutover): the root tsc program and the coverage walker leave ui/ to its own packages (bill item 46, objectstack#25803)
The root tsconfig.json declares no `include` and excluded only
node_modules/packages/apps/examples, so on the merged tree the root
program read every ui/**/*.ts (2833 files plus the React and Vite type
closure) and check:type-check-debt's re-measure died at the 6144 MB heap
ceiling after about 3.5 minutes (exit 3, PREREQUISITE NOT MET). Excluding
`ui` puts the root program back to its own seven files (tsc in 3 s, the
same raw error count as main).
With the directory out of the root program, check-type-check-coverage's
walker then handed ui/scripts, ui/e2e, ui/docs and the rest (232 test
files, 51 source files) to the ROOT package: its "another package's
problem" guard skipped a child directory carrying a package.json only at
depth > 0, and ui/ is the first workspace member that sits directly under
the root. The guard now applies at any depth. No other member has a direct
child directory with a package.json, so this changes exactly that one
attribution.
Measured: --self-test 0 (58+97+56+28+19+18+19 cases); plain gate OK
128/131, the same reading as CI; --re-measure OK, 1 ledger entry, 26 raw
errors, none above its recorded number; check-test-source-alias,
check-undeclared-dep-imports and check-registry-log-declared exit 0.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RSDL3SFtJaKzcymvCD8RsU1 parent d2342a1 commit 1180de6
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2116 | 2116 | | |
2117 | 2117 | | |
2118 | 2118 | | |
2119 | | - | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
2120 | 2123 | | |
2121 | 2124 | | |
2122 | 2125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
0 commit comments