Skip to content

ci(claude-review): run auto review on Opus (claude-opus-4-8)#3693

Merged
hathach merged 1 commit into
masterfrom
claude/review-model-opus
Jun 11, 2026
Merged

ci(claude-review): run auto review on Opus (claude-opus-4-8)#3693
hathach merged 1 commit into
masterfrom
claude/review-model-opus

Conversation

@hathach

@hathach hathach commented Jun 11, 2026

Copy link
Copy Markdown
Owner

What

Pin the Claude Code Review action's main model to claude-opus-4-8 via claude_args (was the action default, Sonnet 4.6). Subagents spawned by the review command keep their cheaper defaults (Haiku 4.5).

Why

On #3643 (musb EP0 race fix) the Sonnet-driven auto review posted "No issues found", while an Opus pass over the same diff surfaced substantive review questions — ISR-boundary RXRDY/FIFO lifetime in the deferred-SETUP path, and the regression scope of the PIPE0_STATE_DATA split affecting every MUSB control transfer. For driver-level PRs that depth is worth the tier bump.

Cost

Opus 4.8 is $5/$25 per MTok vs Sonnet 4.6 at $3/$15 — a typical review run goes from roughly $0.30–1 to $1–3. Follows up on #3692 (--max-turns 50).

🤖 Generated with Claude Code

The review action currently runs on the default Sonnet 4.6. On PR #3643
(musb EP0 race) it posted "No issues found" while an Opus pass on the
same diff surfaced substantive questions (ISR-boundary RXRDY lifetime,
regression scope of the DATA-state split). Pin the reviewer to
claude-opus-4-8 for higher-signal reviews; subagents keep their cheaper
default models.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 11, 2026 14:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins the Claude Code Review GitHub Action to run the main review model as claude-opus-4-8 (while leaving subagents on cheaper defaults), to improve review depth for driver-level PRs.

Changes:

  • Update claude_args for the claude-review workflow to include --model claude-opus-4-8 alongside --max-turns 50.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

# debugging. Revert to remove once done.
show_full_output: true
claude_args: '--max-turns 50'
claude_args: '--max-turns 50 --model claude-opus-4-8'
@hathach hathach merged commit 848216a into master Jun 11, 2026
165 of 193 checks passed
@hathach hathach deleted the claude/review-model-opus branch June 11, 2026 14:18
@github-actions

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected across 2362 targets. View Project Dashboard →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants