Skip to content

fix(ci): require opt-in for second-opinion reviews - #1189

Merged
scttbnsn merged 1 commit into
dev/v1.8from
fix/v1.8-review-label-opt-in
Sep 13, 2026
Merged

scttbnsn merged 1 commit into
dev/v1.8from
fix/v1.8-review-label-opt-in

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Change

Stop CodeRabbit from automatically applying suggested labels. Keep suggestions, but restrict second-opinion to high-stakes security-sensitive changes after a completed CodeRabbit source review and explicit maintainer or agent opt-in. Routine UI work and generated charts do not qualify; refactor size or disagreement alone is not a reason to summon another reviewer.

The automatic path was confirmed on #1182: CodeRabbit applied the label at 17:05:44 UTC, triggering Greptile run 34770546941 before CodeRabbit finished its source review at 17:13. This was configuration behavior, not a manual request on that head.

The existing Greptile workflow, pinned reusable workflow, permissions and skipReview: AUTOMATIC setting are unchanged. CodeRabbit still reviews every eligible PR, and all required checks and protections remain intact.

Verification

  • Two real configuration regressions failed against the previous policy, then passed after the YAML change.
  • All 292 workflow tests across 30 files pass, including the existing label-only trigger and narrow-permissions assertions. Biome, diff checks and normal commit hooks pass.
  • Parent review of the complete two-file diff found no actionable issue.

Normal full pre-push passed in 373.92 seconds on 5bb5959195e3683cb26d7f450c48196c7a574a68: app 16,515 passed plus one existing opt-in skip, UI 5,703 passed, both configured coverage scopes at 100%, actual Vue checker, both builds, 248 script tests, 292 workflow tests, 96 website script tests and applicable static checks. Remote head/tree are exact and the checkout is clean. Hosted CI and the first CodeRabbit source review are required before merge.

This is a review-label policy change only, targeting dev/v1.8. No application runtime, deployment, release or workflow-permission change.

Changelog

  • 🔧 Changed .coderabbit.yaml to disable automatic label application.
  • 🔒 Restricted second-opinion to high-stakes, security-sensitive changes after CodeRabbit source review and explicit maintainer or agent opt-in.
  • ✨ Added regression tests for label configuration and scope restrictions.

@vercel

vercel Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
drydock-website Ready Ready Preview Sep 13, 2026 5:51pm UTC
drydockdemo-website Ready Ready Preview Sep 13, 2026 5:51pm UTC

@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: fa411a8e-5157-4a88-b5d0-77637d525140

📥 Commits

Reviewing files that changed from the base of the PR and between 19bab87 and 5bb5959.

📒 Files selected for processing (2)
  • .coderabbit.yaml
  • .github/tests/reusable-ci-config.test.ts

Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The configuration now keeps label suggestions enabled but disables automatic label application. The second-opinion label is limited to opted-in, high-stakes security-sensitive changes after a completed CodeRabbit review. Tests verify these settings and reject references to large refactors, tiebreakers, and disagreements.

Priority: ⬇️ Low

Change: Other

Merge Risk: ⚪ Minimal · up to 5bb59

The configuration matches the supported contract, and the added tests cover the changed label policy without introducing a merge-blocking risk.

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
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.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/v1.8-review-label-opt-in

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.

@codecov

codecov Bot commented Sep 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttbnsn

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@scttbnsn
scttbnsn merged commit 0bb025d into dev/v1.8 Sep 13, 2026
31 of 32 checks passed
@scttbnsn
scttbnsn deleted the fix/v1.8-review-label-opt-in branch September 13, 2026 18:54
scttbnsn added a commit that referenced this pull request Sep 18, 2026
Backport the reviewed policy and regression tests from #1189. Routine UI changes and review disagreements must not automatically summon Greptile.