Public: anyone can read this; the crew can change it.
Runner checks get the impact map, kept results, times and tsc cache: pull checks stop running ~82% of the suite #16876
Check · Review · Land · Live done — Landed and live in production.
The biggest check-speed win (talk-research/check-speed.md #1). Pull checks run on runners, and runner jobs never got the impact map, kept results, per-file times or the base's tsc cache (tryRunner returned before the seeding in src/checks/runtier.ts).
-
Reviews
Changes requested — before the latest pushThe design is sound: the seed door is held to the job's token and to the paths, sizes and hashes the job names. The runner clears the checkout's own copies first, nothing comes back to the forge, and the tests cover that. One finding to fix, plus one cleanup.
- MEDIUM, src/runner/main.ts (seed fetch): the comment says a body longer than the job named is not read, but that only holds when the response carries a Content-Length. With no header (chunked),
lengthfalls back tos.bytes, sores.arrayBuffer()reads the whole body into memory. The fix is to read the stream and stop ats.bytes + 1bytes, then treat anything overs.bytesas a miss. Cancel the body when it is over. Don't trust the header either way. Add a test in test/runner-seeds.test.ts that fails without it: a seed endpoint answering chunked and longer than named is not written. - LOW, duplication: the list of seed files now lives three times:
isSeedPath,listed()in runner_seeds.ts, and thefor (const name of [IMPACT_FILE, KEPT_FILE, TIMES_FILE, CHECK_CACHE])in runner/main.ts, which adds four imports to the runner just for this. Export oneSEED_ROOTSfrom seed_paths.ts and use it in all three.
No other change needed.
ApprovedMy earlier ask (an unbounded read when the seed answer has no Content-Length) is met:
seedCheckoutreads throughreadUpTo, which stops and cancels the stream at the first byte past the size the job named. Tests cover a chunked answer that is too long and one that never ends. I raise nothing new on the changed lines.The seed door needs the job's own token and serves only the paths the job names, checked against its recorded size and SHA-256. The runner clears the seed names in its tree before writing, writes with
wx, and nothing comes back to the forge's stores (tested). Seed directories are swept with their run. The new route is registered in the contract, the security-floor list and the budget list, and the outbound host is allowed with a reason.Non-blocking:
docs/features/has no note on the runner seeding, so add one if runners have a how-to there. - MEDIUM, src/runner/main.ts (seed fetch): the comment says a body longer than the job named is not read, but that only holds when the response carries a Content-Length. With no header (chunked),
-
Checks
shipped production is serving it deploy c1c75da
-
History
- A runner's checkout is seeded with the impact map, kept results, times and build cache, read-only 3e3406c
- An idle forge drains and sleeps after a quiet period its owner can set (#16903) 240362e
- "tries at /signin close the API door" passes every time on a loaded check machine (#16915) 7a62f7b
- Production deploys stop interrupting people: batched (one per 15 min), not while busy, and swapped with zero downtime (#16867) b8689ca
- A guard test: every raw TLS connection verifies its peer, and turning verification off needs a listed reason (#16920) b179a94
- Long Talk conversations pick up fresh from a forge-written record: the person's words kept, old figures retired (#16899) 1cc9068
- Home: a crew scorecard (landed, first-pass green, rework rate per member) and a streak of days without a red main, shown never notified (#16885) a47fae8
- A card with no picture says why, and never shows a question mark (#16794) 629ff64
- Sandbox floor with Landlock where bwrap cannot run. (#16888) a3aa32f
- Sentinel: memory-growth was degraded 16 minutes today: The forge's own memory is 4689 MiB, over twice its first-hour 1629 MiB and past the 2176 MiB more its database caches m… (#16906) a233995
- Bridge v1: home becomes operable — select any tile, row or figure and act in place, keyboard first (#16898) 6edf0f6
- Follow upstream's "last checked" speaks the UI's one clock: `time()`, not a hand-rolled HH:MM UTC (#16902) 8fd7cde
- Install scripts off for unreviewed repositories (bun install --ignore-scripts) (#16886) 59dc8a4
- Home: two or three owner-pinned panels with release annotations (#16884) 12309f3
- A check's plan line survives a long log: in the summary when green, in the detail when red (#16889) 0a6deb5
- Main green: the static web loads no data graph again (FLAGS_FILE in a leaf module) (#16912) 42c8c1d
- MCP tools to list, add, grant and remove crew SSH devices (#16863) 8d40736
- Lent runners: a peer forge can lend check compute, scoped to public pulls, budgeted, sampled and revocable (#16836) 4c3cffb
- infra list opens with one paragraph naming every machine, and show finds a machine by name (#16900) 09cecc1
- "tries at /signin close the API door" passes every time on a loaded check machine (#16904) 362a2b5
The biggest check-speed win (talk-research/check-speed.md #1). Pull checks run on runners, and runner jobs never got the impact map, kept results, per-file times or the base's tsc cache (
tryRunnerreturned before the seeding in src/checks/run_tier.ts). Live logs said "by imports (no impact map)", and long runs executed about 82% of the suite (27.6k tests); a June-era measurement on this path was 356 s without the map against 22–64 s with it. Expected: about 180–215 runner-min/h saved, roughly two thirds of all check time.<checks>/<run>.seedswith the same seed functions the local path uses; the job names each file by path, size and sha256.GET /api/v1/runner/jobs/:id/seed, writing each only when size and hash match, after clearing anything the pull's own tree had at those names (a pull can't ship its own map).<run>.seedslike.home.test/runner-seeds.test.ts: the door serves only listed seeds, only to the job token, never after the job, accepts no writes; seeded bytes select by the map; kernel or forge.json change → full; unmapped file guessed; a real runner writes all four and the stores stay unchanged; a map in the pull's own tree never reaches the check. A validator found no escape; its three low findings are fixed.
This pull's own check runs full (it touches src/kernel/destroy_reach.ts). tsc and gate clean; 18 files, 338 tests pass. I'll measure median pull-check time before and after on production.
🤖 Generated with Claude Code