ci: update claude review workflow to opus 4.8

Bump the Bedrock model ID to us.anthropic.claude-opus-4-8 (the -v1 suffix
was dropped after 4.6), pin ANTHROPIC_DEFAULT_OPUS_MODEL so the review
subagents resolve to 4.8 as well, and switch the effort level from max to
xhigh.

Co-developed-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Daan De Meyer
2026-06-02 13:17:41 +01:00
committed by Luca Boccassi
parent b240ce9642
commit 0bb9142bad
+5 -2
View File
@@ -192,6 +192,9 @@ jobs:
env:
CLAUDE_CODE_DISABLE_BACKGROUND_TASKS: "1"
CLAUDE_CODE_USE_BEDROCK: "1"
# Pin the `opus` alias (used by the review subagents) to 4.8 so they
# don't silently resolve to an older model the Bedrock alias points at.
ANTHROPIC_DEFAULT_OPUS_MODEL: us.anthropic.claude-opus-4-8
run: |
mkdir -p ~/.claude
@@ -379,8 +382,8 @@ jobs:
PROMPT
claude \
--model us.anthropic.claude-opus-4-6-v1 \
--effort max \
--model us.anthropic.claude-opus-4-8 \
--effort xhigh \
--max-turns 200 \
--setting-sources user \
--output-format stream-json \