Skip to content

ci(auto-approve): job-level concurrency so unrelated comments stop cancelling the approval - #73

Merged
ilya-bogin-keenable merged 1 commit into
mainfrom
ci/bridge-job-concurrency
Sep 30, 2026
Merged

ilya-bogin-keenable merged 1 commit into
mainfrom
ci/bridge-job-concurrency

Conversation

@ilya-bogin-keenable

Copy link
Copy Markdown
Contributor

Fixes a bug in the approval bridge that sometimes left PRs without their recorded approval (SOC 2 / Vanta github-code-change-approved-or-justified).

Bug: concurrency: auto-approve-<PR> with cancel-in-progress: true was declared at the workflow level. Every issue_comment on the PR joined that group, including Qodo's second comment, SonarCloud, Infracost and plan outputs. Such a comment cancelled the run that carried the "Code Review by Qodo" event, and then its own if skipped it, so no approval was posted. In the run list this shows as cancelled + skipped runs within the same second.

Fix: the same group moves to the job level. A job skipped by if never joins a job-level group, so only real Qodo review events compete, and the newest of them still wins. This changes 1 file and is a byte-identical copy of the canonical fix in keenable-integrations.

🤖 Generated with Claude Code

…ncelling the approval

The approval bridge's workflow-level concurrency group (auto-approve-<PR>)
was joined by every comment on the PR: Qodo's summary, SonarCloud,
Infracost, tofu plans. Those runs cancelled the one carrying the
"Code Review by Qodo" event, then their own job-level `if` skipped them,
so the PR never got its recorded approval. That fed the Vanta
approved-or-justified test failing. Moving the group to the job means
jobs skipped by `if` never join it; only Qodo review events compete.
Canonical fix from keenable-integrations, byte-identical copy.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ilya-bogin-keenable

Copy link
Copy Markdown
Contributor Author

/review

@ilya-bogin-keenable

Copy link
Copy Markdown
Contributor Author

/agentic_review

@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can route each severity your way: inline, summary, both, or drop

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: Qodo review completed — 🐞 Bugs (0),📘 Rule violations (0) 📎 Requirement gaps (0). Findings are advisory per team policy; verdict source: #73 (comment) [auto-approve.yml]

@ilya-bogin-keenable
ilya-bogin-keenable merged commit 8c33c5b into main Sep 30, 2026
12 checks passed
@ilya-bogin-keenable
ilya-bogin-keenable deleted the ci/bridge-job-concurrency branch September 30, 2026 05:28
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.

2 participants