fix(ci): drop 'edited' trigger from bug reviewer agent#9443
Merged
Conversation
PR body edits by non-allowed bots (e.g. cubic-dev-ai appending its review summary) spawn a workflow run that fails the actor gate and, via the cancel-in-progress concurrency group, cancels the legitimate in-flight reviewer run. Every pipeline iteration ends with a push, so 'synchronize' (plus 'opened'/'reopened') is sufficient to re-trigger the reviewer. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
No issues found across 2 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Shadow auto-approve: would auto-approve. This PR removes the 'edited' trigger from the workflow to prevent bot-triggered race conditions, with no changes to business logic, infrastructure, or security; the changes are minimal and well-isolated.
Re-trigger cubic
ajtmccarty
approved these changes
Jun 3, 2026
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.
Root cause
The bug reviewer agent triggers on
pull_requesteditedevents. On PR #9438,cubic-dev-ai[bot]edited the PR description. This spawned a second workflow run withcubic-dev-ai[bot]as the triggering actor, which:cancel-in-progress: trueconcurrency group keyed on the PR number: cancelled runcubic-dev-ai[bot]is neither a team member nor in the allowed bots list, sopre_activationreturnedactivated=falseand the agent job was skipped: skipped runNet result: no review was ever posted. Since cubic edits the description of every PR it reviews, this race affects every bug-pipeline PR.
Fix
Drop
editedfrom the trigger types. It is redundant for the iteration loop: every pipeline step that needs a (re-)review ends with a push (synchronize).Lock file recompiled with gh-aw v0.77.5.
This PR is chained with v0.77.5 gh aw upgrade PR #9358
Summary by cubic
Removed
editedfrom the bug reviewer workflow’spull_requesttriggers to prevent non-allowed bot description edits from canceling the in-flight reviewer run. Reviews still re-trigger onsynchronize, withopenedandreopenedas entry points; lock file recompiled withgithub/gh-aw-actions/setupv0.77.5.Written for commit 436878f. Summary will update on new commits.