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
Observe required checks near the end of a bounded source wait #1303
loopzero ready --wait can time out after required checks have already passed, forcing the builder to run the waiter again. The source-check poller uses half of its final interval for the last observation and then sleeps through the other half without reading GitHub.
With a fake clock, ready --wait=300 read at 0, 28.5, 85.5, 199.5 and 249.75s. The required check turned green at 280s, and the command slept through it and exited 3 at 300s. That is 20s after the check settled, plus the repeat command. The blind interval can approach 60s. At 18 cases like the replay per day, the wait after green alone is 6 builder-minutes. A 10-second replay with green at 8s produced the same false timeout.
Schedule the existing last observation as late as practical with a bounded time allowance for the read. Use the existing monotonic deadline and full source readiness checks.
Acceptance criteria
A fake-clock source readiness test has the required check pass after the old midpoint and early enough for the last bounded observation to finish. ready --wait returns 0 on the unchanged head.
Cover the source-check phase of merge --wait through the same helper. A read that cannot finish by the deadline still times out, and --wait=0 observes once.
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.