Skip to content

chore: sunset automated Claude PR-review gate - #310

Merged
cbeaulieu-gt merged 2 commits into
mainfrom
sunset-pr-review-gate
Jul 18, 2026
Merged

chore: sunset automated Claude PR-review gate#310
cbeaulieu-gt merged 2 commits into
mainfrom
sunset-pr-review-gate

Conversation

@cbeaulieu-gt

@cbeaulieu-gt cbeaulieu-gt commented Jul 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Removes the automated Claude PR-review gate (pr-review/ composite action, .github/workflows/claude-pr-review.yml, its example caller, and the now-dead marker-emission-aggregate.yml) now that all 4 known consumers (rsl-siege-manager, rsl-mom-bot, job-matcher, claude-configs) have migrated to CodeRabbit.
  • Fixes entangled CI tooling that would otherwise break: the digest-pin rewrite arrays and occurrence-count checks in runtime-build.yml/runtime-rollback.yml (5→4 workflows, 7→6 occurrences), and the test.yml marker-corpus job that pointed at a deleted script.
  • Updates CLAUDE.md, README.md, docs/consumer-onboarding.md, examples/README.md, and stale comments in runtime/base/Dockerfile / runtime/scripts/smoke-test.sh / overlay-smoke.yml.
  • The separate interactive @claude review tag-comment feature (claude-command-routerclaude-runtime-review overlay → claude-tag-respond.yml) is untouched and remains fully functional — verified via git diff against runtime/ci-manifest.yaml, runtime/overlays/review/**, claude-command-router/**, and claude-tag-respond.yml (all empty).

Closes #309

Test plan

  • actionlint clean across the full workflow set
  • claude-command-router/tests/run-cases.sh — 40/40 passed (unchanged)
  • Repo-wide grep for pr-review / claude-pr-review confirms no orphaned references outside intentionally-preserved historical docs and the surviving review-overlay path

🤖 Generated by Claude Code on behalf of @cbeaulieu-gt

Summary by CodeRabbit

  • Removed Features

    • Removed the automated pull request review capability and its associated review status checks.
    • Removed the corresponding setup example and configuration references.
  • Documentation

    • Updated guides, references, and onboarding materials to reflect the streamlined workflow options.
    • Clarified prerequisites and runtime validation guidance.
  • CI and Maintenance

    • Updated digest promotion and rollback checks for the reduced workflow set.
    • Added automated coverage for command-routing scenarios and refreshed workflow validation comments.

All 4 known consumers have migrated to CodeRabbit, so the automated
review gate that ran on every PR is no longer needed. Removes the
pr-review/ composite action, the claude-pr-review.yml reusable
workflow, its example caller, and the now-dead
marker-emission-aggregate.yml (which only aggregated commit statuses
posted by pr-review/action.yml). Fixes the entangled digest-pin
rewrite tooling in runtime-build.yml/runtime-rollback.yml (5->4
workflows, 7->6 occurrences) and the test.yml marker-corpus job that
would otherwise reference deleted files. Updates docs/comments
accordingly.

The separate interactive `@claude review` tag-comment path
(claude-command-router -> claude-runtime-review overlay ->
claude-tag-respond.yml) is untouched and remains fully functional.

Closes #309

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 9 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 530841ae-4be2-4d91-9159-3c1cf6b4aca5

📥 Commits

Reviewing files that changed from the base of the PR and between c2bc9b9 and e895009.

📒 Files selected for processing (3)
  • .github/workflows/overlay-smoke.yml
  • README.md
  • docs/consumer-onboarding.md
📝 Walkthrough

Walkthrough

The PR retires the Claude PR review action and workflow, removes related documentation and marker fixtures, updates digest promotion and rollback counts, adds router-case CI coverage, and refreshes remaining runtime and overlay comments.

Changes

Claude PR review retirement

Layer / File(s) Summary
Remove PR review capability
.github/workflows/..., pr-review/..., CLAUDE.md, README.md, docs/..., examples/...
The PR review action, workflow references, marker utilities, fixtures, architecture entries, onboarding instructions, and workflow indexes are removed or updated.
Retarget digest promotion and rollback
.github/workflows/runtime-build.yml, .github/workflows/runtime-rollback.yml
Digest automation now targets six references across four reusable workflows and validates the updated count in generated pull requests.
Align CI and runtime references
.github/workflows/test.yml, .github/workflows/overlay-smoke.yml, runtime/...
CI runs router cases, and runtime and overlay comments describe the remaining actions and generalized home-directory reachability behavior.

Possibly related issues

  • glitchwerks/claude-configs#1107 — Concerns retirement of the same Claude PR review workflow and implementation, which this change removes.
🚥 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 accurately summarizes the main change: retiring the automated Claude PR-review gate.
Linked Issues check ✅ Passed The PR removes the review action/workflow and updates related workflow/docs references as requested in #309.
Out of Scope Changes check ✅ Passed The extra workflow, test, and docs edits support the retirement and cleanup described in the issue.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

@claude-action-runner

claude-action-runner Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Claude finished @cbeaulieu-gt's task in 1m 50s —— View job


Reviewing incremental changes

Todo:

  • Examine incremental changes (c2bc9b9e895009)
  • Determine if foundational code is affected
  • Review code quality, security, performance, test coverage, documentation
  • Post findings

Files changed:

  • .github/workflows/overlay-smoke.yml — digest lookup refinement
  • README.md — migration guide cleanup
  • docs/consumer-onboarding.md — smoke test instructions

Review Summary

This commit addresses the two CodeRabbit findings from the previous review. The changes are well-implemented and correctly fix the identified issues.

✅ Code Quality

overlay-smoke.yml (.github/workflows/overlay-smoke.yml:45-64)

  • Correctly restricts grep to claude-*.yml — Changed from grep -rh over all .github/workflows/ to grep -h targeting only claude-*.yml, preventing stale/unrelated workflows from affecting the digest lookup
  • Adds conflict detection — New logic counts unique digests and fails explicitly when multiple pins are found for the same overlay (lines 56-61)
  • Improved error messages — The conflict error includes all conflicting digests, making triage easier
  • Proper shell safety — Uses || true on grep to handle zero-match case without failing early (line 51)

README.md (README.md:125,127)

  • Removes obsolete pr-review references — Correctly updates the migration guide to remove mentions of the now-deleted pr-review action
  • Maintains consistency — The removed references align with the PR's goal of sunsetting the automated PR-review gate

consumer-onboarding.md (docs/consumer-onboarding.md:142-166)

  • Clarifies template-specific instructions — Splits Step 5 into two sections: event-driven templates vs. manual-dispatch template
  • Addresses the CodeRabbit finding — The smoke checklist is now scoped correctly: claude-apply-fix.yml (which is workflow_dispatch-only) gets its own dispatch-based test procedure
  • Provides actionable test steps — The gh workflow run example is complete and copy-pasteable

✅ Security

No security concerns. The changes are documentation and workflow validation logic only.

✅ Performance

The grep -h change is actually a performance improvement — it no longer recursively searches directories, reducing I/O.

✅ Test Coverage

The conflict-detection logic (lines 56-61) is not covered by automated tests, but:

  • The happy path (single unique digest) is implicitly tested by the workflow's daily cron runs
  • The failure path (multiple conflicting digests) would require injecting a second digest into a claude-*.yml file, which would be a real configuration error that the workflow is designed to catch

This is acceptable — the logic is defensive validation, not core business logic.

✅ Documentation

  • Comments are accurate — Line 45's comment correctly describes the new behavior
  • Consumer-facing docs are clear — The onboarding guide now provides correct guidance for all four template types

Verdict

APPROVE — All changes are correct, well-implemented fixes that directly address the CodeRabbit findings. No issues found.

The conflict detection in overlay-smoke.yml is a quality improvement beyond the original CodeRabbit request — it prevents silent failure when digest pins drift across workflow files.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3e8edc61-b9ba-464c-936e-0050107a3553

📥 Commits

Reviewing files that changed from the base of the PR and between a76563c and c2bc9b9.

📒 Files selected for processing (34)
  • .github/workflows/claude-pr-review.yml
  • .github/workflows/marker-emission-aggregate.yml
  • .github/workflows/overlay-smoke.yml
  • .github/workflows/runtime-build.yml
  • .github/workflows/runtime-rollback.yml
  • .github/workflows/test.yml
  • CLAUDE.md
  • README.md
  • docs/consumer-onboarding.md
  • examples/README.md
  • examples/claude-pr-review.yml
  • pr-review/README.md
  • pr-review/action.yml
  • pr-review/lib/parse-marker.sh
  • pr-review/lib/severity-regex.sh
  • pr-review/tests/marker-cases/clean-review.expected
  • pr-review/tests/marker-cases/clean-review.md
  • pr-review/tests/marker-cases/marker-malformed.expected
  • pr-review/tests/marker-cases/marker-malformed.md
  • pr-review/tests/marker-cases/marker-missing.expected
  • pr-review/tests/marker-cases/marker-missing.md
  • pr-review/tests/marker-cases/mixed-severity.expected
  • pr-review/tests/marker-cases/mixed-severity.md
  • pr-review/tests/marker-cases/pr-222-critical-issues-found.expected
  • pr-review/tests/marker-cases/pr-222-critical-issues-found.md
  • pr-review/tests/marker-cases/zero-count-low-tally.expected
  • pr-review/tests/marker-cases/zero-count-low-tally.md
  • pr-review/tests/marker-cases/zero-count-medium-tally.expected
  • pr-review/tests/marker-cases/zero-count-medium-tally.md
  • pr-review/tests/marker-cases/zero-count-tally-lines.expected
  • pr-review/tests/marker-cases/zero-count-tally-lines.md
  • pr-review/tests/run-marker-cases.sh
  • runtime/base/Dockerfile
  • runtime/scripts/smoke-test.sh
💤 Files with no reviewable changes (26)
  • pr-review/tests/marker-cases/mixed-severity.expected
  • pr-review/tests/marker-cases/marker-missing.md
  • pr-review/tests/marker-cases/marker-malformed.expected
  • pr-review/tests/marker-cases/marker-missing.expected
  • pr-review/tests/marker-cases/zero-count-medium-tally.expected
  • pr-review/tests/run-marker-cases.sh
  • examples/claude-pr-review.yml
  • pr-review/tests/marker-cases/clean-review.md
  • pr-review/tests/marker-cases/zero-count-low-tally.expected
  • pr-review/README.md
  • pr-review/tests/marker-cases/zero-count-tally-lines.expected
  • pr-review/tests/marker-cases/pr-222-critical-issues-found.expected
  • pr-review/lib/parse-marker.sh
  • pr-review/tests/marker-cases/zero-count-low-tally.md
  • pr-review/tests/marker-cases/zero-count-tally-lines.md
  • examples/README.md
  • .github/workflows/claude-pr-review.yml
  • pr-review/tests/marker-cases/clean-review.expected
  • pr-review/tests/marker-cases/pr-222-critical-issues-found.md
  • pr-review/tests/marker-cases/mixed-severity.md
  • .github/workflows/test.yml
  • .github/workflows/marker-emission-aggregate.yml
  • pr-review/lib/severity-regex.sh
  • pr-review/action.yml
  • pr-review/tests/marker-cases/marker-malformed.md
  • pr-review/tests/marker-cases/zero-count-medium-tally.md

Comment thread .github/workflows/overlay-smoke.yml Outdated
Comment thread docs/consumer-onboarding.md
…t PR

- overlay-smoke.yml: scope the digest-lookup grep to claude-*.yml only
  (matches this repo's documented convention) and fail loudly with a
  clear error when multiple distinct digest pins are found for the same
  overlay, instead of silently picking one via `sort -u | head -n1`.
- docs/consumer-onboarding.md: scope the Step 5 smoke checklist to the
  event-driven templates and add a separate manual-dispatch verification
  step for claude-apply-fix.yml, which cannot produce a PR-timeline
  comment.
- README.md: drop the three remaining pr-review references in the
  "Migrating from v1 to v2" section now that pr-review/claude-pr-review.yml
  no longer exist.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e8950097a5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


### Event-driven templates

Use this checklist for `claude-tag-respond.yml`, `claude-lint-failure.yml`, and `claude-ci-failure.yml`. It does not apply to the manually dispatched `claude-apply-fix.yml` template.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Split smoke checklist by actual trigger

This newly broadened checklist still describes the old PR-review smoke path, but the three templates named here do not all run from simply opening a tiny PR: claude-tag-respond.yml waits for an @claude comment event, claude-lint-failure.yml only invokes Claude when its lint job fails, and claude-ci-failure.yml waits for a failed workflow_run. New consumers following these steps will get no Claude comment and be sent to troubleshooting even when their setup is correct, so the smoke instructions should be split by template with the actual trigger to fire.

Useful? React with 👍 / 👎.

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.

Sunset claude-pr-review capability once all consumers migrate off

1 participant