Claude PR review: drop --max-turns, scope tools instead#198
Merged
Conversation
Reviews every PR (opened/synchronize/reopened) via anthropics/claude-code-action@v1, authenticated with the org-level ANTHROPIC_API_KEY secret. Prompt is tuned for this gRPC routing service (concurrency, hot-path perf, correctness). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Only review on PR open/reopen, not on every push to the branch. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Lets marking a draft PR ready-for-review kick off a review, in addition to opened/reopened. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ude-pr-review # Conflicts: # .github/workflows/claude-code-review.yml
15 turns was too low — reviews exhausted it (error_max_turns at 16). Match the proven config from model/.github: no turn cap, bound the agent to diff-focused review tools instead. Co-Authored-By: Claude Opus 4.8 (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 review on #194 failed with
error_max_turns(--max-turns 15was exhausted at turn 16). Following the proven config inmodel/.github/workflows/claude-code-pr-review.yml, this removes the turn cap and instead scopes the agent to diff-focused review tools:Must merge before #194's review will pass validation (head workflow must match default branch).
🤖 Generated with Claude Code