You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reset Mergify poll backoff when queue admission is confirmed #1302
A builder can wait almost two more minutes for loopzero merge --wait after Mergify moves the PR into the queue. The poller keeps the full accumulated delay from waiting for admission even after it sees the PR admitted.
In an offline replay with fixed 0.95 jitter, the queue became visible at 195s and the CLI confirmed it at 199.5s. The PR landed at 201s. The next landing read was at 313.5s, 112.5s after the merge. Restarting at the existing 30s interval at confirmation would read at 228s, saving 85.5s in this replay. At 18 such transitions per day that is about 26 builder-minutes. The daily figure assumes 18 matching transitions.
Reset the existing poll delay once when membership first becomes confirmed. Retain jitter, the same deadline and exact-head landing check. The delay can grow normally while membership stays confirmed.
Acceptance criteria
In a fake-clock queue replay that has reached the 120s cap before admission, the next landing read after confirmation uses the initial interval and detects the merge.
A stable queue state retains the existing backoff. A dequeue or changed head retains its existing verdict, and limits on total waiting time still apply.
Activity
eowca commentedon Nov 26, 2026
Closed PR #1425 in the stale PR sweep. It conflicts with current main and has used both review rounds. This issue remains open for a fresh PR.