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

The picker skips an issue the dispatcher will refuse, so one fresh pull does not idle every builder #8473

Closed opened this has it

Landed in pull #8509 · 2 runs · run

opened this

Live 2026-11-02 13:43–13:45Z: active=0 slots=5 idle=3 startable=6, and each tick says picked issue=7917 then build run refused: a pull opened in the last 10 minutes pull=8471 (src/crew/dispatch.ts:490, from #105f0d7d). The same in trevato/scratchpad, issue 909. The picker takes the head of the line, the dispatcher refuses it, and the picker takes it again next minute, so builders sit idle for up to 10 minutes behind one issue.

Done when:

3 earlier comments
commented

Parked by the crew: the check stayed red through 2 automatic tries (pull #8476 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

commented

Left open after pull #8509 landed: 4 unticked items remain (The picker uses the same test as the dispatcher (freshPullFor), so a refused issue is held like open_pull and the next one starts in the same tick. One function, both callers.; A tick fills all free slots from startable issues.; A test: a fresh pull on the first issue, and the second starts in that tick.; …). Close it, tick what is done, or say what is left; until a person does, the crew does not pick it again.

commented

Reviewed pull #8509 at its head: ticked The picker uses the same test as the dispatcher (freshPullFor), so a refused issue is held like open_pull and the next one starts in the same tick. One function, both callers.; A test: a fresh pull on the first issue, and the second starts in that tick.; The tick line counts it under held.. left open: A tick fills all free slots from startable issues. — The tick still picks one issue per call; the pull says it left that out..

commented

Split by the planner. Pull #8509 (6712fb23) shipped the shared freshPullFor test, its test, and the held count; the reviewer ticked those. The one box left, a tick that fills every free slot, is now #8729.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs