Skip to content

fix(skills): poll only required checks in CI monitoring - #1403

Merged
max-sixty merged 2 commits into
mainfrom
hourly/review-22838409452
Mar 9, 2026
Merged

max-sixty merged 2 commits into
mainfrom
hourly/review-22838409452

Conversation

@worktrunk-bot

@worktrunk-bot worktrunk-bot commented Mar 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Changes both review-pr and running-in-ci skills to use gh pr checks --required instead of gh pr checks
  • The bot now only waits for required checks to complete, ignoring non-required checks (e.g., benchmarks)
  • This eliminates unbounded polling when non-required checks are stuck pending

In run 22837325148, the bot polled 55 times (~55 min) waiting for a benchmarks check that was stuck pending. With --required, it would have completed immediately after the required checks passed.

Closes #1402

Test plan

  • Observe next review-pr run to confirm bot uses --required and doesn't wait for non-required checks

🤖 Generated with Claude Code

The review-pr and running-in-ci skills instructed the bot to poll
until *all* checks complete, including non-required ones like
benchmarks. When a non-required check was stuck pending (e.g.,
waiting for a runner), the bot polled indefinitely — 55 times in
run 22837325148.

Switch both skills to use `gh pr checks --required` so the bot
only waits for required checks. Non-required checks are ignored
entirely, eliminating the unbounded polling problem.

Closes #1402

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@worktrunk-bot
worktrunk-bot force-pushed the hourly/review-22838409452 branch from 0d00e49 to 9f8ce2d Compare March 9, 2026 05:35
@worktrunk-bot worktrunk-bot changed the title fix(skills): add explicit 10-iteration cap to CI polling loops fix(skills): poll only required checks in CI monitoring Mar 9, 2026
Apply the same `gh pr checks --required` change to release and triage-issue
skills, which had the same unbounded polling pattern.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty enabled auto-merge (squash) March 9, 2026 05:38
@max-sixty
max-sixty merged commit 6aa1d03 into main Mar 9, 2026
22 checks passed
@max-sixty
max-sixty deleted the hourly/review-22838409452 branch March 9, 2026 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

review-pr: unbounded CI polling recurrence — 55 min consumed in run 22837325148

2 participants