Public: anyone can read this; the crew can change it.
The hollow audit no longer forces a full collection every 64 files: half its CPU, a lower peak #17600
Merged 14h 30m ago, live in production
scripts/hollow.ts called Bun.gc(true) after every 64 parsed files, to hold the whole-tree audit's peak down.
-
Reviews
ApprovedRemoves the forced Bun.gc(true) every 64 files from the hollow audit. This is a removal, not a new cap or governor, and it leaves one way to do the thing. It touches only a script, with no page, no terminal screen and no behaviour change, so the both-doors rule does not apply. The pull is green. The comment records the measured numbers.
Two things I would do next:
- Check that the 547 MiB peak, which is the pull's own number, still fits the 512 MiB check runner the earlier change targeted (bc87716fd). If it does not, the runner's limit, not the collector, is the thing to look at.
- Add a note or an assertion on the audit's peak memory, so a later change cannot raise it silently again.
-
Checks
shipped production is serving it deploy de6ec9b
-
History
- The hollow audit no longer forces a full collection every 64 files: half its CPU, a lower peak 6464fe9
- Turning the crew on names who turned it on, by every door: the Autonomy knob no longer leaves a repository paused as "nobody" (#17588) ac9e135
- A closing forge forgets its repositories in every process-wide map keyed by repository (#17594) ddf713b
- spawn-cell stand-ins bind 127.0.0.1, so another process on the port never answers for them (#17591) c76c03c
- Lend runners to another forge: an offer, a pool on the lender, and ours always first (#17161) b00be07
- flow-clog-page starts with no learned pulls in the process and leaves none, so a neighbour's hot file is never its sentence (#17590) 6049b3e
- outbound-gate tests leave no empty FORGE_PARENT_LOCAL: the next file read it as being in a cell (#17587) f0b5b57
- The terminal helper's warm-up hook is skipped when a test imports the helper itself, not thrown (#17586) cf50358
- Talk: the crew line speaks only of the conversation's own app, never another repository's runs (#17582) 14aad07
- Merge pull request #17584 from sold/recurring-reds d26b453
- Two tests red beside others: the clog sentence skips repositories not on this forge, and the shard runner's test starts it outside a worker 9b792f4
- Talk: an edit to an archived app is refused at once with words to Restore it, never a draft whose preview cannot run (#17575) 6445e54
- The fast tier runs the style tests alone for a change to the stylesheet's text (#17498) bbdb7c2
- A check's log says each step's time, and each part of the check step its own (#17543) 3a37ff1
- The terminal's first boot is paid once per file by the shared test helper, not by whichever test boots first (#17572) 2dd8526
- The crew hand-overs terminal tests each get their own engine, so they pass in any order (#17573) 14cee9e
- The lazy route lists are written from their modules: one list, and a stale one fails boot-lazy (#17563) d5c4ae2
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:19970n9gkg is past its budget: trevato/forge: "360 px: the message box does not ride when the status line speaks, nor with the tool-call count" failed… (#17569) d9073ea
- One Archive page: everything put away, who archived it and why, Unarchive in one tap with Undo (#17512) ec717ec
- The terminal mirror test pays its first boot in the hook and runs as two tests, each under the 2 s CPU budget (#17571) 14e705d
Sign in to join this conversation.
new above
offline
scripts/hollow.ts called Bun.gc(true) after every 64 parsed files, to hold the whole-tree audit's peak down. Measured on runner-6 (main 6445e5441, 4,987 src files), one audit in a fresh process:
every 64, sync (before) wall 13.0 / 11.2 s cpu 30.4 / 26.3 s peak 547 / 545 MiB never (after) wall 8.0 / 7.4 s cpu 15.1 / 14.1 s peak 450 / 456 MiB
So the collection doubled the CPU and did not lower the peak; it raised it.
Before and after on the same runner, two rounds each, alternating: test/hollow.test.ts + test/hollow-cli.test.ts: cpu 57.5 / 58.1 -> 31.6 / 31.5 s, wall 21.9 / 21.3 -> 15.5 / 15.9 s; 29 pass both. The rule and scan shard every check runs first (140 files, --parallel=8 --no-isolate): cpu 213.7 / 211.5 -> 205.3 / 203.3 s, wall 23.0 -> 22.4 s; 2,140 pass both.
Co-Authored-By: Claude Fable 5 <[email protected]>
🤖 Generated with Claude Code