Public: anyone can read this; the crew can change it.
A held fetch judges each round's haves together: three git processes a round, not three a have #17539
Merged 12h 42m ago, live in production
A runner's fetch over its job's git door is held: every have its client sends is asked of the repository's own refs before git sees it (heldNegotiation, ownrefs.ts).
-
Reviews
ApprovedApproved. reachableEach gives the same per-id verdicts as reachableFromOwnRefs and runs three git processes a round instead of three per have. Both paths keep the tip shortcut, the reached/refused caches and the ASKED_MAX cut. Trees and files still go through the old path, so their verdicts are unchanged. The tests cover parity, the process count, cache reuse and the 64-have cap. No web, API or terminal surface changes, so no second door and no docs page is owed. Two things I would do next: (1) heldNegotiation's judge already calls typesIn on the fresh ids, and reachableEach calls it again on the same ids. That is a fourth process per round (the test allows <=4). Pass the types in, or let reachableEach take them. (2) The commit batch does not record refusals the way the single path does for trees and files. A repeated refused commit costs a rev-list each round. Caching the refused commits under refsKey would stop that.
-
Checks
shipped production is serving it deploy 339cc69
-
History
- A held fetch judges each round's haves together: three git processes a round, not three a have 4d9ecc5
- 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
A runner's fetch over its job's git door is held: every
haveits client sends is asked of the repository's own refs before git sees it (heldNegotiation, own_refs.ts). It was asked one id at a time, up to ASKED_MAX (64) a fetch, and each id cost afor-each-refover every ref, a type lookup and arev-list --not --all, all on the shared git gate. The forge's own repository has 16,978 refs.Today's access log: 296 runner git-upload-pack POSTs took p50 2.0 s and p90 19.1 s before the response even began (info/refs: p50 5 ms). That is most of the checkout, whose fetch part is p50 37 s, p90 62 s and the mean 40 of 45 s over 39 checks. The bytes are not it: in that repository a pack of main~100..main is 5.4 MB in 643 ms, and the ref advertisement is 1.16 MB in 18 ms. Pacing is not it either: the runners reach the forge through the trusted bridge gateway, so they count as internal.
reachableEach answers for every id of a round at once, with the same verdict reachableFromOwnRefs gives each alone:
rev-list --stdin --not --allfor all the commits: a commit is beyond the refs exactly when it is printed, since one a ref reaches is excludedTest (test/held-batch.test.ts):
The after number is the access log's runner upload-pack p90 and the checkout line's fetch part once this is live.
Direction: CI speed: a runner's checkout is not held up by its own negotiation (#16876) No door: how a held fetch's haves are judged; the same answers, sooner
Co-Authored-By: Claude Fable 5 <[email protected]>
🤖 Generated with Claude Code