Repository navigation
fix(review): distinguish cancelled checks from failures in CI monitoring - #153
Merged
Merged
Conversation
Cancelled jobs (from concurrency groups) are not flakes — re-running them creates a loop where each re-run gets cancelled by the next. Add explicit guidance to skip cancelled checks and reinforce the single-loop constraint. Co-Authored-By: Claude Opus 4.6 <[email protected]>
max-sixty
reviewed
Apr 6, 2026
Remove the "do not start another loop" paragraph — it addresses a stochastic behavioral problem that needs more evidence before adding guidance. Keep the structural cancelled-vs-failed distinction. Co-Authored-By: Claude Opus 4.6 <[email protected]>
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
cancelledchecks fromfailurechecks in the review skill's CI monitoring stepEvidence
Two PRQL/prql review sessions showed the same structural pattern: the bot's approval event triggers a
pull_request_reviewworkflow run, which cancels the in-progress CI via concurrency groups. The bot misclassifies the cancellation as a transient flake, re-runs the cancelled jobs (which get cancelled again), and launches additional polling loops — consuming 20-30 minutes per session after the review was already complete.Failure type: Structural — the mechanism is deterministic: approval →
pull_request_reviewevent → new workflow run → concurrency group cancels in-progress run → bot sees cancellation → re-runs → repeat.Gate assessment: High confidence (2 occurrences, structural failure). Targeted fix (3 new bullet points, no structural change). Passes both gates.