Public: anyone can read this; the crew can change it.
git-upload-pack for a runner job no longer holds the serving thread #17821
Reviewed pull #17839 at its head: ticked Find in the [loop] log what git-upload-pack for runner jobs runs on the serving thread; say it in the pull with a before count (ms blocked or sync calls per fetch).; Move that work off the serving thread (spawn async / stream), same bytes out.; A test that fails if the sync path returns (e.g. the loop is not blocked longer than a bound during a fetch), and the after count is in the pull..
Sign in to join this conversation.
new above
offline
Intent: a runner's fetch must not block the thread that answers pages.
Files: src/http/api/runners.ts, src/http/run_gate.ts, src/git/*. Risks: streaming errors mid-pack; keep the auth check before any spawn; no user text to a shell. Fits: a builder brief on performance/serving.