Skip to content

CodeRabbit Clean Passes Leave No Review, and It Reads Config From the Head Branch #3929

Done

Description

@ptr727

Two CodeRabbit behaviors seen once repositories moved to explicit review (#3924). pr_review.py and the reviewer reference do not account for either.

  1. A clean CodeRabbit pass leaves no review object. After an explicit @coderabbitai review, CodeRabbit can answer "Review triggered", rewrite its summary comment as a walkthrough, and post "Review finished", with no pull request review and no inline thread. The digest then shows no CodeRabbit round, so a reader cannot tell a clean pass from no pass. This is not a merge blocker, since CodeRabbit never gates. It does affect any round counting or rounds: once bookkeeping that reads review objects.
  2. CodeRabbit reads .coderabbit.yaml from the pull request's head, not its base.
    • A pull request that sets reviews.auto_review.enabled: false is itself skipped on open ("Review skipped: Auto reviews are disabled").
    • A branch cut before such a change still auto-triggers until it is rebased.
    • pr_review.py reads the agent policy from the base branch, so the two disagree for exactly those pull requests.
    • docs/pr-reviewer-reference.md should state the head-branch read.

🤖 Generated with Claude Code

Activity

  1. added
    documentation
    on Nov 7, 2026
  2. ptr727 commented on Nov 13, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-22): the branch burndown/reviewer-reference-coderabbit merged as #4337 and is deleted from the remote, so this claim holds no files.

    Backlog burndown claim (round 6, group 3, away mode): branch burndown/reviewer-reference-coderabbit.

    Issues: #3925, #3929 (the reviewer-reference half; any change to scripts/pr_review.py round counting is outside this claim).

    Predicted file set:

    • docs/pr-reviewer-reference.md
    • docs/pr-reviewer-evaluation.md
    • repo-config/central/coderabbit/README.md

    Parked on #4170 (decision). Local branch only, unpushed, worktree left standing; see the state comment.

  3. ptr727 commented on Nov 13, 2026

    @ptr727
    OwnerAuthor

    Parked on #4170 (decision). Done: edits to docs/pr-reviewer-reference.md (private-repo wording, clean pass leaves no review object, .coderabbit.yaml read from head per CodeRabbit's yaml-configuration doc). Branch burndown/reviewer-reference-coderabbit, local only, unpushed, no PR. The worktree /home/pieter/repos/worktrees/ProjectTemplate-reviewer-reference-coderabbit is left standing with 2 unreviewed local commits (the push is blocked until a local review pass is recorded; two review rounds found the problems listed in #4170). Remaining: the decision, the four wording fixes, and the out-of-claim pr-review-conduct and pr_review_side.py disagreements, all listed in #4170. #3929's code half stays open.

  4. ptr727 commented on Nov 22, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-22): the branch burndown/reviewer-reference-coderabbit merged as #4337 and is deleted from the remote, so this claim holds no files.

    Backlog burndown claim (round 3, 2026-11-22, resuming): branch burndown/reviewer-reference-coderabbit (existing, unpushed, at a32235c2; its idle worktree was retired clean). Predicted files: docs/pr-reviewer-reference.md, docs/pr-reviewer-evaluation.md, repo-config/central/coderabbit/README.md. Resumed per the maintainer's 2026-11-22 answer on #3925 and his #4170 answer of 2026-11-16 (option 1). No other group may edit these files while this claim stands.

  5. ptr727 commented on Nov 22, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-22): the branch merged as #4351 and was cleaned up, so this claim holds no files.

    Backlog burndown claim (round 4, group 5, 2026-11-22): branch burndown/r4-reviewer-clean-pass, issue #3929 (code half).

    Predicted files: scripts/pr_review_side.py, tests/test_pr_review_policy.py, docs/pr-reviewer-reference.md, scripts/README.md.

  6. ptr727 commented on Nov 22, 2026

    @ptr727
    OwnerAuthor

    State after #4351 (round 4 backlog burndown, 2026-11-22).

    • Done: scripts/pr_review_side.py now reads a CodeRabbit clean pass from its summary comment (clean_pass). side_answered treats a clean pass on the head as an answer, and side_rounds counts it toward a round cap.
    • Done: item 2, the base-branch versus head-branch config read, asked for no code fix. Correct the Reviewer Reference on CodeRabbit in Private Repositories #4337 documented it.
    • Remaining: scripts/pr_review_digest.py's other_reviewed still counts review objects only, so a digest reader cannot tell a clean CodeRabbit pass from no pass. clean_pass is the reader that fix can reuse.

    This issue stays open for the remaining item.

  7. ptr727 commented on Nov 24, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-24): PR #4396 merged to develop at b324fd8; branch and worktree cleaned up, so this claim holds no files. The issue closes on promotion.

    Backlog burndown claim (away run 2026-11-24, round 1, group 8): branch burndown/digest-clean-pass, issue #3929 (the remaining item: the digest's other_reviewed).

    Predicted files:

    • scripts/pr_review_digest.py, where other_on_head builds other_reviewed, so a CodeRabbit clean pass on the head that pr_review_side.clean_pass reads counts beside a review object.
    • tests/test_pr_review.py, the other_reviewed digest tests, with a constructed clean-pass summary on the head and one on an earlier head.
    • docs/pr-reviewer-reference.md, the sentence saying the digest's other_reviewed field still counts review objects alone.
    • scripts/pr_review.py, the other_reviewed help text, and the digest call passing the clean-pass reading to render (grown 2026-11-24).
    • scripts/pr_review_side.py and tests/test_pr_review_policy.py (granted 2026-11-24: a summary-in-view reader beside clean_pass).
    • A new reader module scripts/pr_review_summary.py, tests/test_pr_review_size.py (its ceiling entry), and scripts/README.md (where it lists the pr_review modules) (granted 2026-11-24: the CodeRabbit summary reading moves out of pr_review_side.py, which sits at its line ceiling).
    • scripts/pr_review_payload.py (granted 2026-11-24: a shared (pr, name) coverage helper the digest and side_reviewers use).

    Any other group needing one of these files waits for this branch to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions