Public: anyone can read this; the crew can change it.
The check's tsc gets a 6 GiB heap bound: under 2 GiB its collector never stopped, and tsc was a check's largest CPU cost #17285
Merged 39h 13m ago, live in production
vxrail at 23:20Z on 2026-12-01: checks p50 12.8 min (10.3 the hour before), load 145, and tsc the top process at 576% and 314%. Sampled every 2 s for 3 min, each check's tsc used about 450 CPU-seconds in about 40 s. The check's tsc is already TypeScript 7.0.2, the native compiler, so there is no faster tsgo to swap in.
-
Reviews
ApprovedConsistent change: GOMEMLIMIT is 6GiB in all three forge.json check commands, scripts/preflight.ts, the shards test and docs/DEVELOP.md, and no stale 2GiB is left. The bound is a ceiling, not a cap on work, and it sits inside the check's 8 GiB. The test asserts the new value, so it would fail without the change. No page, TUI or feature doc is touched. Two follow-ups: 1) rewrap the long line in docs/DEVELOP.md that starts 'changed in the last two days'. 2) Read the check's peak RSS after this lands to confirm 6 GiB leaves headroom when shards run beside tsc.
-
Checks
shipped production is serving it deploy 9d6fa9d
-
History
- The check's tsc gets a 6 GiB heap bound: under 2 GiB its collector never stopped, and tsc was a check's largest CPU cost d1566d6
- Talk workspace W2: a hot-reloading dev cell per workspace (#17154) 8442431
- Serving first: background work at SCHED_IDLE, and new checks and crew runs wait while the forge is under pressure (#17235) b68a708
- fork-follow-history: the follows the history test reads are built in three steps, each its own test (#17260) 0bcae71
- A pull reads green and can land while its tests are still queued (#17258) 922eb80
- phone-targets measures the select inside Talk's closed Display menu, so main'… (#17250) 8874dc1
- Edges: DNS records as their own infra kind via Cloudflare, including SRV (#17093) 35ce195
- A memory reading's heap is never 0, so test/memory-watch.test.ts is green on main (#17248) f52066e
- The two OTLP intake routes' summaries are 91 and 93 characters, so main's ope… (#17249) 78e7edc
- Sentinel: memory-growth was degraded 32 minutes today: The forge's own memory is 4479 MiB, over twice its first-hour 1909 MiB and past the 2176 MiB more its database caches m… (#17251) 87074e5
- A red test run that named no failing test and no crash says so plainly, never its last stray line (#17228) df98dda
- CVE.org, GHSA and NVD feeds into /advisories (#17217) 6947127
- test/pull-schedule.test.ts: open each test's database with openDb, not a fres… (#17246) 1f8ef80
- test/cloud-watch-read.test.ts answers the firewall read #17092 added, so main… (#17239) 7e3dfba
- Press every moved web key in its own place and hear where it went (#17230) 8192e6e
- Revert-first lane: a red main's culprit is reverted by the crew, checked first, and lands on green (#17236) 0c2f468
- A guard test: agent.sh never writes a bare n/m as an object value, which jq 1.7 refuses (#17257) 6896d92
- A pull's new breach of a rule main already breaks is the pull's red: rule and scan reds are compared by failure text, not name (#17218) c26e527
- Merge pull request #17225 from sold/agent-jq 4a0cc46
- Red after landing: #17015 broke test/big-clone.test.ts (#17219) 0e9069a
vxrail at 23:20Z on 2026-12-01: checks p50 12.8 min (10.3 the hour before), load 145, and tsc the top process at 576% and 314%. Sampled every 2 s for 3 min, each check's tsc used about 450 CPU-seconds in about 40 s.
The check's tsc is already TypeScript 7.0.2, the native compiler, so there is no faster tsgo to swap in. The cost was its bound. forge.json runs it as
GOMEMLIMIT=2GiB, set when a cold check was ~17 CPU-s. On today's tree its working set is about 3.5 GB, so under 2 GiB Go's collector runs without pause.Cold, on one Mac, each run alone with the same 0 errors:
bound checkers wall CPU peak RSS 2 GiB 4 (deflt) 13.6 s 66.5 s 3.3 GB none 4 6.6 s 23.8 s 3.0 GB 6 GiB 4 6.8-8.4 30-31 s 3.7-3.8 GB 2 GiB 1 38.0 s 217.7 s 3.3 GB none 1 9.7 s 18.0 s 3.4 GB
&&chain, so nothing else in the cell competes for it.Expected on the runners: tsc from ~450 to ~100-200 CPU-s per check, and its wall time with it. I'll compare the next hour's checks against this one.
Not in this commit (found while measuring): the incremental cache gives pulls almost nothing now. src/checks/cache.ts keeps
.forge-cacheonly after a green default-branch check that ran on the forge itself (run_tier.ts). Since checks moved to outside runners at 19:05Z, nothing has written it. A pull is seeded with that 65-commit-old tsbuildinfo, and from it main costs 28 CPU-s against 31 cold. A fresh one costs 6.7. The fix is for a runner's green default-branch check to send its.forge-cacheback. That is a separate pull.No door: the check command's heap bound; nothing a person sees or sets Direction: CI speed: a check's largest CPU cost cut at its cause (#1864)
Co-Authored-By: Claude Fable 5 <[email protected]>
🤖 Generated with Claude Code