mirror of
https://github.com/garrytan/gstack.git
synced 2026-10-02 17:40:02 +02:00
feat: require a zero-error product typecheck and a test type-debt ratchet
Adds tsconfig.json (strict) over product code, fixes its remaining 90 diagnostics (type-only, interface corrections, and explicit narrowing), and adds a typecheck job to the required free-tests aggregate running bun run typecheck, the test-code ratchet (identity -> count baseline, fails on new, repeated, or unlocked fixed diagnostics), and the lib/cso format check. Reuses fixes from #2447 where they still applied.
This commit is contained in:
1 parent
03e5911dba
commit
42e53413da
38 files changed
+1254
-62
No files matched your search
@@ -234,6 +234,9 @@ When fixing failures or preparing `/ship`, follow this order:
|
||||
|
||||
```bash
|
||||
bun install # install dependencies
|
||||
bun run typecheck # strict tsc over product code; must report zero errors
|
||||
bun run typecheck:test # test-code type-debt ratchet (new diagnostics fail; --write-baseline locks in fixes)
|
||||
bun run format:cso # format lib/cso/*.ts (format:cso:check is the CI gate)
|
||||
bun run test:quick # fast measured free subset for edit feedback (not acceptance)
|
||||
bun run test # complete free suite via the strict shard runner (no API spend)
|
||||
bun run test:ubicloud # same suite on an ephemeral 16-vCPU Ubicloud VM (needs UBICLOUD_API_KEY)
|
||||
|
||||
Reference in new issue
Block a user