Skip to content

feat: preserve review count across handoff - #458

Open
huang47 wants to merge 1 commit into
codex/cursor-count-supersededfrom
codex/cursor-preserve-rounds
Open

huang47 wants to merge 1 commit into
codex/cursor-count-supersededfrom
codex/cursor-preserve-rounds

Conversation

@huang47

@huang47 huang47 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Taking a label off a pull request currently starts its automatic review count over. Callers can choose to keep the previous count so that the same reviews do not disappear from the budget.

Motivation

Some review budgets need a human handoff without silently granting another set of automated rounds. Existing callers keep their reset behavior by default.

Provenance

  • Authored by: interactive session
  • Verified: Cursor review suite passed 1,757 tests, including both directions of the handoff guidance change. Workflow documentation and pin suite passed 551 tests (43 skipped). Workflow pin, agent-instruction and repository-literal checks passed. Local actionlint reported the same 98 diagnostics as the base, with no new diagnostics.
  • Deviations: This preserves the existing poster's delivered-review history; it does not count undelivered panels, serialize concurrent runs, prevent deletion or identity changes, or cover other review systems. Current-head CI passed; CodeRabbit was skipped. A live caller run is not verified.

Reviewer context

Summary

  • Add an opt-in to retain the review count when the handoff label is removed.
  • Show accurate handoff guidance for each policy and avoid treating a comment for the other policy as the current notice.

Test plan

  • Verify removal of the handoff label preserves the count when the option is enabled.
  • Verify the default still resets the count and shows matching guidance.

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 9a4d1557-ac18-46d9-bcf8-6b20c46dbe6d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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