fix: require Qodo review receipts - #31
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe review receipt system now supports exact-head Qodo evidence, triggers on pull-request comments, invokes Qodo validation in workflows, documents temporary Qodo approval rules, and tests qualifying and rejected evidence cases. ChangesQodo review receipt
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant GitHub as GitHub event
participant Workflow as review-receipt workflow
participant Evaluator as review-receipt.mjs
participant API as GitHub GraphQL API
GitHub->>Workflow: issue_comment event for pull request
Workflow->>Workflow: resolve PR_NUMBER
Workflow->>Evaluator: run with --provider qodo
Evaluator->>API: fetch pull request comments
API-->>Evaluator: return comment bodies and URLs
Evaluator-->>Workflow: accept or reject Qodo receipt
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
|
/review |
PR Summary by QodoRequire exact-head Qodo review receipt for protected independent review gate
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
95 rules 1.
|
|
/improve |
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 `@scripts/review-receipt.mjs`:
- Line 12: Broaden the Qodo detection logic in isQodo() beyond the current
qodo-code-review login to recognize supported Qodo bot variants such as
qodo-merge[bot] and qodo-ai[bot]. Keep QODO_REVIEW_TITLE_PATTERN and the
body-template matchers aligned with the actual Qodo comment formats the provider
should accept.
🪄 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: 9e099d34-92ef-480d-bcce-89d213dcbc5e
📒 Files selected for processing (7)
.github/workflows/review-receipt.ymlassets/project-template/.github/workflows/review-receipt.ymldocs/GITHUB_LOOP.mddocs/TRUST.mdscripts/review-receipt.mjstest/maintenance.test.mjstest/review-receipt.test.mjs
|
Code review by qodo was updated up to the latest commit 4f5950d |
|
/improve |
|
Code review by qodo was updated up to the latest commit 65937a8 |
|
/improve |
|
Code review by qodo was updated up to the latest commit 7f835fe |
|
/improve |
|
Code review by qodo was updated up to the latest commit 7706694 |
|
/improve |
|
Code review by qodo was updated up to the latest commit d0629ca |
What changed
issue_commenttriggers so Qodo completion updates re-evaluate the protected receiptVerification
npm run release:checkpasses 134 tests, behavioral contracts, dry pack, and packed smokegit diff --checkpassesControlled bootstrap
The protected default branch still runs the old CodeRabbit-only evaluator, so this PR cannot satisfy that obsolete check itself. After Qodo completes this exact-head review and ordinary CI is green, remove only
review-receiptfrom required contexts, merge this PR, immediately restorereview-receipt, and verify every other protection remained unchanged.Summary by CodeRabbit
New Features
Documentation
Tests