ci(claude): revert to @v1, pin --model claude-opus-4-7#225
Conversation
Diagnosis from run 26147667637 (on @beta, which surfaces the real error instead of the AJV-obfuscated one from @v1): API Error: 404 model: claude-sonnet-4-20250514 The action's default model is retired. Pinning --model explicitly fixes the immediate failure; the upstream obfuscation issue (#892) is orthogonal and tracked separately. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Claude finished @d-morrison's task in 50s —— View job Code Review: PR #225 — ci(claude): revert to @v1, pin --model claude-opus-4-7
Summary: Clean, minimal fix with a well-documented root cause. The diagnosis in the PR description is solid — the retired model ID returning a 404 was being masked by the AJV error in the minified
|
Codecov Report✅ All modified and coverable lines are covered by tests. |
Summary
anthropics/claude-code-action@betaback to@v1.--model claude-opus-4-7inclaude_argsso the action stops asking the API for a retired default model.Diagnosis (from #224's @beta debug trigger)
The @v1 SDK crashes documented in #224 were not a Claude-Code-Action bug per se — they were a
model: claude-sonnet-4-20250514404 from the Anthropic API being masked as the obfuscatedsdk.mjsAJV crash. Confirmed by run 26147667637, which on@betaproduced a readable error:claude-sonnet-4-20250514is the older Sonnet 4.0 ID that's no longer served. The action's default points there; pinning--model claude-opus-4-7routes around it.The upstream "obfuscated SDK crash" issue (anthropics/claude-code-action#892) is orthogonal — it's about the error message being illegible. That stays open upstream regardless of this fix.
Test plan
@claude reviewon PR Adding population parameters as attributes #141 (or a smaller PR) and confirm a successful review run.🤖 Generated with Claude Code