Skip to content

[Chore] Make CodeRabbit completeness checks advisory - #1621

Merged
edelauna merged 1 commit into
mainfrom
chore/coderabbit-advisory-completeness-2rzdur0qs6pwd
Sep 12, 2026
Merged

[Chore] Make CodeRabbit completeness checks advisory#1621
edelauna merged 1 commit into
mainfrom
chore/coderabbit-advisory-completeness-2rzdur0qs6pwd

Conversation

@zoomote

@zoomote zoomote Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

​Created by Roomote. Follow up by mentioning @roomote, in the web UI, or in Discord.

What changed

  • Changed Regression evidence from an error to a warning.
  • Changed Lifecycle resource cleanup from an error to a warning.
  • Kept Security boundaries and Persistence integrity as errors.
  • Preserved the assertive review profile, check instructions, and every unrelated setting.

Why this change was made

PR #1595 showed the same lifecycle work being evaluated through two overlapping mechanisms. CodeRabbit repeatedly found concrete defects through adversarial inline reviews and submitted CHANGES_REQUESTED, including registry cleanup, post-disposal behavior, asynchronous initialization, and settings-triggered recreation. Its walkthrough then separately blocked the PR on broad Regression Evidence and Lifecycle Resource Cleanup completeness judgments after several fix cycles.

This policy keeps inline review adversarial so concrete defects still request changes. Blocking pre-merge errors remain reserved for deterministic, unacceptable outcomes such as a concrete security-boundary bypass or persistence corruption path. Completeness, test-depth, and lifecycle-design assessments remain visible but advisory because their finite completion criteria are less stable.

Impact

CodeRabbit will continue reporting regression-evidence and lifecycle-cleanup concerns in the walkthrough, but those custom checks will no longer independently withhold approval. Concrete inline findings can still produce a normal requested-changes review, while Security Boundaries, Persistence Integrity, and the existing issue-assessment gate remain blocking.

The current CodeRabbit v2 schema accepts warning for custom pre-merge checks. The YAML and intended mode matrix were parsed directly; Prettier, lint, type checks, the full pnpm test suite, and git diff --check pass. No Zoo-Code-Docs update is needed because this changes repository review policy rather than extension functionality.

@github-actions

github-actions Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Review status

This PR was opened by an automated account. A human maintainer must verify the change intent, provenance, and validation before merging.

Current step: The required review sequence passed. Remaining merge requirements apply.

Review-state labels are managed by this workflow; do not edit them manually.

@codecov

codecov Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@edelauna

Copy link
Copy Markdown
Contributor

@CodeRabbit review

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor
✅ 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.

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

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: ASSERTIVE

Plan: Advanced

Run ID: a793b648-2a3e-4fe5-a146-71411d856aba

📥 Commits

Reviewing files that changed from the base of the PR and between 0ea6905 and 3c2bd21.

📒 Files selected for processing (1)
  • .coderabbit.yaml

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

📜 Recent review details
⏰ Context from checks skipped due to timeout. (1)
  • GitHub Check: e2e-mock
🔇 Additional comments (1)
.coderabbit.yaml (1)

162-162: LGTM!

Also applies to: 184-184


📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated review checks for regression evidence and lifecycle resource cleanup to report warnings instead of blocking errors.
    • Security boundary and persistence integrity checks continue to block changes when issues are detected.

Walkthrough

Two custom pre-merge checks in .coderabbit.yaml changed from blocking errors to warnings. The "Security boundaries" and "Persistence integrity" checks remain unchanged.

Changes

Pre-merge check configuration

Layer / File(s) Summary
Update check enforcement modes
.coderabbit.yaml
The "Regression evidence" and "Lifecycle resource cleanup" checks now use warning mode instead of error mode.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: edelauna

Merge Risk: ⚪ Minimal · up to 3c2bd

This configuration-only change makes the intended completeness checks advisory without weakening security or persistence enforcement.

🚥 Pre-merge checks | ✅ 7 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the configuration changes, rationale, impact, and reported validation results. It does not follow the required template because it omits the Related GitHub Issue section, deta… Add the required template sections. Link an approved GitHub Issue with a Closes: #<issue-number> entry. Provide reproducible test steps and environment details. Complete the Pre-Submission Checklist and address the Documentation Updates s…
✅ Passed checks (7 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.
Regression Evidence ✅ Passed PASS: The review-scoped diff changes only .coderabbit.yaml. It changes the mode for Regression evidence and Lifecycle resource cleanup from error to warning; it does not change product beh…
Security Boundaries ✅ Passed PASS. The authoritative diff changes only .coderabbit.yaml modes for Regression evidence and Lifecycle resource cleanup from error to warning. It does not change application paths, input han…
Persistence Integrity ✅ Passed PASS. The authoritative diff changes only .coderabbit.yaml, with two mode values changed from error to warning. It changes no persistence implementation path, write, default, rollback behavior…
Lifecycle Resource Cleanup ✅ Passed PASS: The review-scoped diff changes only .coderabbit.yaml. It changes the modes of Regression evidence and Lifecycle resource cleanup from error to warning; it does not change application l…
Title check ✅ Passed The title clearly and concisely describes the main change: making CodeRabbit completeness checks advisory.
Full details: Description check

Explanation

The description explains the configuration changes, rationale, impact, and reported validation results. It does not follow the required template because it omits the Related GitHub Issue section, detailed Test Procedure, Pre-Submission Checklist, and other required template sections.

Resolution

Add the required template sections. Link an approved GitHub Issue with a Closes: #&lt;issue-number&gt; entry. Provide reproducible test steps and environment details. Complete the Pre-Submission Checklist and address the Documentation Updates section.

  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/coderabbit-advisory-completeness-2rzdur0qs6pwd

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.

@edelauna
edelauna marked this pull request as ready for review September 12, 2026 18:37
@edelauna
edelauna enabled auto-merge September 12, 2026 18:37
@edelauna
edelauna added this pull request to the merge queue Sep 12, 2026
Merged via the queue into main with commit 294c5ff Sep 12, 2026
28 checks passed
@edelauna
edelauna deleted the chore/coderabbit-advisory-completeness-2rzdur0qs6pwd branch September 12, 2026 18:47
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