[PR #611] [MERGED] Skip duplicate CodeRabbit review on main promotions #1046

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/611
Author: @SpicyMarinara
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/25/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/skip-coderabbit-main-promotions


📝 Commits (1)

  • 6181d4b ci(coderabbit): skip duplicate main promotion reviews

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 .coderabbit.yaml (+0 -1)

📄 Description

Linked issue

Closes #610.

Why this change

Every change entering protected staging already requires CodeRabbit review. Running CodeRabbit again on the aggregate owner-only staging → main promotion re-reviews the same commits, consumes review capacity, and can hold stable publication behind a very large redundant scan.

The existing branch-policy gate independently restricts main pull requests to SpicyMarinara, the same repository, and the exact staging head.

What changed

  • Remove main from CodeRabbit automatic-review base branches.
  • Keep automatic CodeRabbit review enabled for ready pull requests into staging.
  • Pair this repository setting with removal of only the CodeRabbit required status from the live Main quality gates ruleset; the Staging quality gates ruleset remains unchanged.

Package and security impact

  • Affected package IDs: none.
  • Engine compatibility impact: none.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: none.
  • Governance impact: main promotions reuse the CodeRabbit proof accumulated before each commit entered staging; catalog validation, CodeQL, branch provenance, native Code Quality, PR-template validation, and thread resolution remain enforced on main.

Validation

  • npm run check passes locally
  • node scripts/test-catalog-lanes.mjs passes locally
  • node scripts/validate-package-locales.mjs passes locally
  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Read and followed CONTRIBUTING.md

Manual verification notes

Automated validation completed on commit 6181d4bc:

  • Parsed .coderabbit.yaml and asserted reviews.auto_review.base_branches is exactly ["staging"].
  • npx prettier --check .coderabbit.yaml passed.
  • npm run check passed with zero errors and 68 warnings.
  • Catalog lane, package locale, and full catalog validation passed.
  • git diff --check passed.
  • Confirmed the live Staging quality gates ruleset still requires CodeRabbit.
  • Confirmed the live main branch-policy check accepts only an owner-authored, same-repository PR whose head is staging.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

No documentation change is needed: AGENTS.md and SECURITY.md already scope the required CodeRabbit gate to staging and protect main separately as an owner-only promotion target.

Summary by CodeRabbit

  • Chores
    • Updated review configuration to target the staging branch only.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/611 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/25/2026 **Status:** ✅ Merged **Merged:** 8/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/skip-coderabbit-main-promotions` --- ### 📝 Commits (1) - [`6181d4b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6181d4bc13f5315f920cd566d970ac6f494e15c7) ci(coderabbit): skip duplicate main promotion reviews ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.coderabbit.yaml` (+0 -1) </details> ### 📄 Description ## Linked issue Closes #610. ## Why this change Every change entering protected `staging` already requires CodeRabbit review. Running CodeRabbit again on the aggregate owner-only `staging` → `main` promotion re-reviews the same commits, consumes review capacity, and can hold stable publication behind a very large redundant scan. The existing branch-policy gate independently restricts `main` pull requests to `SpicyMarinara`, the same repository, and the exact `staging` head. ## What changed - Remove `main` from CodeRabbit automatic-review base branches. - Keep automatic CodeRabbit review enabled for ready pull requests into `staging`. - Pair this repository setting with removal of only the `CodeRabbit` required status from the live Main quality gates ruleset; the Staging quality gates ruleset remains unchanged. ## Package and security impact - Affected package IDs: none. - Engine compatibility impact: none. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: none. - Governance impact: main promotions reuse the CodeRabbit proof accumulated before each commit entered staging; catalog validation, CodeQL, branch provenance, native Code Quality, PR-template validation, and thread resolution remain enforced on main. ## Validation - [ ] `npm run check` passes locally - [ ] `node scripts/test-catalog-lanes.mjs` passes locally - [ ] `node scripts/validate-package-locales.mjs` passes locally - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Automated validation completed on commit `6181d4bc`: - Parsed `.coderabbit.yaml` and asserted `reviews.auto_review.base_branches` is exactly `["staging"]`. - `npx prettier --check .coderabbit.yaml` passed. - `npm run check` passed with zero errors and 68 warnings. - Catalog lane, package locale, and full catalog validation passed. - `git diff --check` passed. - Confirmed the live Staging quality gates ruleset still requires `CodeRabbit`. - Confirmed the live main branch-policy check accepts only an owner-authored, same-repository PR whose head is `staging`. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation No documentation change is needed: `AGENTS.md` and `SECURITY.md` already scope the required CodeRabbit gate to staging and protect main separately as an owner-only promotion target. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated review configuration to target the staging branch only. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:33:32 +07:00
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#1046
No description provided.