Repository navigation
Conversation
The claude-review check has failed on every pull request since the pinned model, claude-sonnet-4-20250514, was retired: the API answers 404 not_found_error and the action exits after one turn, leaving an error comment on the PR. Removing the pin alone is not enough, because the workflow also used the frozen @beta tag of the action. Move to @v1 with no model so the action's default model is used, and translate the inputs to their v1 names: direct_prompt becomes prompt, with track_progress so the review is still posted as a tracking comment, and an explicit tool allowlist for inline comments and read-only gh pr commands. Triggers, job name, permissions, and the review criteria are unchanged.
rbrenton
had a problem deploying
to
test-runners
October 6, 2026 14:18 — with
GitHub Actions
Failure
rbrenton
had a problem deploying
to
test-runners
October 6, 2026 14:18 — with
GitHub Actions
Failure
Contributor
Author
|
Closing in favour of #215, which replaces this workflow with the review-from-main version already live in indextables_spark (runs on Dependabot PRs, pass/fail verdict, no model pin). |
This branch had an error being deployed
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.
Problem
The
claude-reviewcheck fails on every pull request. The workflow pinsmodel: "claude-sonnet-4-20250514", which has been retired, so the API returns404 not_found_errorand the action exits after one turn, leaving a "Claude encountered an error" comment on the PR. It has been red on every PR since at least 2026-09-28.The workflow also uses the frozen
anthropics/claude-code-action@betatag, so removing the model line alone would not be a durable fix.Change
Only the "Run Claude Code Review" step in
.github/workflows/claude-code-review.ymlchanges:anthropics/claude-code-action@betabecomes@v1.modelpin is removed; the action's default model is used.direct_promptbecomesprompt(the v1 input name). The five review criteria and closing instructions are word-for-word the same, with the repository and PR number added at the top.track_progress: truekeeps the review posted as a tracking comment, andclaude_argsgives an explicit tool allowlist: inline comments plusgh pr comment,gh pr diff, andgh pr view.Triggers (PR opened/synchronize/reopened, and
@claudecomments), theclaude-reviewjob name, permissions, and the checkout step are unchanged.This matches the configuration indextables/indextables_spark already runs, minus
show_full_output, which is left off because this repository is public.Testing
claude_code_oauth_token,track_progress,prompt, andclaude_args.@v1configuration with no model pin completed a review successfully in indextables_spark on 2026-10-06.track_progresswas checked against the v1 action source and is accepted for bothpull_requestandissue_commentevents.actionlint, and the workflow itself, which can only run in Actions.Note on this PR's own check
The action validates the workflow file against the version on the default branch, so
claude-reviewis expected to fail or be rejected on this PR. The first real test is the next PR opened or updated after this merges. The check is not required for merging.