Skip to content

Make the org Claude review post its findings - #6

Merged
nnx0r merged 1 commit into
mainfrom
fix-claude-review-posting
Nov 30, 2026
Merged

nnx0r merged 1 commit into
mainfrom
fix-claude-review-posting

Conversation

@nnx0r

@nnx0r nnx0r commented Nov 30, 2026

Copy link
Copy Markdown
Member

No PR in the org has ever received a Claude Code Review comment. There are two reasons.

1. The command never posts without --comment. The prompt runs /code-review:code-review <repo>/pull/<n>. The plugin's command (code-review.md, step 7) says:

If --comment argument was NOT provided, stop here. Do not post any GitHub comments.

So every run printed its summary to the job log, which the action hides, and the check turned green.

2. Runs end within seconds. uw-v4#373 ran 4 turns in 8.6 s, and novaling#23 ran 2 turns in 5.6 s. A real review runs several agents for minutes. The likely cause is the command's step 1, a Haiku check that skips closed, draft, automated or trivial PRs. One guess is that it treats PRs ending in "Generated with Claude Code" as automated. The transcript is hidden, so this isn't confirmed.

Changes

  • Add --comment to the prompt.
  • Pass the command's tools through claude_args --allowedTools, as the action's PR review example does.
  • Turn on show_full_output: true temporarily, to see why runs stop. CLAUDE_CODE_OAUTH_TOKEN is visible to private repos only, and public repos skip the review step. So these logs are only readable by org members. Remove it once reviews post as expected.

Once reviews actually run, each one uses noticeably more of the subscription than the current few-second runs. They still post at most once per PR, because the command skips PRs that Claude has already commented on.

🤖 Generated with Claude Code

The code-review plugin's command only posts with --comment. Without it, it
stops after printing a summary to the hidden job log, so no PR in the org
ever got a review. Also pass the command's tools explicitly, as the action's
own review example does, and turn on show_full_output for now to see why
runs end within seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nnx0r
nnx0r merged commit 48a4e55 into main Nov 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant