Public: anyone can read this; the crew can change it.
A runner waits out a forge restart before handing a fetch back: its git door's 404 is retried while the job is its own #17542
Merged 16h 41m ago, live in production
During a forge restart a runner's fetch of its job's commit got HTTP 404 from the job's git door (the new forge had not taken the job back yet), the runner handed the job back, and the forge then ran a full-tier check itself, in its own 8 GiB cell (2026-12-02).
-
Reviews
ApprovedApproved. The runner now waits out a forge restart: a fetch that fails because the git door answered 404, 502 or 503, or answered nothing, is retried every 5 s for up to 180 s while the job is still this runner's. A missing commit or a refused ref is answered at once. The change is small, it adds no dependency, and no page, API or terminal door is touched, so both-doors and docs do not apply. I read the diff and the surrounding source. I opened the preview:
/answers 200 with the server-rendered home page (16 KB, title and meta present). This change is runner-only and has no page or picture of its own, so there was nothing further to see there. I did not run the suite.Two things I would do next:
- Test the wiring in
runRunner. The tests coverforgeAwayandfetchUntilBack, but nothing checks thatrunRunnercalls them. If the retry block were deleted, every test would still pass. Add a runner test with a fake forge that answers the job's git door 404 once and then serves it, and expect the job to run and not be abandoned. - Make the 180 s wait a real bound.
still()and the clock are checked only between tries, and each try may run up to FETCH_MS (600 s), andtimed outis itself counted as the forge being away. A hung fetch can therefore outlast the wait by a long way. Pass the remaining wait as the git timeout, or droptimed outfromforgeAway. Also, the comma expression inside the ternary at the call site reads badly. A smallwaitForForgehelper or anifwould be clearer.
- Test the wiring in
-
Checks
shipped production is serving it deploy 5fa2c54
-
History
- A runner waits out a forge restart before handing a fetch back: its git door's 404 is retried while the job is its own 17f7a94
- Games G1: Modrinth, done properly: search with a compatibility badge, dependency preview, a locked install, updates (#17293) 07aa752
- A test file that reads a ratchet list names the one line to edit when it fails (#17538) 9b542ac
- A pull's review verdicts are 44 px targets under a finger: room before each radio, inside its label (#17530) b3c859f
- Talk: a message sent while the forge boots says it is starting, never "agent is not running" (#17518) 5556e83
- Talk: the Preview pane shows the conversation's own work, or nothing yet, never a repository it only read (#17517) 18aeb4d
- Talk: the agent says the Do it buttons are above the message box, and calls a name it picked its pick (#17516) 69778db
- scripts/design-lint.ts runs the empty-words and width-read ratchets, so a builder sees them before the push (#17531) 57d706a
- The check cell has what takeLook with only loopback needs, or the test says so once and stays out of the verdict (#17534) f6a4faf
- Merge pull request #17533 from sold/game-diag-containers 9e80f3f
- A game box's diag counts every container, not the last two da46449
- A loading terminal screen holds its own keys until load settles, and every load awaits its first read (#17529) a8e4988
- Tests depend on their order within a file: 66 tests in 24 of 80 sampled files fail under --randomize (#17505) d8024b8
- The Dependencies screen is busy until its report is read, so a and f are never dropped (#17524) 0d18300
- Talk: a turn's words written before it heard a confirm's answer are not kept, so the thread never says a pressed Do it still waits (#17507) ae14868
- The OpenAPI served-routes walk loads its route modules in the hook and runs in two tests, under the 2 s CPU budget (#17525) b482465
- /sitemap.xml lists the public apps /explore ranks, up to 200, each with its last change (#13624) 9fff9f4
- Talk: what the dock said is cleared by the next turn, so the live region never keeps an old refusal (#17519) 2e019c9
- Talk: with several proposals waiting, the newest is first and open, so Do it answers what was asked last (#17515) 0fbd355
- A runner's cgroup delegated after it starts is used: a named cgroup not yet writable is asked again (#17501) a36194f
During a forge restart a runner's fetch of its job's commit got HTTP 404 from the job's git door (the new forge had not taken the job back yet), the runner handed the job back, and the forge then ran a full-tier check itself, in its own 8 GiB cell (2026-12-02). Now a fetch that failed because the forge is away (forgeAway: the door's 404, 502 or 503, or no answer) is tried again every 5 s for up to the handover wait (3 min), while the job is still this runner's: the report loop, running beside it, hears a dropped job (404 on its report) and stops the wait. A failure that is the job's own (a missing commit, a refused ref) is answered at once, as before. The check's log says the forge was away and the fetch went again.
Direction: CI speed: a release no longer moves a sharded check onto the forge (#17099) No door: runner internals; the check's log line says when the fetch waited for the forge
🤖 Generated with Claude Code