ci: migrate Claude review jobs to claude-code-action v1#143
Conversation
Pin claude-code-action to v1.0.111 (SHA fefa07e) — third-party action with write perms and secret access should not float on a mutable @beta tag. v1 breaking-change migration (per https://code.claude.com/docs/en/github-actions): - direct_prompt -> prompt - allowed_tools input -> claude_args: --allowedTools Add timeout-minutes: 20 to all 8 AI review jobs so a stuck run cannot burn the 6h GitHub default. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 27 minutes and 47 seconds.Comment |
|
🚅 Deployed to the summit-pr-143 environment in Summit 3 services not affected by this PR
|
Default is Sonnet; opt into Opus 4.7 explicitly for review quality on contracts, client, indexer/api, and general scopes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Migrates the GitHub Actions CI workflow’s Claude review jobs from the deprecated anthropics/claude-code-action@beta interface to the v1 interface (pinned by commit SHA) and adds job-level timeouts to prevent hung AI review jobs from consuming the default 6-hour runner limit.
Changes:
- Update all four
claude-review-*jobs to useanthropics/claude-code-actionpinned by commit SHA and migrate inputs (direct_prompt→prompt,allowed_tools→claude_args: --allowedTools ...). - Add
timeout-minutes: 20to all eight AI review jobs (4 Claude + 4 Codex).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Trivial change to verify the Claude review workflow triggers correctly across all three scopes (api, client, contracts) after the v1 migration in #143. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Trivial change to verify the Claude review workflow triggers correctly across all three scopes (api, client, contracts) after the v1 migration in #143. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Trivial change to verify the Claude review workflow triggers correctly across all three scopes (api, client, contracts) after the v1 migration in #143. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
claude-review-*jobs from the deprecatedanthropics/claude-code-action@betaAPI to v1.0.111, pinned by commit SHA (fefa07e) for security since the action runs withpull-requests: writeand access toCLAUDE_CODE_OAUTH_TOKEN.direct_prompt→prompt, and theallowed_toolsinput →claude_args: --allowedTools.timeout-minutes: 20to all 8 AI review jobs (4 Claude + 4 Codex) so a stuck run can't burn the 6h GitHub Actions default.No behavioral change to prompts, scope filtering, severity gating, or the marker-based comment lookup. Default model remains the action's default (Sonnet) — model override (e.g.
--model claude-opus-4-7) can be added later by appending toclaude_args.Test plan
## Claude Review - …header +REVIEW_MARKERline so theCheck for blocking findingsstep continues to find them[HIGH]finding (or temporarily lower the threshold in a draft) to confirm the blocking step still fails the job🤖 Generated with Claude Code