Require current CodeRabbit review receipts - #3
Conversation
|
@coderabbitai review |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 49 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughAdds a fail-closed CodeRabbit review receipt script, a protected GitHub Actions workflow and template assets, synchronized review configuration, updated review-loop guidance, and tests covering receipt validation and installation. ChangesReview receipt guardrail
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant PullRequest
participant ReviewWorkflow
participant ReviewReceipt
participant GitHubGraphQL
PullRequest->>ReviewWorkflow: pull request or review event
ReviewWorkflow->>ReviewReceipt: execute with GITHUB_TOKEN
ReviewReceipt->>GitHubGraphQL: query current-head review evidence
GitHubGraphQL-->>ReviewReceipt: reviews, threads, comments, and head OID
ReviewReceipt-->>ReviewWorkflow: pass or fail check result
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@assets/project-template/.github/workflows/review-receipt.yml`:
- Around line 3-42: The review gate must never fall back to PR-controlled code.
Update the “Select the review gate” step and the `gate` path so
`review-receipt.mjs` is always sourced from the protected default-branch
checkout, and remove the `bootstrap-gate` checkout or any fallback to it.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 05689b43-f9d5-4b5f-a910-e8c0ecd6f4f8
📒 Files selected for processing (12)
.coderabbit.yamlREADME.mdassets/project-template/.github/workflows/review-receipt.ymlbin/ultimate-agent-stack.mjsdocs/GITHUB_LOOP.mdpackage.jsonscripts/review-receipt.mjsskills/close-review-loop/SKILL.mdskills/close-review-loop/references/review-closure-policy.mdtest/agent-stack.test.mjstest/maintenance.test.mjstest/review-receipt.test.mjs
|
@coderabbitai review |
✅ Action performedReview finished.
|
Outcome
Make a real CodeRabbit review of the final PR revision independently verifiable and install the same fail-closed guardrail into projects initialized by the package.
Scope
.coderabbit.yamland keep it synchronized with the installed template;Decisions and non-goals
main.Verification
npm run release:checkgit diff --checkMigration, rollback, and monitoring
Existing installed projects receive protected update proposals through the normal upgrade/reconciliation flow. Rollback is a normal revert before the workflow becomes required. The receipt check reports a precise blocking reason without printing the GitHub token.
Review contract
CodeRabbit must review the final head commit. Production-level findings will be fixed, pushed, and explicitly re-reviewed until no actionable current thread remains.
Summary by CodeRabbit
New Features
Documentation
Tests