Repository navigation
Conversation
…ing is posted Headless runs can background the bug-review subagents and end the turn to 'wait' for them. In -p mode that ends the session, so no comment is posted and the job still goes green. Port of devicecloud-dev/dcd#1536. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Problem
Claude Code Review sometimes finishes green without posting anything. dcd hit this often and fixed it in devicecloud-dev/dcd#1536. This repo uses the same workflow, so it has the same gap.
The
/code-reviewplugin starts several reviewer subagents. The main agent sometimes starts them in the background and ends its turn to "wait" for them. In headless mode, ending the turn ends the session. So no comment is posted, and the action still exitssuccess.Changes
Same as dcd#1536:
--append-system-prompttoclaude_args. It tells the agent it is running non-interactively and must not background subagents or schedule wakeups. It must wait for every reviewer and post the comment before stopping.claude[bot]posted no comment during the run. Both issue comments and inline review comments count. A skipped review now shows red instead of a silent green check.Testing
🤖 Generated with Claude Code