Skip to content

fix(ci): keep v1.7 second opinions opt-in - #1257

Merged
scttbnsn merged 1 commit into
dev/v1.7from
fix/v1.7-review-opt-in
Sep 18, 2026
Merged

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

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Backport the reviewed policy and regression tests from #1189 to dev/v1.7. That line still let CodeRabbit apply second-opinion automatically for review disagreements or large refactors. It applied the label on #1252 and summoned Greptile for a routine UI fix.

CodeRabbit can suggest the label, but applying it now requires explicit opt-in after a completed CodeRabbit source review of genuinely high-stakes changes. Routine UI work and generated charts do not qualify. No workflow permission or branch-protection change.

Both policy regression tests failed against the old configuration. All 270 workflow tests pass with the change, and both changed files exactly match #1189. Scoped Biome and diff checks pass. The normal pre-push passed in 310.44 seconds: configured 100% backend/UI coverage, both builds, static checks, 221 script tests, 270 workflow tests, 150 website script tests, typecheck and Zizmor. Hosted checks and this target-line CodeRabbit review remain required.

This targets dev/v1.7 only. The v1.6 and v1.8 lines already disable automatic label application. No product runtime, main advancement, tagging or deployment change.

Changelog

  • 🔧 Changed .coderabbit.yaml to disable automatic second-opinion label application.
  • 🔒 Restricted second-opinion suggestions to completed CodeRabbit reviews of high-stakes security-sensitive changes.
  • 🔧 Required explicit maintainer or agent opt-in.
  • 🗑️ Removed automatic triggers for large refactors and review disagreements.
  • ✨ Added regression tests for the updated label configuration and instructions.

Concerns

  • Verify the reported full workflow and pre-push test results in CI.

Backport the reviewed policy and regression tests from #1189. Routine UI changes and review disagreements must not automatically summon Greptile.
@vercel

vercel Bot commented Sep 18, 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 18, 2026 6:43pm UTC
drydockdemo-website Ready Ready Preview Sep 18, 2026 6:43pm UTC

@coderabbitai

coderabbitai Bot commented Sep 18, 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: 1b1f913d-03b3-4664-b75d-e5b032f0119b

📥 Commits

Reviewing files that changed from the base of the PR and between 71f451b and dfcb858.

📒 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

.coderabbit.yaml now disables automatic label application. The second-opinion instructions require reviewed, high-stakes security-sensitive changes and explicit opt-in. They exclude routine UI changes, generated charts, large refactors, and disagreement-based triggers. Two tests validate these settings and instructions.

Priority: ⬇️ Low

Change: Bug fix

Merge Risk: ⚪ Minimal · up to dfcb8

The policy change is mergeable with no established current-head correctness, security, or availability 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 💡
  • Commit to this branch
  • Create a new PR
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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 18, 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

The stated review allowance has reset. Please perform the first source review at dfcb858. This is the two-file backport of reviewed #1189, restoring explicit opt-in for the second reviewer. Threat model: normal maintainer review configuration, not a hostile maintainer bypassing their own controls. No workflow permissions or branch protections change. Full normal pre-push passed.

@coderabbitai

coderabbitai Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

@scttbnsn I will review pull request #1257 from dfcb8581b75ab119783b3894d2a4f54a4e6773de.

✅ 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.

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Verified exact-head source review and full local gate evidence. Normal required CI remains a merge gate.

@scttbnsn
scttbnsn merged commit 9b40cc1 into dev/v1.7 Sep 18, 2026
31 of 32 checks passed
@scttbnsn
scttbnsn deleted the fix/v1.7-review-opt-in branch September 18, 2026 19:14

This branch was successfully deployed

2 active deployments
Preview – drydock-website — dfcb8581 Deployed Sep 18, 2026 by vercel[bot]
Preview – drydockdemo-website — dfcb8581 Deployed Sep 18, 2026 by vercel[bot]
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.

2 participants