Repository navigation
fix(ci): let the claude review post its inline comments - #51
Merged
Merged
Conversation
claude-code-action starts the github_inline_comment MCP server only when claude_args --allowedTools names it. With no claude_args the code-review plugin's comment tool was missing, Claude fell back to gh api, and that call was denied, so a found bug never reached the PR (run 38066240558). Also turns show_full_output back off. Co-Authored-By: Claude Opus 5.5 (1M context) <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.
The Claude Code Review run reviews the PR but cannot post what it finds.
On the canary PR #49 (run 38066240558, full output from #50) the review found the planted bug, then:
mcp_serverswas[], so the plugin'smcp__github_inline_comment__create_inline_commenttool did not exist.gh api .../pulls/49/comments, which is not in the plugin's allowed tools, and was denied (permission_denials_count: 1).claude-code-action only starts that MCP server when
claude_args --allowedToolsnames it (src/mcp/install-mcp-server.ts,hasInlineCommentTools). This passes the plugin's own allowed-tools list throughclaude_args, as the action'sexamples/pr-review-comprehensive.ymldoes, and turnsshow_full_outputback off.This PR's own review run will be skipped: the action refuses a PR whose workflow differs from main. Verification happens on #49 after merge.
🤖 Generated with Claude Code
Summary by CodeRabbit