Skip to content

ci: bump the AI review workflows to actions v1.0.3 - #978

Open
JuArce wants to merge 1 commit into
mainfrom
ci/bump-ai-review-actions-v1.0.3
Open

ci: bump the AI review workflows to actions v1.0.3#978
JuArce wants to merge 1 commit into
mainfrom
ci/bump-ai-review-actions-v1.0.3

Conversation

@JuArce

@JuArce JuArce commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Bumps both AI review jobs in pr_ai_review.yaml from yetanotherco/actions v1.0.0 to v1.0.3.

Why

The Claude review has been broken since 2026-09-08. v1.0.0 tracked anthropics/claude-code-action@v1, which moved to a build whose installer exits 0 while leaving no launcher at ~/.local/bin/claude, so every run failed before Claude started:

SDK execution error: ReferenceError: Claude Code native binary not found at
/home/runner/.local/bin/claude.

Upstream: anthropics/claude-code-action#1817 (open, no fix).

What each job gets

claude-review — three tags of changes:

  • v1.0.1: fork-PR guard on the issue_comment path.
  • v1.0.2: claude-code-action pinned to v1.0.217, past the broken build.
  • v1.0.3: review-context fix. On issue_comment the reusable workflow checked out the default branch rather than the PR, while telling the model the PR was checked out — so reviews spent their turns trying to fetch the code under review via git fetch origin pull/N/head and gh api …/contents/…, both denied by the allowlist, and hit the turn cap with nothing posted. It now checks out refs/pull/<n>/head with full history, allowlists read-only git diff/git log/git show, and states the sandbox rules in the prompt.

codex-review — the only delta across these tags is the v1.0.1 fork-PR guard. No behavioral change to the review itself.

Compatibility

Checked against this workflow specifically:

  • v1.0.3's checkout derives the PR from github.event.pull_request.number || github.event.issue.number. This workflow triggers on issue_comment and pull_request: labeled, both of which populate one of those, so the ref resolves.
  • The model: opus and max_turns: 50 inputs are unchanged across all four tags.
  • Note the reusable Claude workflow now checks out refs/pull/<n>/head, whereas this repo's own jobs use refs/pull/<n>/merge. That only affects the tree the Claude job sees, and head is what gh pr diff reports.

Validation

The Claude review cannot self-test on this PR: the action skips when the workflow file differs from the copy on the default branch, and the step still exits 0, so a green check here proves nothing about the fix. After merge, /ai-review on any open PR exercises it.

Both jobs were pinned at v1.0.0. The Claude review has been broken
since 2026-09-08: @v1 of claude-code-action moved to a build whose
installer leaves no binary at ~/.local/bin/claude, and v1.0.2 pins
past it. v1.0.3 then fixes the review context — on issue_comment the
checkout was the default branch rather than the PR, so reviews spent
their turns trying to fetch the code under review.

For the codex review the only change is the fork-PR guard added in
v1.0.1.
@JuArce
JuArce force-pushed the ci/bump-ai-review-actions-v1.0.3 branch from d730c11 to 4fa3bf9 Compare September 9, 2026 18:35
@JuArce JuArce self-assigned this Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant