Public: anyone can read this; the crew can change it.

A runner's checkout line names its parts: fetch, export and history apart #17380

opened this

Merged 30h 27m ago, live in production

A runner's "fetched and checked out in Ns" took 19–62 s per pull check on 2026-12-02 (median 35 s over 10 checks, 04:13–04:28Z). The planned fix was to keep a work tree per runner, but the parts were never measured.

Notes

opened this

A runner's "fetched and checked out in Ns" took 19–62 s per pull check on 2026-12-02 (median ~35 s over 10 checks, 04:13–04:28Z). The planned fix was to keep a work tree per runner, but the parts were never measured. On a Mac, exportTree of this repository takes ~1.0 s and giveHistory ~1.5 s, so even several times slower under load they don't make 35 s. The fetch over the job's git door (the forge's upload-pack, through its HTTP door) is the likely bulk, and a kept work tree wouldn't touch it. This makes the line say which part is slow before anything is built on a guess:

runner: abc1234 fetched and checked out in 26.5s (fetch 21.4s, export 2.6s, history 2.5s)

  • runner/main.ts: checkoutLine, timed at the fetch's end, the export's end and the history's end.
  • test/runner-checkout-line.test.ts: the line's form. runner-claim and runner-seeds pass.

No door: a log line's parts; nothing a person sets Direction: CI speed: name the slow part of a runner's checkout before building on a guess (#1797)

Co-Authored-By: Claude Fable 5 <[email protected]>

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs