Skip to content

(chore): pin claude-pr-owner to v0.2.0#864

Merged
abnegate merged 1 commit intomainfrom
chore-bump-claude-pr-owner-0.2.0
Apr 23, 2026
Merged

(chore): pin claude-pr-owner to v0.2.0#864
abnegate merged 1 commit intomainfrom
chore-bump-claude-pr-owner-0.2.0

Conversation

@abnegate
Copy link
Copy Markdown
Member

@abnegate abnegate commented Apr 23, 2026

Summary

  • Bumps the Claude PR orchestrator pin to v0.2.0.

v0.2.0 fixes two bugs that made Claude silently no-op on every PR:

  1. Unexpanded prompt variables — the reusable workflow passed a prompt containing literal $TASK, $PR_NUMBER, $REPO, $HEAD_BRANCH, $HEAD_SHA, $REVIEWER, $REVIEW_ID, $FAILED_RUN_ID to `claude-code-action`. Those never expanded, so Claude saw raw shell placeholders and bailed. Now built in a prior shell step. User-controlled bodies (comments/issues) are substituted via a Python one-liner so backticks / `${…}` / quotes in malicious bodies stay literal.
  2. classify-complexity auth — the native `claude` CLI installed by `install.sh` does not read `CLAUDE_CODE_OAUTH_TOKEN` from env, so classification always exited with "Not logged in · Please run /login" and silently routed to opus. Now writes `~/.claude/.credentials.json` before invoking the CLI.

See https://github.com/utopia-php/database/actions/runs/24834250763/job/72690259306?pr=823 for the pre-fix failure trace.

Test plan

  • Open/synchronize a PR and confirm the `claude / Run improvement` job actually produces a commit or an inline review (rather than exiting with "task instructions contain unexpanded shell variables").
  • Confirm `classify-complexity` logs a real classification (`simple` or `complex`), not the fallback route.

Summary by CodeRabbit

  • Chores
    • Updated GitHub Actions workflow automation tools to a newer version for improved development process reliability.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 92114dfc-a1c0-4e3a-a39e-5b7a3c7b314b

📥 Commits

Reviewing files that changed from the base of the PR and between 33e1b13 and 3fd039e.

📒 Files selected for processing (1)
  • .github/workflows/claude.yml

📝 Walkthrough

Walkthrough

The .github/workflows/claude.yml file is updated to use a newer pinned version of the abnegate/claude-pr-owner reusable orchestrator workflow, changing the version reference from v0.1.0 to v0.2.0 via an updated commit SHA. No job inputs, secrets, or permissions are modified.

Changes

Cohort / File(s) Summary
Workflow Version Update
.github/workflows/claude.yml
Updated reusable workflow reference from v0.1.0 to v0.2.0 of the abnegate/claude-pr-owner orchestrator.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • Feat self healing prs #862: Both PRs modify the same workflow file (.github/workflows/claude.yml) and reference the same reusable orchestrator — this PR updates the pinned version to v0.2.0 that was introduced in that PR.

Poem

🐰 The orchestrator hops to v0.2,
A newer rhythm, tried and true,
One line swapped with rabbit glee,
The workflow dances fresh and new! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: pinning the claude-pr-owner dependency to version v0.2.0, which is the primary purpose of this chore commit.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore-bump-claude-pr-owner-0.2.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 23, 2026

Greptile Summary

This PR updates the pinned commit SHA for the abnegate/claude-pr-owner reusable workflow from e6baaab (v0.1.0) to 5ba5982 (v0.2.0). The new version fixes two bugs that caused silent no-ops: unexpanded shell prompt variables that caused Claude to bail early, and a missing credentials write that prevented classify-complexity from authenticating.

Confidence Score: 5/5

Safe to merge — single-line SHA bump with no logic changes in this repo.

The change is a one-line version pin update in a CI workflow. The new SHA is still a full commit hash (good security practice), the version comment is consistent, and the described bug fixes are well-documented in the PR description.

No files require special attention.

Important Files Changed

Filename Overview
.github/workflows/claude.yml Bumps the pinned commit SHA for the claude-pr-owner reusable workflow from v0.1.0 to v0.2.0; no other changes.

Reviews (1): Last reviewed commit: "(chore): pin claude-pr-owner to v0.2.0" | Re-trigger Greptile

@abnegate abnegate merged commit fd591ea into main Apr 23, 2026
7 of 8 checks passed
@abnegate abnegate deleted the chore-bump-claude-pr-owner-0.2.0 branch April 23, 2026 12:41
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