r/cicd • • 20h ago

My Codex review request kept cancelling my Claude review

2 Upvotes

I had two AI reviewers on every PR, and asking for the second review was cancelling the first.

Claude runs through GitHub Actions on each push. Right after that, an automatic "@codex review" comment asks Codex to review too.

That comment also triggers the Claude workflow. The run gets skipped because it isn't a maintainer's "/pr-review" command. But I'd keyed the concurrency group on the PR number for every event, with cancel-in-progress: true.

So the skipped run joined the same group and cancelled the Claude review the push had just started. Didn't need to do any work to kill the run that did.

The fix was one line: only pull_request events share the PR's group. Comment and review events get their own group using the run ID.

The bit I still haven't solved: cancelled isn't failed. Nothing goes red, but the review didn't finish. How do you check that every reviewer actually finished on a PR, not just that nothing failed?

Disclosure: I build Sno Station. Install: curl -fsSL https://www.sno.ai/install | sh https://github.com/sno-ai/sno-station