]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: update claude review workflow to opus 4.8
authorDaan De Meyer <daan@amutable.com>
Tue, 2 Jun 2026 11:51:05 +0000 (11:51 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 2 Jun 2026 12:17:41 +0000 (13:17 +0100)
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>
.github/workflows/claude-review.yml

index a07c68dac402be9ec4636ccceaf332c5ed08afce..b364c0adff53b159d69824da392865b4a71d79aa 100644 (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 \