Repository navigation
fix(ci): stop hourly audit from flagging CI polling as a problem - #1520
Merged
Merged
Conversation
The hourly review audit kept creating PRs to cap CI polling time (6 recurrences: #1186, #1245, #1301, #1313, #1378, #1402, #1509). Polling is expected behavior per the running-in-ci skill. The fix belongs in the audit prompt, not the polling logic. Closes #1509 (comment) Co-Authored-By: Claude Opus 4.6 <[email protected]>
3 tasks
Collaborator
Author
|
Clean, well-targeted fix. The placement between Step 5 (identify problems) and Step 6 (deduplication) is exactly right — it constrains the audit's problem-finding before it acts. The PR description does a good job documenting the 6 prior recurrences (#1186, #1245, #1301, #1313, #1378, #1402, #1509), making the case that the fix belongs in the audit prompt rather than the polling logic. No concerns — LGTM. |
max-sixty
enabled auto-merge (squash)
March 14, 2026 20:43
worktrunk-bot
added a commit
that referenced
this pull request
Mar 14, 2026
… ordering in review-pr skill
Two recurring behavioral issues in review sessions:
1. Bot attempts `gh pr review --approve` on self-authored PRs despite the skill
saying not to. Root cause: the approval instructions follow the self-authored
caveat without an explicit gate, so the model reads past the caveat. Fix:
add bold "Never attempt" instruction and gate approval bullets under
"For non-self-authored PRs" heading.
2. Bot resolves review threads before CI passes (step 6 before step 5). The
ordering was implicit ("After submitting the review"). Fix: add explicit
"Only after CI passes in step 5" prerequisite to step 6.
Evidence:
- Self-approval: run 23095864243 (PR #1520 review) — bot tried --approve,
got "Can not approve your own pull request", fell back to comment.
Recurrence of #1254.
- Thread ordering: run 23095864428 (PR #1497 re-review) — bot resolved
threads at step 5, then started CI monitoring at step 6.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
2 tasks
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
This is the root cause fix for the 6 recurrences of polling-cap PRs (#1186, #1245, #1301, #1313, #1378, #1402, #1509). The audit kept seeing 7-30 minute polling sessions and flagging them as wasteful, but polling is working as intended per the
running-in-ciskill. The fix belongs in the audit prompt, not the polling logic.Requested by @max-sixty in #1509 (comment).
Test plan
🤖 Generated with Claude Code