[GH-ISSUE #610] Skip duplicate CodeRabbit review on staging-to-main promotions #318

Closed
opened 2026-10-20 17:26:26 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Aug 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/610

Originally assigned to: @SpicyMarinara on GitHub.

Problem

Pure staging → main promotions currently trigger and require a fresh CodeRabbit review of the entire accumulated branch delta, even though every constituent change was already reviewed before entering protected staging. This creates a redundant, slow merge blocker on large promotions.

The existing branch-policy check already restricts main pull requests to owner-authored, same-repository promotions whose head is exactly staging.

Intended policy

  • Keep CodeRabbit automatic review and its required status on every ready pull request into staging.
  • Do not start or require CodeRabbit again for owner-only staging → main promotions.
  • Keep catalog validation, CodeQL, branch provenance, pull-request template checks, native Code Quality, and required thread resolution on main.
  • Do not introduce a bypass for ordinary contribution pull requests.

Acceptance criteria

  • Repository CodeRabbit configuration targets staging, not main.
  • The live Main quality gates ruleset no longer requires the CodeRabbit status.
  • The live Staging quality gates ruleset still requires CodeRabbit.
  • Promotion PR #609 is no longer blocked by the redundant pending CodeRabbit status.
Originally created by @SpicyMarinara on GitHub (Aug 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/610 Originally assigned to: @SpicyMarinara on GitHub. ## Problem Pure `staging` → `main` promotions currently trigger and require a fresh CodeRabbit review of the entire accumulated branch delta, even though every constituent change was already reviewed before entering protected `staging`. This creates a redundant, slow merge blocker on large promotions. The existing branch-policy check already restricts `main` pull requests to owner-authored, same-repository promotions whose head is exactly `staging`. ## Intended policy - Keep CodeRabbit automatic review and its required status on every ready pull request into `staging`. - Do not start or require CodeRabbit again for owner-only `staging` → `main` promotions. - Keep catalog validation, CodeQL, branch provenance, pull-request template checks, native Code Quality, and required thread resolution on `main`. - Do not introduce a bypass for ordinary contribution pull requests. ## Acceptance criteria - Repository CodeRabbit configuration targets `staging`, not `main`. - The live Main quality gates ruleset no longer requires the `CodeRabbit` status. - The live Staging quality gates ruleset still requires `CodeRabbit`. - Promotion PR #609 is no longer blocked by the redundant pending CodeRabbit status.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#318
No description provided.