Skip to content

chore(ci): tune CodeRabbit review budget to stay under plan limits - #93

Merged
zaridan merged 1 commit into
mainfrom
chore/ci-coderabbit-review-budget
Jul 19, 2026
Merged

chore(ci): tune CodeRabbit review budget to stay under plan limits#93
zaridan merged 1 commit into
mainfrom
chore/ci-coderabbit-review-budget

Conversation

@zaridan

@zaridan zaridan commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Why

Pro Plus is not unlimited. CodeRabbit applies adaptive per-developer limits once recent review activity hits the 95th percentile among its users. We crossed that on 2026-07-19 — 15 PRs merged in one day — and #92 went entirely unreviewed as a result.

The part that matters: its status check still reported pass / Review completed. A skipped review is indistinguishable from a clean one. @coderabbitai review was also a no-op, since it counts the rate-limited run as having already reviewed the commit.

Usage-based billing is deliberately not enabled, so the only lever is volume.

What changed

Two narrow settings in a new .coderabbit.yaml:

Setting Effect
auto_incremental_review: false Default re-runs a full review on every push. Our rebase-on-CodeRabbit-feedback loop burns 3–4 reviews per PR for one set of findings. Now one review per PR — no loss of coverage.
ignore_title_keywords: ["chore(ci)", "docs(status)"] Mechanical PRs with nothing for a reviewer to find (#89 gitleaks allowlist, #83/#91 STATUS refreshes). Narrow substring matches — chore(engine) and docs(modules) still get reviewed.

Since the limit is a rolling window, roughly halving consumption should get us back under it.

What deliberately did not change

Specs stay in review scope. The obvious saving would be excluding docs PRs, but the evidence says that's backwards: #87 was docs-only and CodeRabbit found nine real defects — CSRF on key rotation, license↔module binding, webhook idempotency keyed on the wrong field. Prose in this repo carries engineering substance; that's where the review earns its cost.

Verification

  • Config validated against CodeRabbit's published JSON schema with ajv-cli (draft2020) → valid. Both key names confirmed against the schema rather than written from assumption; the schema sets additionalProperties: false, so a wrong key would be a hard error.
  • No .coderabbit.yaml existed before this — the rate-limit comment confirmed Configuration used: defaults.

Note

Policy point that outlives this config: the CodeRabbit check should not be treated as a merge gate. Even tuned, a heavy day can exhaust the limit and the check still renders green. The real gate is the tiered review escalation in .claude/rules/delegation-ladder.md.

Also worth flagging: this PR's own title starts with chore(ci), so once merged, future PRs like it skip review. That's intended, but it means this file's future changes won't be bot-reviewed.

🤖 Generated with Claude Code

Our Pro Plus plan is not unlimited — it applies adaptive per-developer
limits once recent activity reaches the 95th percentile among CodeRabbit
users. We crossed that on 2026-07-19 (15 PRs merged in a day). PR #92
was never reviewed as a result, and its status check still reported
"pass / Review completed": a skipped review is indistinguishable from a
clean one. Usage-based billing is deliberately not enabled, so the lever
is volume.

Two changes, both narrow:

- auto_incremental_review: false — the default re-runs a full review on
  every push, so our rebase-on-feedback loop burns three or four reviews
  per PR for one set of findings. One review per PR, no loss of coverage.
- ignore_title_keywords: chore(ci), docs(status) — mechanical PRs with
  nothing for a reviewer to find. Deliberately narrow substring matches
  so chore(engine) and docs(modules) are still reviewed.

Specs stay in scope on purpose: PR #87 was docs-only and CodeRabbit found
nine real defects in it. Prose in this repo carries engineering substance.

Config validated against CodeRabbit's published JSON schema (ajv,
draft2020) rather than written from assumption.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (2)
  • chore(ci)
  • docs(status)

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

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 1b7aa8e1-8975-4a47-aa50-d052ff814352

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/ci-coderabbit-review-budget

Comment @coderabbitai help to get the list of available commands.

@zaridan
zaridan merged commit 5dfec1a into main Jul 19, 2026
5 checks passed
@zaridan
zaridan deleted the chore/ci-coderabbit-review-budget branch July 19, 2026 22:21
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.

1 participant