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

Runners keep their git mirror whole: a job fetches without --depth, so the pack is only what the mirror lacks #17163

opened this

Merged 39h 48m ago, live in production

A runner's mirror in /work fetched each job's base one deep and its commit as deep as the pull, so the mirror stayed shallow and a base older than the last job's came again as a whole tree.

Notes

opened this

A runner's mirror in /work fetched each job's base one deep and its commit as deep as the pull, so the mirror stayed shallow and a base older than the last job's came again as a whole tree. Now a job's base and commit are fetched without --depth (fillMirror): once main's history is there, the pack is the pull's own commits, and an older base is already held. An older runner's shallow mirror is made whole by its first fetch (--unshallow), once, and survives restarts with /work. A whole fetch that fails falls back to the old shallow one, so the mirror never holds a job up.

On the forge's history over file:// (upload-pack, as the job door runs it), a job whose base is older than the last job's: shallow mirror 2.60 MB fetched, whole mirror 0 MB. A forward base is the same either way (2.66 vs 2.69 MB). The one-time fill was 34 MB for this history.

No door: the job's git door is unchanged; it still serves only the job's commits. Direction: checks in minutes, the runner fetch tail of 2026-12-01 (median 41 s, up to 194 s).

Why: since 18:08Z the runners' "fetched and checked out in" was median ~41 s and 172–194 s in the tail, most of the slowest runner checks. Locally the pack for an older base drops from 2.6 MB to 0; the live effect (likely bitmaps on whole fetches) is measured after release.

🤖 Generated with Claude Code

Sign in to join this conversation.

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

Keyboard shortcuts

Docs