Repository navigation
Correct the Reviewer Reference on CodeRabbit in Private Repositories - #4337
Conversation
… Clean Passes, and Config Branch Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…Clean-Pass Wording Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…back Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 28 minutes. View limit details
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. |
There was a problem hiding this comment.
🟡 Changes recommended
An outstanding documentation nit requires reordering the coderabbit-plans and coderabbit-yaml reference definitions alphabetically.
1 open issue
What changed in this PR
Updates the reviewer reference to accurately describe CodeRabbit behavior on private repositories under the Free plan, including clean-pass detection and configuration sourcing.
Changes:
- Clarifies that private repositories receive summaries and walkthroughs without line findings.
- Documents clean passes without review objects and current-head commit-range matching.
- Updates plan wording, dates, configuration details, and supporting references.
| File | Description |
|---|---|
| docs/pr-reviewer-reference.md | Updates CodeRabbit coverage, clean-pass behavior, configuration sourcing, plan scope, dates, and documentation references. |
Review effort: Lite
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4337 +/- ##
========================================
Coverage 79.15% 79.15%
========================================
Files 45 45
Lines 15926 15926
========================================
Hits 12606 12606
Misses 3320 3320
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
|
/review |
Action not completed
|
…ocal Cover, UTF-8 Children (#4342) Promotes the eight pull requests that landed on develop since the last promotion. - #4334: Create the PR with the `comments` label in drive-pr. - #4337: Correct the reviewer reference on CodeRabbit in private repositories. - #4335: Probe each Python candidate in `install.ps1` and bound the profile mask. - #4336: Write kit files atomically through a temporary file beside each target. - #4338: Pin the governance sections the host CLAUDE.md blocks mirror. - #4340: Let an attested pass cover a main head with no Copilot table. - #4339: Rebase or append where an upstream rejects merges or rewrites. - #4341: Pass `PYTHONIOENCODING` to every Python child a test decodes as UTF-8. Closes #1577 Closes #2274 Closes #4176 Closes #4322 Closes #3601 Closes #4317 Closes #4031 Closes #4113 Closes #3925 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Improvements** * The Windows agent installer now detects a working Python 3.11+ interpreter and reports which options were unavailable or too old. * Agent installation better preserves existing files if interrupted or if a write fails. * Installer logs more accurately distinguish profile paths from similarly named folders. * Pull request review guidance clarifies when local review coverage can qualify and how labels affect review runs. * **Documentation** * Updated contribution, review, and agent setup guidance, including governance synchronization checks. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary Fixes the remaining item of #4170: the `pr-review-conduct` "Silence is not evidence" bullet, in "Which Reviewers a Repository Actually Has", told the reader to read the reviews rather than the comments, since a reviewer's "reviewed, nothing to say" case "appears only there". Merged #4337 established in `docs/pr-reviewer-reference.md` that a CodeRabbit clean pass leaves no review object at all. - `.agents/skills/pr-review-conduct/SKILL.md`: the bullet now says the case opens no thread and leaves its record differently per reviewer. It can be a review with an empty body, the shape Merge Gate item 2 calls ordinary. A CodeRabbit clean pass can leave no review object and then shows only in its summary comment's "no actionable comments were generated" line, which counts only where the commit range the summary's review details print ends at the current head. So read the reviews and the comments both. - Generated copies under `.github/skills/` and `.claude-plugin/` rebuilt with `scripts/build_dist.py`, and `--check` passes. The code half #4170 lists, `scripts/pr_review_side.py` counting review objects only, is #3929's and is not touched here. ## #4056: already fixed on develop, no change here #4056 reports that on a feature pull request into `develop`, an unrequested Copilot round whose file table names fewer files than changed cancels an attested local pass (`coverage=none`). It was measured with hub `pr_review.py` at `1397e30a`. On that commit, `coverage()` read the attestation only where no head round carried a table: `if local_cover(pr) and not any(reading(n).table is not None for n in rounds)`. #4047 (`440cdacf`, merged into develop 40 minutes before the issue was filed, and now on `main`) dropped that clause, so only a round stating partial coverage withdraws the attestation. #4340 changed only heads the policy owes a Copilot round, which a feature pull request into `develop` is not. Evidence: a probe built the issue's shape from the test helpers. That is one unrequested head round with a table naming 33 of 47 changed files, no coverage statement, an owner's attestation, and a base of `develop`. Under both no policy and the default policy, `coverage()` returns `none` on `1397e30a` and `local` on current develop. `holds()` is true and `promotion()` false on both. `tests/test_pr_review.py` already pins the behavior in `test_an_attested_head_beside_a_round_whose_table_skips_a_file_is_covered`, and `test_a_stated_partial_round_beside_a_round_whose_table_skips_a_file_is_not_covered` pins the one exception. `merge` and `status` both read the same `coverage()`. So #4056 needs no code change, and this pull request does not close it, since it changes nothing for it. ## Verification - Full suite: `python -m unittest discover -s tests` with `tests/requirements.txt`, 4685 tests OK. - Prose gate over the diff: clean. - `scripts/build_dist.py --check`: current. - Local strict review: two recorded `frontier` passes. The first raised two `introduced` findings on the new bullet, an overstated "leaves no review object" and a commit range placed on the summary line rather than its review details, both fixed in the second commit. The second pass over this head raised none. Closes on promotion: #4170 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit - **Documentation** - Clarified how to verify a clean CodeRabbit review when it appears only in a summary comment, including checking that its commit range ends at the current head. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…wed (#4396) ## Summary A clean CodeRabbit pass leaves no pull request review object, only its summary comment. The digest's `other_reviewed` field counted review objects alone, so it could not tell a clean pass from no pass. This finishes the remaining item of #3929. #4351 taught `wait` to read the summary, and #4337 documented the head-branch config read. - `CLEAN_PASS`, `REVIEWED_UP_TO`, and `clean_pass` move unchanged from `scripts/pr_review_side.py` into a new reader module, `scripts/pr_review_summary.py`. `pr_review_side.py` sat at its size ceiling, and the digest, a reader module, may not import it. The new module adds `summaries`, CodeRabbit's comments in view that print a reviewed range, and `clean_pass` builds on it. - `scripts/pr_review_digest.py` names CodeRabbit under `other_reviewed` where `clean_pass` reads the current head, never an earlier head. - A new `other_unknown=coderabbitai` field keeps the blind state apart from no pass. It prints only where the review policy covers CodeRabbit on the base and neither a review on the head nor any summary is in view. Older comments must also sit behind the comments window. CodeRabbit edits one summary in place, so a summary in view, clean or not, decides. Coverage reads through `pr_review_payload.bot_entry(...).covers(...)`, the primitive `side_reviewers` uses. - The reader-import guard and the size test cover the new module. No existing ceiling moves. - The `status` help text, `docs/pr-reviewer-reference.md`, and `scripts/README.md` describe the fields and the module. - Tests cover a clean pass on the head, no pass, a summary with findings, and a clean pass on an earlier head. They also cover the blind window with and without a summary in view, and a base the policy does not cover. The pinned crowded digest gains `other_unknown=coderabbitai`, since that case has older comments and no summary in view under the default policy. ## Findings from the local pass The opening push spent its pass's edit budget, so these `introduced` findings were listed here. a9e2a09 fixed four of them and 1846462 fixed the fifth. A fresh pass over each head raised none. - `scripts/pr_review_summary.py` `summaries`, `introduced`, fixed in a9e2a09: it keyed the summary on a printed range alone. It now also counts CodeRabbit's summary marker, so a pass still running or skipped reads as a summary in view. - `scripts/pr_review_digest.py` CodeRabbit-on-head check, `introduced`, consolidation, fixed in a9e2a09: `rabbit_on_head` now serves both `side_answered` and the digest. - `scripts/pr_review_digest.py` blind check, `introduced`, consolidation, fixed in a9e2a09: `summary_blind` names it, in the shape `qodo_comments_blind` has. - `scripts/pr_review.py` help text, `introduced`, fixed in a9e2a09: it now names the pair `other_unknown` reads. - `scripts/pr_review_digest.py` policy coverage, `introduced`, consolidation, fixed in 1846462: `covering_bot` in `scripts/pr_review_payload.py` now serves the digest and `pr_review_side.side_reviewers`. `pr_review_rounds.promotion` is a partial match and stays as it is, since it keeps its own unread-default-branch fallback and Copilot `gate` check. Closes on promotion: #3929 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * CodeRabbit summaries that confirm a clean review of the current pull request are now counted as reviews. * When CodeRabbit is covered by the review policy but its review status can’t be determined from the visible comments, the status is reported as unknown rather than unanswered. * CodeRabbit is not required when the review policy excludes the pull request’s base branch. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>

Summary
Corrects
docs/pr-reviewer-reference.mdon CodeRabbit, per the maintainer's #4170 answer (option 1).offtrigger stays acceptable..coderabbit.yamlfrom the head branch, whilepr_review.pyreads the policy from the base.Local review
Four passes ran. The fixes from the first three are in. The fourth found one disagreement outside this claim:
pr-review-conduct"Which Reviewers a Repository Actually Has" says to read reviews rather than comments, and a CodeRabbit clean pass leaves no review. That, andpr_review_side.pycounting review objects only (#3929's code half), stay open under #4170 and #3929.Closes on promotion: #3925
🤖 Generated with Claude Code