Repository navigation
ci: call the shared Claude review workflow, pinned to v1.0.0 - #1819
Conversation
Replaces both older review workflows with the short caller from cipherstash/workflows, pinned to the v1.0.0 commit: code-review.yml, the full copy that fired the review routine, and claude-review.yml, the claude-code-action review behind CLAUDE_REVIEW_ENABLED, so a pull request is reviewed once. Reviews can now also be requested with a `@cipherstash-agent review` comment or by requesting cipherstash-agent as a reviewer. The tests that held the two old files go with them. The workflow tests that listed their jobs drop them, and the call to the shared workflow gets its written reason in workflow-job-timeouts.test.mjs. SECURITY.md no longer describes the Anthropic OIDC exchange, which nothing makes now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012Jmn7nufRRuXKZmVwNdtep
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
cipherstash-agent
left a comment
There was a problem hiding this comment.
Review attestation
Reviewed bba733a · posted from Claude Code · claude-opus-5-5 · effort medium
Sources: code-review · claude-opus-5-5; code-review (Standards and Spec axes) · claude-opus-5-5
Skills: code-review, mattpocock-skills:code-review, company-skills:rust-security (not applicable: no Rust in the diff), company-skills:review-cross-check, company-skills:review-post
Findings (1): 1 minor — 1 inline.
Checked against the pinned reusable workflow (cipherstash/workflows 38f13f4, v1.0.0) and found these hold: fork and bot PRs skip cleanly in the decide job (decision.jq ready path, every step continue-on-error), so no red check; each shared job sets timeout-minutes: 5; the caller matches examples/claude-review.yml on cipherstash/workflows main; no repo file still reads CLAUDE_REVIEW_ENABLED, ANTHROPIC_* or the deleted workflows.
Generated by Claude Code
|
@cipherstash-agent review |
Requested by User · project thread
Switches this repository's Claude code review to the shared workflow in cipherstash/workflows, pinned to its
v1.0.0release, the same way the other repositories were switched (for example cipherstash/ore.rs#143). Part of cipherstash/workflows#9 (rollout tracked in cipherstash/workflows#40).What changes
.github/workflows/claude-review.ymlis now the short caller fromexamples/claude-review.yml, byte for byte. All the logic lives in the shared workflow.code-review.yml, the full copy that fired the review routine.claude-review.yml, the claude-code-action review that was switched off behindCLAUDE_REVIEW_ENABLED.code-review-workflow.test.mjs,claude-review-workflow.test.mjs) are removed with them.workflow-dispatch-job-conditions.test.mjsand the non-publishing OIDC list inworkflow-publish-permissions.test.mjs, which is now empty.workflow-job-timeouts.test.mjsgets a written reason for the call to the shared workflow, whose jobs each set a 5-minute timeout there.SECURITY.mdno longer describes the Anthropic OIDC exchange, since no job makes it now.pnpm test:scriptspasses locally apart from two suites that need the full workspace install (bench-index-expressions,migration-fixture-client), which fail the same way onmainin that setup.Dependabot already covers GitHub Actions here, so it will offer later releases of the shared workflow. After this merges, the repository variables
CLAUDE_REVIEW_ENABLEDandANTHROPIC_*are no longer read and can be deleted.Three ways to ask for a review
Only members of
@cipherstash/developerscan start a review.@cipherstash-agent review. Anything after it is passed on as instructions, and the comment gets a 👀 once the request is sent. This works on drafts too, but only once this file is on the default branch.cipherstash-agentin the Reviewers box. This works on drafts too.On a PR from a fork, only the comment command starts a review.
Settings
Set once for the whole organisation: the secrets
CLAUDE_ROUTINE_TOKENandCLAUDE_REVIEW_APP_PRIVATE_KEY, and the variablesCLAUDE_ROUTINE_TRIGGER_IDandCLAUDE_REVIEW_APP_CLIENT_ID. Nothing needs setting in this repository. The repository must be in the review routine's list for reviews to run. The membership GitHub App needs nothing per repository: it is installed once on the organisation with only "Members: read".Summary by CodeRabbit
Generated by Claude Code