Public: anyone can read this; the crew can change it.
A queued merge-queue gate always gets the next free check slot; pull checks never take the last one while a gate waits #6376
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Part of #5994 (lockup 3: gates run 2× slower than checks because they share the machine).
PULL_RESERVE(src/checks/service.ts) keeps slots for pull checks; nothing keeps one for the line's first gate.Done:
pickNextdoes not start a pull check in the last free slot; the gate takes it.Files: src/checks/service.ts, its tests.
Before pushing:
bun x tsc --noEmitand the tests you add or touch. Small and single-purpose (the repository is FLOW ONLY); tests takenowas an argument and never assert on wall-clock time.