Public: anyone can read this; the crew can change it.
The fast tier runs its files in one bun test --parallel --no-isolate, longest first, in place of N slices #17509
Merged 18h 18m ago, live in production
test-shards.ts --parallel (switched on in forge.json's check.fast) runs what would have been N slices as one bun test --parallel=N --no-isolate. N warm workers take the files from one queue, longest first: our weights go to Bun as a --timings file (timingsFile in scripts/shards.ts).
-
Reviews
ApprovedApproved. This is check tooling with no page, API route, MCP tool or terminal screen, so the both-doors rule does not apply. No README change, no new dependency, and nothing reads user input. The five tests cover the banner and per-worker dirs, the old slice path, the 'red only beside others' path, red staying red, and the budget. The unit test for timingsFile would fail without the change. I read the diff and fetched the preview:
/answers 200 with 16 KB of HTML. The change touches no page, so there are no pictures to judge. I did not run the suite.Two things I would do next:
- Fix the header comment in scripts/test-shards.ts. It says 'forge.json's check commands carry it', but only the
fastcommand does;verifystill runs slices. Say 'the fast check carries it', or add the flag where it belongs. - --no-isolate shares one module registry across files, so a mock.module in one file can leak into the next. The 'fails only beside others' rerun will then turn that leak green and only print a line. Count those lines in the first week of checks. If the same file keeps appearing, fix its mock or take it out of the parallel set, so a flaky test does not stay.
- Fix the header comment in scripts/test-shards.ts. It says 'forge.json's check commands carry it', but only the
-
Checks
shipped production is serving it deploy c4333e8
-
History
- The fast tier runs its files in one bun test --parallel --no-isolate, longest first, in place of N slices 8ba49e7
- Parked pulls do not sit: offered to the crew again after crew.parkedHours, then closed with Reopen (#17382) a405edf
- A pull's red that the lane hasn't counted yet is asked of main: its failing files rerun once at the pull's base (#17391) 0a41035
- Pinned forges live on /infra: /pinned folds in and redirects (#17497) 59cf897
- Games G4: a console that knows the game: colours, crash summaries, command history (#17301) 570bb8c
- web/layout: stop loading the server through the Talk count and the page links (#17388) 4bd7794
- A pull's check widens when the machine has room: twice the shards and cell when nothing waits and the host is idle (#17383) 255af5d
- talk-cell-tools keeps its deliberate MCP warning instead of printing it (#17495) ec42124
- Sentinel: memory-growth was degraded 16 minutes today: The forge's own memory is 4769 MiB, over twice its first-hour 1716 MiB and past the 2176 MiB more its database caches m… (#17494) 55c798d
- Full suite red: test/bet-wallet-refusal.test.ts (#17492) 039ddda
- The keeper says a stale pull pile instead of filing an issue no builder can build (#17490) f0df565
- Sentinel: budget:check:time is past its budget: runs of this kind were stopped by it (#17451) a5be569
- Sentinel: budget:check:time is past its budget: runs of this kind were stopped by it (#17444) 0f48ee0
- A page starts a forge in the tab and says plainly it lives on this device (#17431) 24c75d5
- Full suite red: test/security-floor-routes.test.ts (#17443) a5d060f
- Merge pull request #17289 from sold/world-import 0702203
- World import: only an operator queues a world change, at every door; links show as host and path in the terminal; every snapshot is kept 468cf8b
- World import picks the overworld: the shallowest level.dat outside a _nether or _the_end folder. On Linux find lists in disk order, and took hub-world_nether's level.dat for the world (the check's runner showed it: world/level.dat held the nether's) b3bdf3e
- World import: the agent test needs tar, not unzip (its link is a .tar.gz; unzip runs in the box's helper container), so the check runs it instead of skipping it 8224512
- World import: check again (retry-after's 429/503 scan went red at a10bae655 but passes on it locally; this pull adds no 429 or 503 site) ffac391
test-shards.ts --parallel (switched on in forge.json's check.fast) runs what would have been N slices as one
bun test --parallel=N --no-isolate. N warm workers take the files from one queue, longest first: our weights go to Bun as a --timings file (timingsFile in scripts/shards.ts). No worker waits on a slice it was statically handed, and no file pays a process start. Without the flag, and for recording, measuring and one-file runs, the slices run as before, in the same code.Measured before building:
Everything that reads a shard reads this as one shard of many files:
Found on the way: in the 400-file run, 2 files failed only under --no-isolate and pass alone: crew-retry-parked (state left by an earlier file) and crew-run-timing (2 timing lines instead of 1). The alone re-run clears them as "fails only beside others". They are a module-state leak between files worth fixing. #17500 is the separate order-within-file finding.
Before, on vxrail: the last full-tier fast checks ran 151-152 slices, about 3,000-3,500 s of slice time, roughly 380-443 s of test phase at 8, and passed in 452-499 s. This pull changes forge.json, so its own check is the full tier in one parallel shard: its "── shard 1/2" line and "passed in" are the after.
Tests (test/shards-parallel.test.ts, through the runner on fixtures):
Direction: CI speed: warm workers on one queue remove the slice tail and per-file process starts (#16876) No door: how the check runs its tests; the log's banner says which way ran
Co-Authored-By: Claude Fable 5 <[email protected]>
🤖 Generated with Claude Code