Repository navigation
fix: cap CI polling and skip monitoring on self-authored PRs - #1188
Closed
worktrunk-bot wants to merge 1 commit into
Closed
worktrunk-bot wants to merge 1 commit into
worktrunk-bot wants to merge 1 commit into
Conversation
The review bot's Step 5 ("Monitor CI") had two issues wasting compute:
1. Unbounded polling — "poll until complete" with no cap led to 6–13 minutes
of sleep loops per review. Capped at 5 iterations (~5 min).
2. Self-authored PR monitoring — the bot monitored CI for PRs it can't
approve, with no possible action on failure. Now explicitly skipped.
Closes #1186
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Owner
|
I think the existed state is good; and compute is cheap. can we revert the changes and add a comment on this? |
Collaborator
Author
|
Fair enough — closing this. The existing unbounded polling is fine given compute costs are low, and the CI results are always visible on the PR regardless. |
Owner
|
but please add a comment explaining our logic instead |
1 task done
Collaborator
Author
|
Done — opened #1189 to add the rationale comment to Step 5 of the pr-review skill. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Evidence
Across 5 review sessions on 2026-02-23, the bot spent 30–40 minutes of CI compute on sleep/poll loops:
Closes #1186
Test plan
🤖 Generated with Claude Code