fix: replace retired claude model id in workflows - #362
Merged
Merged
Conversation
dkottke-groq
requested review from
BetterWithBeyti and
andrewtlw
as code owners
August 7, 2026 19:30
Contributor
Author
|
The 8 failing checks here are pre-existing on this repo and unrelated to this change, which only touches Every job dies in the
|
KJohnson-Groq
approved these changes
Aug 7, 2026
KJohnson-Groq
approved these changes
Aug 7, 2026
KJohnson-Groq
approved these changes
Aug 7, 2026
dkottke-groq
enabled auto-merge (squash)
August 7, 2026 19:56
BetterWithBeyti
approved these changes
Aug 7, 2026
Closed
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.
Why this is urgent
claude-opus-4-1-20250805was retired 2026-08-05. Anthropic returns a hard error for retired model IDs — no fallback, no silent upgrade — so this workflow fails as soon as Claude is invoked.Changes
.github/workflows/claude-code-review.yml.github/workflows/claude.ymlInput mapping follows the official v1 migration guide:
direct_prompt→prompt, andmodel/allowed_tools/disallowed_tools/max_turns/custom_instructions→claude_args;timeout_minutesmoves to the job'stimeout-minutes;claude_envbecomes asettingsenv object.Verification
actionlintclean on every changed file.with:key is a real input declared byaction.ymlatv1.claude_argswas run through the action's own tokenizer (shell-quote+stripShellComments, same code path asparse-sdk-options.ts) and asserted to yield byte-identical values to the inputs it replaced.