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
review-pr: unbounded CI polling recurrence — 55 min consumed in run 22837325148 #1402
The review-pr skill Step 5 ("Monitor CI") tells the bot to "Poll with gh pr checks every 60 seconds until all checks complete" (line 369) with no explicit cap on iterations. While the running-in-ci skill mentions "this may take up to 10 minutes" as a parenthetical, it's guidance rather than a hard instruction, and the review-pr skill doesn't reference it.
This allows the bot to poll indefinitely until the GitHub Actions workflow is externally cancelled.
Evidence
Run 22837325148 (claude-review for PR #1400, dependabot tempfile bump):
The bot correctly reviewed and approved the PR
Then entered CI monitoring, polling gh pr checks 1400 every 60 seconds
The benchmarks check was stuck pending (waiting for a runner)
The bot polled 55 times (~55 minutes) before being externally cancelled
No useful work was performed after the approval at iteration 1
Those issues led to skill text updates but did not add an explicit iteration cap.
Suggested fix
Add an explicit maximum of 10 polling iterations (10 minutes) to the review-pr skill's Step 5. After 10 iterations, the bot should stop polling and report that CI is still pending. The running-in-ci skill should also be updated to make the 10-minute guidance an explicit instruction rather than a parenthetical.
Updated #1403 — removed the iteration-cap approach and switched to gh pr checks --required in both skills instead. The bot will now only poll for required checks, so non-required checks like benchmarks won't cause unbounded waiting.
Activity
fix(skills): add explicit 10-iteration cap to CI polling loops
max-sixty commentedon Mar 9, 2026
let's have it poll for the required checks. but remove all existing changes here
fix(skills): poll only required checks in CI monitoring
worktrunk-bot commentedon Mar 9, 2026
Updated #1403 — removed the iteration-cap approach and switched to
gh pr checks --requiredin both skills instead. The bot will now only poll for required checks, so non-required checks likebenchmarkswon't cause unbounded waiting.fix(ci): add explicit polling caps to CI monitoring skills
fix(ci): ban `gh pr checks --watch` alongside `gh run watch` (#1498)
fix(ci): stop hourly audit from flagging CI polling as a problem
fix(ci): stop hourly audit from flagging CI polling as a problem (#1520)
fix(review-pr): explicitly require loading running-in-ci for CI monit…
fix(skills): add explicit anti-pattern for blocking sleep CI polls