Independent guide published by TrackerTools, not CodeRabbit’s official website. We may earn a commission if you sign up through links on this page. Disclosure

CodeRabbit reviews code changes in your pull requests, IDE and CLI.

It summarises each change, comments on specific lines, proposes fixes you can review, and draws on context from the rest of your repository. This guide follows one example change, PR #318, through every stage, with the plan limits next to each feature.

14-day free trial. No credit card required. Plans from $24 per developer/month, billed annually.

acme/storefront · #318 Add partial refundsIllustrative demo
01 · Codesrc/orders/refund.js
7+  if (amount > order.total) {
8+    throw new Error("Refund exceeds order total");
9+  }
10+  await gateway.createRefund(order.chargeId, amount);
11+  await ledger.record(order.id, -amount);
02 · Commentrefund.js · line 10

Potential issue: the amount is sent in dollars, but the gateway expects cents.

A $25.00 refund would reach the payment gateway as 25 cents.

03 · Contextpayments/gateway.js, not part of this PR

export async function createRefund(chargeId, amountCents)

The unit rule lives in a file the diff never shows.

04 · Suggested fixfor you to review
- await gateway.createRefund(order.chargeId, amount);+ await gateway.createRefund(order.chargeId, toCents(amount));
One change, four layers: code → comment → context → fix. Fictional example written by TrackerTools.Inspect the layers in 3D

01 · Review · Pull requestsFrom a code change to feedback you can check line by line.

When a pull request opens, CodeRabbit writes a summary, posts a walkthrough, then comments on specific lines. Many comments include a suggested change. Pick a finding below to see the line it points at, the reason, and what the fix would change.

Explore feature
  • PR summaryA plain-language summary written into the PR description.
  • WalkthroughA comment with changed files, sequence diagrams and suggested reviewers.
  • Inline commentsFindings anchored to lines, labelled by type and severity.
  • Suggested changesDiffs you can commit from the comment where the provider supports it.
  • Incremental reviewsNew pushes are reviewed again; each run counts against your hourly allowance.
  • Review statusOn GitHub, a CodeRabbit check run shows progress; skipped and rate-limited runs are marked as such.
  1. 1Diff
  2. 2Summary
  3. 3Inline comment
  4. 4Suggested fix
acme/storefront#318 Add partial refundsIllustrative demo
src/orders/refund.js+10
1import { orders } from "./repository.js";
2import { gateway } from "../payments/gateway.js";
3+import { ledger } from "../ledger/ledger.js";
4 
5+export async function refundOrder(orderId, amount) {
6+  const order = await orders.findById(orderId);
7+  if (amount > order.total) {
8+    throw new Error("Refund exceeds order total");
9+  }
10+  await gateway.createRefund(order.chargeId, amount);
11+  await ledger.record(order.id, -amount);
12+  return { orderId, refunded: amount };
13+}

Squares in the gutter mark lines with an open comment.

Summary

  • New feature: partial refunds through POST /orders/:id/refund.
  • Bookkeeping: each refund is recorded as a negative ledger entry.
  • Tests: full and partial refunds.

Walkthrough

Adds a refundOrder() service that checks the amount, calls the payment gateway and records a ledger entry, plus a route that exposes it.

route → refundOrder() → gateway.createRefund() → ledger.record()

  • gateway.createRefund() takes amountCents, but amount is compared with order.total, which is stored in dollars.

    Context used: payments/gateway.js (not in this PR).

    + import { toCents } from "../billing/money.js";- await gateway.createRefund(order.chargeId, amount);+ await gateway.createRefund(order.chargeId, toCents(amount));
    Changes this page only.
  • orders.findById() returns null when nothing matches, so order.total on the next line throws instead of returning a clear error.

    Context used: orders/repository.js.

    + if (!order) throw new Error(`Order ${orderId} not found`);
    Changes this page only.
  • Two partial refunds could add up to more than was paid. Compare with the remaining balance instead.

    Context used: orders/model.js (refundedTotal).

    - if (amount > order.total) {+ if (amount > order.total - order.refundedTotal) {
    Changes this page only.
A finding is a claim to check, not a confirmed bug.

Illustrative demo: the repository, code and findings are fictional examples written by TrackerTools to explain the workflow. They are not CodeRabbit output.

A completed review does not mean a change is ready to merge. CodeRabbit can approve automatically only if your team turns on an approval policy, and risk limits can keep higher-risk PRs for people. To see real output, open the public example review CodeRabbit links from its homepage.

Feature facts: inputs, outputs, plans and limits
Problem
Reviewers get a diff without explanation, and costly mistakes slip through when attention runs out.
Input
The PR diff, plus context from the repository, linked issues, guidelines and learnings.
Where and when
On GitHub, GitLab, Azure DevOps and Bitbucket, when a PR opens and again on new pushes. Public repositories with fewer than 10 stars need a manual trigger (@coderabbitai review).
Output
Summary, walkthrough, inline comments with severity, suggested changes, review status.
Example
Line 10 of refund.js sends dollars to a function that expects cents.
Plans and platforms
Essentials and above. Free plan: PR summaries only. Suggested-change commits depend on the provider.
Limits
  • PR reviews per developer per hour: 5, 8, 10 or 12 by plan; incremental reviews count too.
  • 150 files per review on Essentials, 300 on Team and above. On GitHub, larger PRs up to 300 files can be reviewed on usage pricing.
  • Findings can be wrong or unnecessary. People decide what to change and merge.
Docs
Code review overview ↗ · Plans and limits ↗

Start Free Trial (opens in a new tab)

02 · Repository context and Knowledge BaseThe diff shows what changed. Context shows what it breaks.

Line 10 only looks wrong once you know that createRefund() in gateway.js expects cents, and that file isn’t in the pull request. CodeRabbit reviews a diff together with context from outside it. Select a file to see how it connects to the change.

Explore feature

Illustrative demo · six files around PR #318. Orange lines connect the selected file.

src/payments/gateway.js · not changed

createRefund(chargeId, amountCents)

Expects an integer number of cents. The existing nightly job converts with toCents() before calling it.

Comment it explains: line 10 sends dollars.

src/orders/refund.js · changed

refundOrder(orderId, amount)

The change under review. It calls findById(), createRefund() and ledger.record().

src/orders/model.js · not changed

Order.total · Order.refundedTotal

Totals are stored in dollars; refundedTotal records what was already refunded.

Comment it explains: line 7 should compare with the remaining balance.

src/ledger/ledger.js · not changed

record(orderId, delta)

Negative deltas are refunds: the second side effect to consider if the gateway call fails.

src/api/routes/orders.js · changed

POST /orders/:id/refund

Passes req.body.amount straight through and doesn’t check who may refund.

Comment it explains: the security finding in section 08.

src/jobs/reconcile.js · not changed

reconcileRefunds()

An existing caller that already converts with toCents(): the convention the new code should follow.

Which context supports which comment

Illustrative mapping for PR #318. The context source types are documented by CodeRabbit; the files are fictional.
ContextSource typeWhat it supports
createRefund(chargeId, amountCents) in gateway.jsRepository context (outside the diff)Line 10: amount sent in dollars
findById() can return nullRepository contextLine 6: unknown order IDs
refundedTotal in model.jsRepository contextLine 7: remaining balance
“Amounts are integer cents” in AGENTS.mdCode guidelinesLine 10 and later reviews
A team reply about toCents()LearningLater reviews flag raw dollar amounts
Jira ACME-412: “refund part of an order”Linked issueWhether the PR does what the issue asks
A shared money library in another repositoryMulti-Repo AnalysisCross-repository breaking changes

Context sources and their limits

Repository context

Callers and definitions outside the diff. Paid plans.

Multi-Repo Analysis

Link related repositories to catch cross-repository breaking changes. Linked repositories: Free 0, Essentials 1 (manual), Team 5, Advanced 10, Enterprise 20. Team and above can link automatically; on GitLab and Bitbucket Cloud, automatic linking is off by default.

Learnings

Preferences taught in PR chat and applied to later reviews, with a local, global or auto scope. They are stored in CodeRabbit’s Knowledge Base, not used to train models, and can be viewed, edited or removed.

Code guidelines

Reads .cursorrules, CLAUDE.md, AGENTS.md and .claude/rules/ (rules can be scoped with paths). The review summary lists the guideline files it used.

Linked issues

GitHub, GitLab, Jira and Linear issues can be used to check whether a PR addresses its requirements.

MCP servers and web search

MCP connections bring in documentation, design or project tools: 5, 10, 15 or 20 by plan. Web search adds public context.

More context helps, but it doesn’t make a review complete: CodeRabbit can still miss a rule it was never given, or misread one.

Feature facts: inputs, outputs, plans and limits
Problem
Rules that a change must follow often live in files the pull request never touches.
Input
Repository code, linked repositories, learnings, guideline files, linked issues, MCP servers and web search.
Where and when
During PR reviews and chat, and as grounding for Plan, Change Stack and Deep Scan.
Output
Comments that cite the related code, and checks against linked issues.
Example
gateway.js expects cents, which turns line 10 of refund.js into a bug.
Plans and platforms
Knowledge Base on Essentials and above. Linked repositories 1 / 5 / 10 / 20; MCP connections 5 / 10 / 15 / 20.
Limits
  • Opting out of Knowledge Base storage removes stored data, including learnings.
  • Context sources need to be connected and kept current by your team.
Docs
Knowledge Base ↗ · Multi-Repo Analysis ↗ · Code guidelines ↗

03 · Review · IDE, CLI and pull requestCheck the same change while you write, before you push, and on the PR.

Catching line 10 in the editor or terminal saves a review round trip. The pull request review is still there as the shared record.

Explore feature
refund.js · Problems: 1 finding, 2 nitpicksIllustrative demo
10  await gateway.createRefund(order.chargeId, amount);

CodeRabbit · Potential issue · Major

createRefund() expects cents; amount is in dollars.

In the editor, before you commit

  • Review all, committed or uncommitted changes against a base branch you pick; start manually or after each commit.
  • Findings and nitpicks are listed separately, grouped by file (extension 0.25.0, October 27, 2026).
  • Apply suggested change edits the file in place. Fix with AI hands the finding to a coding agent: GitHub Copilot, Cursor, Windsurf, Claude Code, Codex, opencode, Cline, Roo Code, Kilo Code or Augment Code.
  • Editors: VS Code, Cursor, Windsurf, Antigravity and other VS Code-based editors.
  • Free plan: 3 IDE reviews per hour; paid plans 5 to 12. Each review sends the changed files to CodeRabbit.

IDE extension docs ↗

~/storefront · terminalIllustrative output
$ coderabbit review --uncommitted
Reviewing changes against main…

src/orders/refund.js:10  Potential issue
  createRefund() expects cents; amount is in dollars.

src/orders/refund.js:6   Potential issue
  findById() can return null; order.total would throw.

Output simplified for this page. cr is the short alias for coderabbit.

Commands from the CodeRabbit CLI docs and changelog

  • Install (script)curl -fsSL https://cli.coderabbit.ai/install.sh | sh
  • Install (Homebrew)brew install coderabbit
  • Sign incoderabbit auth login
  • Review all tracked changes (committed, staged, unstaged)coderabbit review
  • Only changes you haven’t committedcoderabbit review --uncommitted
  • Compare against a different base branchcoderabbit review --base develop
  • Structured output for a coding agentcoderabbit review --agent
  • Fail a CI step on major or critical findings (CLI 0.9.1+)cr review --gate major

Free plan: 3 CLI reviews per hour; paid plans 5 to 12. When an admin enables usage-based reviews, CLI reviews can continue past the limit at usage pricing. Commands were checked against the docs, not run by TrackerTools. CLI docs ↗

Conversation · #318Illustrative demo

CodeRabbit reviewed and left 3 comments

Walkthrough

Changes · Sequence diagram · Pre-merge checks · Finishing Touches

src/orders/refund.js · line 10

Amount is sent in dollars; the gateway expects cents.

- await gateway.createRefund(order.chargeId, amount);+ await gateway.createRefund(order.chargeId, toCents(amount));

On the pull request

  • Summary, walkthrough, then comments on specific lines.
  • New pushes trigger incremental reviews.
  • Reply in a thread to ask a question or explain why something is intentional.
  • GitHub and GitHub Enterprise show review progress in a CodeRabbit check run (Cloud only); other providers use a commit status.
  • Works on GitHub, GitLab, Azure DevOps, Bitbucket Cloud and Bitbucket Data Center. Some features differ by provider.
Feature facts and recent updates
Problem
Issues found only on the PR cost a round trip, and coding agents write code faster than people can read it.
Input
Local Git changes (IDE, CLI) or the PR diff, compared with a base branch.
Where and when
IDE: while writing, manually or after each commit. CLI: before pushing, in CI or inside an agent loop. PR: when it opens and on new pushes.
Output
Findings with suggested changes; for agents, structured output (--agent); in CI, an exit code (--gate).
Plans and platforms
IDE and CLI on Free (3 per hour) and paid plans. CLI installers for macOS, Linux and Windows.
Limits
Hourly allowances per developer. Local reviews send changed files to CodeRabbit.
Recent updates
  • Oct 27, 2026 · IDE 0.25.0: findings and nitpicks listed separately; Fix with AI can hand off either or both.
  • Oct 21, 2026 · CLI 0.9.1: --gate for CI, skills management, cr usage --agent.
  • Oct 8, 2026 · CLI 0.9.0: cr code manages cloud Coding Agent tasks.
  • CLI 0.7.0 changed the default to all tracked changes and removed older flags such as --plain and --prompt-only.
Docs
CLI ↗ · IDE ↗ · Changelog ↗

04 · Chat, Learnings and configurationAsk about a comment, teach a preference, or write the rule down.

These are three different tools. Chat explains a finding. A learning keeps a preference for later reviews. Configuration and guideline files state rules up front, so every review starts with them.

Explore feature
Ask

Understand a comment

Mention @coderabbitai in the thread to ask why something was flagged or what a fix changes. Nothing is stored as a rule.

Teach

Record a learning

Explain a convention in the thread. CodeRabbit can save it as a learning and apply it to later reviews.

Configure

State the rule

Put rules in .coderabbit.yaml (or .coderabbit.config.ts) and in guideline files such as AGENTS.md.

Thread · refund.js · line 10Illustrative demo
  1. CodeRabbit · Potential issue

    gateway.createRefund() expects amountCents, but amount is a dollar value here.

  2. maya-k · developer

    @coderabbitai Why cents? Our order totals are dollars.

  3. CodeRabbit

    createRefund() in src/payments/gateway.js names its parameter amountCents, and reconcileRefunds() converts with toCents() before calling it.

  4. maya-k

    Right. Everything under src/payments takes integer cents. Please flag raw dollar amounts passed into payment code.

  5. CodeRabbit

    Learning saved

    Amounts passed into src/payments/** must be integer cents, converted with toCents().

.coderabbit.yaml
reviews.profile

chill (default): balanced feedback. quiet: only critical and major high-impact comments inline, the rest grouped in the summary. assertive: more feedback; CodeRabbit notes it may feel nitpicky.

language: "en-US"
tone_instructions: "Be concise. Say why each finding matters."
reviews:
  profile: "chill"
  path_filters:
    - "!**/dist/**"
  path_instructions:
    - path: "src/payments/**"
      instructions: |
        Amounts are integer cents. Flag values passed to
        payment functions without toCents().
knowledge_base:
  learnings:
    scope: "auto"

path_filters include or exclude paths (! excludes). path_instructions add review rules per glob. Keys checked against the configuration reference on October 30, 2026; not run through CodeRabbit’s YAML validator.

Configuration changes what gets flagged; it won’t remove every unnecessary comment. Expect to tune it during the first weeks.

Feature facts: inputs, outputs, plans and limits
Problem
A reviewer that doesn’t know your conventions flags the wrong things and misses the ones you care about.
Input
Thread replies, .coderabbit.yaml or .coderabbit.config.ts (YAML wins if both exist), guideline files, organisation and repository settings.
Where and when
PR threads, the CodeRabbit app, and the repository root.
Output
Answers in the thread, saved learnings, and reviews that follow your rules.
Example
“Amounts under src/payments are integer cents” becomes a learning and a path instruction.
Plans and platforms
Chat and Learnings on Essentials and above. Chat messages: 50, 75 or 100 per developer per hour by plan.
Limits
  • Learnings are stored Knowledge Base data, not model training.
  • Configuration reduces unnecessary comments but doesn’t eliminate them.
Docs
Configuration reference ↗ · Learnings ↗

05 · CodeRabbit Plan and code tasksPlan the change before it’s written. Finish it after it’s reviewed.

PR #318 started as a two-line issue. CodeRabbit Plan turns an issue into a coding plan an agent can follow. After review, separate actions can fix comments, CI, tests or conflicts. Each produces a commit or a PR you review.

Explore feature
  1. Request or issueAn issue from GitHub, GitLab, Azure DevOps, Jira or Linear (@coderabbitai plan), a PRD, a design or a description.
  2. Coding PlanFiles to touch, steps, assumptions and edge cases, grounded in your codebase.
  3. Review and editRefine the plan with your team; earlier versions are kept.
  4. Hand offCopy agent-ready prompts into your agent or IDE, or start a Coding Agent task from the approved plan.
  5. Review the resultThe PR is reviewed like any other. In PR #318, line 10 still needed a fix.
A CodeRabbit coding plan with approach, research, assumptions and phased tasks, next to a discussion panel
Screenshot · real productA coding plan generated from an issueFrom TrackerTools’ full review (July 2026), taken when the feature was called Issue Planner. Plan: Team and above.

Actions after a review: how each one starts and what it delivers

From CodeRabbit’s Finishing Touches, plan and review-command docs and the changelog, checked October 31, 2026. CodeRabbit’s pricing page lists Finishing Touches under Team; the feature docs place Fix comments and docstrings on Essentials, and we follow the feature docs.
ActionHow it startsWhat you getPlanProvidersStatus
Commit a suggested changeFrom the review commentA commit on the PR branchEssentials+Where the provider supports committable suggestions—
Fix comments (formerly Autofix)@coderabbitai fix comments, or the checkbox in a review comment (GitHub)The Coding Agent fixes the unresolved comments you select, once. A commit, or a stacked PR with fix comments stacked prEssentials+GitHub, GitLab, Azure DevOps, Bitbucket Cloud—
Autofix (formerly Autopilot)On a Coding Agent PR, or “Auto Fix” in TriageKeeps fixing review feedback, findings and failing CI until the PR is readyNot stated in the docs we checked—Renamed Oct 14, 2026
Fix CI failures@coderabbitai fix-ci or fix-ci commitA stacked PR (default) or a direct commitTeam+GitHub, Azure DevOpsOpen beta
Generate unit tests@coderabbitai generate unit testsA PR or a commit with testsTeam+GitHub, GitLab, Azure DevOpsOpen beta
Generate docstrings@coderabbitai generate docstringsA separate PREssentials+All, including Bitbucket Cloud and Data CenterOpen beta
Resolve merge conflicts@coderabbitai resolve merge conflictA merge commit that reconciles both sidesTeam+GitHub, GitLab, Azure DevOpsOpen beta
Simplify code@coderabbitai simplifyA new PR or a commitTeam+GitHub, GitLab, Azure DevOpsOpen beta
Custom recipes@coderabbitai run <recipe name>A stacked PR by default, or a direct commit if the recipe says soTeam+ (10 / 20 / 20 per repository)GitHub, GitLab, Azure DevOpsOpen beta
Pre-merge checksEach review; re-run with @coderabbitai run pre-merge checksPass/fail results: built-in (docstring coverage, PR title, description, linked issue) and custom checks in plain languageBuilt-in on paid plans; custom 10 / 20 / 20 per orgAll—
Post-merge actionsAfter merge, once configured; skip with @coderabbitai skip post-merge actionsChangelog updates, tickets, notifications; code changes arrive as a follow-up PRTeam+ (up to 5 per org)All—

Fix comments is a one-off fix of the comments you pick; Autofix is a loop that keeps going until the PR is ready. Each Finishing Touch starts a Coding Agent task. The first turn of Fix comments, Finishing Touches and merge-conflict resolution is free; follow-up turns use agent minutes. Nothing here merges by itself.

A GitHub pull request titled Add docstrings to 6 files, opened by CodeRabbit after docstring generation was requested
Screenshot · real productGenerated docstrings arrive as their own pull requestFrom TrackerTools’ full review (July 2026). You review and merge it like any other change.
Feature facts: inputs, outputs, plans and limits
Problem
Underspecified tickets produce underspecified code, and the last mile of a PR (tests, docs, conflicts) is easy to skip.
Input
Issues, PRDs, designs or descriptions (Plan); review comments, CI results or a recipe (actions).
Where and when
Plan: web app, issue comments, VS Code extension. Actions: PR comments or checkboxes, after a review.
Output
A versioned Coding Plan with agent-ready prompts; commits, stacked PRs or follow-up PRs.
Plans and platforms
Plan: Team and above, for GitHub, GitLab and Azure DevOps repositories (issues also from Jira and Linear). Actions: see the table.
Limits
  • A plan reduces ambiguity; it doesn’t guarantee the implementation.
  • Bitbucket supports fewer actions. Many actions are in open beta.
Docs
CodeRabbit Plan ↗ · Finishing Touches ↗ · Review commands ↗

06 · TriageSee which pull request needs you first, and why.

With dozens of open PRs across repositories, the order they were opened rarely matches what needs attention. Triage ranks one cross-repository queue from P0 to P3, gives a short reason for each, and suggests a next action. Select a PR to see why it is ranked there.

Explore feature
Requires my action3 repositoriesIllustrative demo
    • Two major findings still open
    • Blocks ACME-412, marked High in Jira
    • Touches payment code

    Next action: start your review in Change Stack. Go to Change Stack ↓

    • Small change, checks passing
    • Your review was requested two days ago

    Next action: approve or comment; merge rules would still need required checks to pass.

    • Changes requested four days ago; no new commits
    • Merge conflict with main

    The conflict decides the next action, not the priority: resolve it, or ask the author.

    • No activity for three weeks
    • Its feature flag was removed on main

    Shown in “Close candidates”. Triage doesn’t close PRs by itself; you decide.

Views in the product include Requires my action, All PRs and Close candidates, with search, filters, grouping, list or board layouts and saved views.

What sets the priority

The severity of open findings, the priority of linked Jira or Linear issues, and the work a PR blocks. Failing checks or conflicts change the next action, not the urgency. You can override the priority.

What you can do from the queue

Start a review, fix CI or conflicts, run Auto Fix, refresh a branch, request reviewers, merge or set priority. Git actions run as you, with your provider permissions.

Requirements

Team plan or above and an active Review seat. GitHub Cloud and GitHub Enterprise Server are generally available; GitLab is in beta; Bitbucket and Azure DevOps are also listed. Not available on self-hosted CodeRabbit.

Automation, if you turn it on

Rules can merge low-risk PRs once required checks and reviews pass, close stale PRs after a notice and a 24-hour wait, or auto-fix inactive PRs. Rules are cloud-only: the Triage FAQ lists GitHub Cloud, while the September changelog also names GitLab, so check for your provider. A Slack digest is available.

Feature facts: inputs, outputs, plans and limits
Problem
Open PRs pile up across repositories and queue order doesn’t reflect what needs attention.
Input
Open PRs your Git account can access, review findings, check and conflict status, linked issue priority.
Where and when
In the CodeRabbit app before you start reviewing; a scheduled Slack digest is available.
Output
A P0–P3 queue with reasons, next actions and saved views.
Plans and platforms
Team and above, with an active Review seat. Providers as listed above.
Limits
  • The ranking is guidance; your team still decides what to review and merge.
  • Seat-checked actions include starting reviews, repairs, refreshes, closing PRs and reviewer changes.
Docs
Triage ↗ · Requirements and FAQ ↗

07 · Explain · Change StackRead a large pull request in the order it was built.

Providers list changed files alphabetically. Change Stack groups a PR into numbered layers (foundations first), each with a summary, its files and the findings that belong to it. Switch between the two views below.

Explore feature
Change StackPreviewSnapshot of review run on 4f1c2abIllustrative demo

Flat file list · alphabetical

  • migrations/2026_10_add_refunded_total.sql+6 −0
  • src/api/routes/orders.js+18 −2
  • src/billing/money.js+9 −0
  • src/ledger/ledger.js+4 −1
  • src/orders/model.js+3 −0
  • src/orders/refund.js+10 −0
  • test/orders/refund.test.js+41 −0

The route sits between the migration and the money helpers; the tests come last.

Layers · read top to bottom

  1. Adds refundedTotal to orders so partial refunds can be tracked.

    migrations/2026_10_add_refunded_total.sql · src/orders/model.js

  2. Adds toCents() and fromCents().

    src/billing/money.js

  3. refundOrder() checks the amount, calls the gateway and records a ledger entry.

    src/orders/refund.js · src/ledger/ledger.js

    Potential issue · amount sent in dollars (line 10)

    Potential issue · unknown order IDs (line 6)

  4. Exposes POST /orders/:id/refund to signed-in users.

    src/api/routes/orders.js

    Security · no permission check before refunding (section 08)

  5. Covers full and partial refunds.

    test/orders/refund.test.js

    Refactor suggestion · no test for repeated partial refunds

Reading uses a saved snapshot of one review run. Actions such as commenting, applying a suggestion or merging act on the live pull request, and CodeRabbit refuses to merge from a stale snapshot. Layers are generated for each review and can change between runs.

What works on each provider

From CodeRabbit’s Change Stack provider support page, checked October 31, 2026. Capabilities also depend on plan, write access and snapshot freshness.
CapabilityGitHubGitLabBitbucketAzure DevOps
Read layers, summaries and findingsYesYesYes, signed inYes, read-only
Inline comments and submit a reviewYesYesYesNo
Apply committable suggestionsYesDifferent mechanicsNoNo
Merge or merge queue from Change StackYesNoNoNo
Chat about the changeYesYesYesNo

Security Blast Radius

Maps how a PR’s changes connect to dependencies, downstream consumers, tests and security-relevant paths, inside Change Stack. Part of continuous PR security review: Advanced and Enterprise.

Architecture Impact

Shows where a change sits in the system and overlays security findings. Listed on CodeRabbit’s pricing page for Advanced and Enterprise.

Feature facts: inputs, outputs, plans and limits
Problem
A long PR is hard to read file by file, and the order rarely matches how it was built.
Input
A CodeRabbit review run of the PR (one head commit).
Where and when
From the Review Change Stack button on a review, from Triage, or from a shared link.
Output
Numbered layers with summaries, files, ranges and findings anchored to lines.
Plans and platforms
Core experience on all paid plans; chat and coding-agent tasks on Team and above. Provider differences in the table.
Limits
  • Preview: behaviour may still change.
  • Azure DevOps is read-only; Bitbucket needs authenticated access; merging from Change Stack is GitHub only.
Docs
Change Stack ↗ · Provider support ↗

08 · Secure · SecuritySecurity checks in review, continuous security review and Deep Scan are different tools.

The refund route added in PR #318 lets any signed-in user refund any order. Here is how each part of CodeRabbit would deal with it, and what each one does not promise.

Explore feature
src/api/routes/orders.jsIllustrative demo
24+router.post("/orders/:id/refund", async (req, res) => {
25+  const { amount } = req.body;
26+  await refundOrder(req.params.id, amount);
27+  res.status(204).end();
28+});

Path: POST /orders/:id/refund (external entry) → refundOrder() → gateway.createRefund() (money leaves the business).

Security finding · lines 24–26

Any signed-in user can refund any order, for any amount.

The route never checks the caller’s refund permission or that the order belongs to their store, and the amount comes straight from the request body.

Severity: HighReachability: externalExploitability: trivial
- router.post("/orders/:id/refund", async (req, res) => {- const { amount } = req.body;- await refundOrder(req.params.id, amount);+ router.post("/orders/:id/refund", requirePermission("refunds:write"), async (req, res) => {+ const order = await orders.findForStore(req.params.id, req.user.storeId);+ if (!order) return res.status(404).end();+ const amount = parseAmount(req.body.amount);+ await refundOrder(order.id, amount);

This assumes the app already has a refunds:write permission and store-scoped orders. It closes the gap shown here; it doesn’t prove the route is secure. Keep tests and human review. Severity, reachability and exploitability labels come with continuous PR security review; the values here are illustrative.

  1. FindingA claim with evidence: the path from entry point to sink, CWE, severity, reachability and exploitability.
  2. Suggested fixA proposal. Fix with AI opens a PR or MR as a Coding Agent task; it is never merged automatically.
  3. VerifiedReproduced. Runtime verification gives a Reproducer Guide for your own test environment; Runtime Analysis (closed beta) runs it in CodeRabbit and keeps the evidence.
In every review · paid plans

Analyzers inside the review

CodeRabbit runs linters and security analyzers from its tool catalog, such as Semgrep, OpenGrep, Betterleaks, TruffleHog, OSV-Scanner, Checkov and Trivy. Their findings appear as review comments.

Advanced, Enterprise · open beta

Continuous PR security review

Security findings on every PR with severity, reachability and exploitability, plus Security Architecture Review and Security Blast Radius. On GitHub you can block merging: publish the CodeRabbit Security check (off by default, threshold Critical) and require it in GitHub.

Usage-based on every plan · open beta

Deep Scan

Scans committed source and infrastructure-as-code across a repository for exploitable vulnerabilities and exposed secrets. You see an estimate first and can set a monthly cap. Delta Deep Scans (Advanced, Cloud) recheck changed code between full scans. Deep Scan doesn’t do dependency analysis (SCA) or produce an SBOM.

CodeRabbit itself says its Security product doesn’t prove a repository has no vulnerabilities, and coverage can be partial. Keep your existing security tooling.

Feature facts: inputs, outputs, plans and limits
Problem
Security issues hide in ordinary-looking changes, and a comment alone doesn’t tell you how reachable or exploitable they are.
Input
PR changes (review), committed source and IaC (Deep Scan), optional linked repositories as context.
Where and when
On each PR, continuously on Advanced and Enterprise, and on demand or on a schedule with Deep Scan (schedules: GitHub only).
Output
Findings with evidence, suggested fixes as PRs, runtime verification where enabled.
Plans and platforms
GitHub Cloud and Enterprise Server, GitLab Cloud and self-hosted, Azure DevOps Services, Bitbucket Cloud and Data Center. Runtime verification: GitHub Cloud, enabled organisations.
Limits
  • Open beta. Deep Scan is billed separately, including on Advanced and Enterprise.
  • Runtime Analysis uses agent minutes, separate from Deep Scan.
  • Viewing needs Security read access; running scans needs Security write.
Docs
CodeRabbit Security ↗ · Delta scans ↗ · Runtime verification ↗

Start Free Trial (opens in a new tab)

09 · Coding Agent, Slack and DiscordAn answer, a notification and a code change are three different things.

Chat answers questions and changes nothing. Notifications bring reviews and queues into Slack or Discord. Only a Coding Agent task changes code, and it delivers a commit or a stacked PR for you to approve.

Explore feature
  1. Ask in Slack“Why did last night’s refund reconciliation fail?”
  2. InvestigateThe agent reads the repository and the sources your admins connected, and answers in the thread.
  3. PlanIt proposes a fix; you approve or change the plan.
  4. ImplementA Coding Agent task makes the change in the cloud.
  5. Deliver and reviewA stacked PR or direct commit, pushed with your Git authorization, then reviewed like any change.

Illustrative scenario.

From CodeRabbit’s Coding Agent and Slack docs and the changelog, checked October 31, 2026.
Coding AgentAgent for SlackAgent for Discord
What it doesImplements a request, finding, plan or failing CI check in the cloudInvestigation, planning and code editing from mentions, direct messages and slash commands; scheduled or triggered automationsCodeRabbit in public channels of eligible communities
Who can use itOrganisations that grant access, per starting pointWorkspaces whose admins connect a Git platform and set scopesLimited availability: open-source communities with a public GitHub repository of 1,000+ stars
How code changes landDirect commit or stacked PR, with your provider authorizationThrough Coding Agent tasksPRs authored by the connected user’s GitHub account
Cost$0.40 per agent minute for paid turns, monthly spend cap; the first turn of Fix comments, Finishing Touches, merge conflicts and security Fix with AI is freeAgent minutesUnpaid but capped during launch
Status and providersOpen beta GitHub, GitLab, Azure DevOps, Bitbucket CloudSlackDiscord
Feature facts: inputs, outputs, plans and limits
Problem
Small fixes and investigations interrupt reviewers, and context gets lost between chat and code.
Input
A request, review finding, plan, failing CI check or chat thread, plus repository context.
Where and when
From the Coding Agent app, chat, Finishing Touches, PR fixes, security fixes, approved plans, Change Stack or the CLI (cr code).
Output
Answers (chat), notifications, or a commit or stacked PR (agent task).
Plans and platforms
Usage-based agent minutes. Tasks are visible to the organisation by default; the author can make them private.
Limits
  • Open beta. Access fails closed if it isn’t granted for that starting point.
  • Reaching the spend cap stops new paid turns.
Docs
Coding Agent ↗ · Access and billing ↗ · Agent for Slack ↗

10 · Data, privacy and enterprise controlsWhat happens to your code, in CodeRabbit’s own terms.

These are CodeRabbit’s published statements and settings. TrackerTools hasn’t audited them, and no vendor can promise a system is completely safe.

Processing

Changed files and related code are sent to CodeRabbit for each review, including IDE and CLI reviews. The IDE extension’s privacy page lists what it sends and stores.

Review caching

Source code isn’t kept after a review, except the review cache: on by default, encrypted (except for open-source projects), not used for training, and expires within seven days. Turn it off with reviews.disable_cache: true or in settings.

Knowledge Base and learnings

Learnings and issue or PR context are stored to improve later reviews. knowledge_base.opt_out: true removes that stored data, including learnings; guideline files and web search keep working.

Training

CodeRabbit states that customer code isn’t used to train models.

Certifications

CodeRabbit lists SOC 2 Type II and GDPR compliance. Reports and policies are on its Trust Center.

Enterprise controls

Enterprise adds SSO (SAML, SCIM), custom roles, audit logs, multi-org, API access and self-hosting for GitHub, GitLab, Azure DevOps and Bitbucket Data Center.

Trust Center ↗ · Caching ↗ · IDE data and privacy ↗ · DPA ↗

11 · Who it’s for · What to evaluateDecide with your own pull requests, not ours.

Answer these before the trial, then run it on a repository that represents your real work.

Where do you need reviews?

On PRs only, or also in the IDE, the CLI and coding-agent loops?

Does your Git provider fit?

Triage, Change Stack actions and some finishing touches differ by provider. Check the tables above for yours.

Who owns the configuration?

Someone has to choose the profile, path filters and guideline files, and keep tuning them.

Does your PR volume fit the limits?

Reviews are limited per developer per hour, incremental reviews count, and files per review are capped at 150 or 300.

Do you need Triage, Security or agent tasks?

Triage needs Team; continuous security review needs Advanced; Deep Scan and agent minutes are billed by usage.

Where must data stay?

Cloud with caching and Knowledge Base settings, or self-hosting on Enterprise.

A two-week trial plan

  1. Install on one active, representative repository. Pick a review profile and add one or two known rules to AGENTS.md or path instructions.
  2. Week 1: let it review real PRs. Reply in threads when it’s wrong or right.
  3. Week 2: try IDE or CLI reviews on local changes, one action (Fix comments or unit tests) on a real PR, and Change Stack on your largest PR.
  4. Fill in the scorecard with your team.
Scorecard to fill in yourself. We don’t publish a single score on this page.
CriterionHow to measure
Useful findingsFindings you acted on ÷ all findings
Unnecessary commentsComments resolved or dismissed with no change
Review timePR opened → CodeRabbit review done; time to human approval before vs. during the trial
Fix qualitySuggested fixes accepted without edits; any regressions
Workflow fitFeatures you needed but your provider or plan lacked; team feedback

Benchmarks vary by method and date, and older studies don’t cover newer features like Triage or Change Stack. TrackerTools’ full review lists the benchmarks it uses with their sources. Read the full CodeRabbit review

12 · PricingCodeRabbit plans, prices and limits

USD, per developer per month. Annual and month-to-month prices come from CodeRabbit’s plan documentation; its pricing page shows the annual prices and says annual billing saves 20%. Checked October 31, 2026.

No cost

Free

PR summaries only on pull requests; code reviews in the VS Code extension and CLI at 3 per hour. No credit card.

No cost · public repositories

Open source

Team features for public repositories, with limits that depend on the project’s community. coderabbit.ai/oss ↗

14 days

Free trial

14-day free trial (starts on Advanced by default; you can switch the trial tier during the trial). No credit card required. CodeRabbit’s FAQ describes it as a Team trial; its billing docs say Advanced.

Show prices billed:

Essentials formerly Pro

$24USD per developer / month

Billed annually. $30 if billed month-to-month.

Fits: Teams that want AI review on pull requests, in the IDE and in the CLI.

  • PR, IDE and CLI reviews
  • Chat, Learnings, Knowledge Base
  • Fix comments and docstrings
  • Built-in pre-merge checks
  • Change Stack (core)
  • 1 linked repository
Start Free Trial (opens in a new tab)

Team formerly Pro+

$48USD per developer / month

Billed annually. $60 if billed month-to-month.

Fits: Teams that also want help before and after the review: prioritising PRs, planning work and finishing tasks.

  • Everything in Essentials
  • Triage
  • CodeRabbit Plan
  • Unit tests, merge conflicts, Fix CI, Simplify, custom recipes
  • Change Stack chat and agent tasks
  • 5 linked repositories
Start Free Trial (opens in a new tab)

Advanced

$72USD per developer / month

Billed annually. $90 if billed month-to-month.

Fits: Teams that want continuous security review on every pull request.

  • Everything in Team
  • Continuous PR security review (open beta)
  • Security Blast Radius and Architecture Impact
  • Delta Deep Scans (Deep Scan billed separately)
  • 10 linked repositories
Start Free Trial (opens in a new tab)

Enterprise

Custom

Priced with CodeRabbit’s sales team.

Fits: Organisations that need self-hosting, SSO, custom roles, audit logs or contract terms.

  • Everything in Advanced
  • Self-hosting options
  • SSO, custom RBAC, audit logs
  • Multi-org, API access
  • SLA with a Customer Success Manager
  • 20 linked repositories
Contact CodeRabbit sales

Limits by plan

Per-developer limits from CodeRabbit’s plan documentation, checked October 31, 2026. Rolling hourly allowances, subject to the fair usage policy.
LimitFreeEssentialsTeamAdvancedEnterprise
PR reviews per developer per hour1 (summary only)581012
IDE reviews per developer per hour3581012
CLI reviews per developer per hour3581012
Files per review (after path filters)150150300300300
Chat messages per developer per hour—5075100100
Linked repositories0151020
MCP server connections—5101520
Custom pre-merge checks (per org)—0102020
Custom Finishing Touch recipes (per repo)—0102020

Existing customers moved from Pro+ to Team keep 10 PR reviews per hour. Sustained high volume may adjust under the fair usage policy ↗.

What each plan includes

Feature availability from CodeRabbit’s plan documentation, checked October 31, 2026.
CapabilityEssentialsTeamAdvancedEnterprise
AI code review, Fix comments, docstrings, MCP, built-in pre-merge checksIncludedIncludedIncludedIncluded
Change Stack (core)IncludedIncludedIncludedIncluded
Triage—IncludedIncludedIncluded
Change Stack chat and coding-agent tasks—IncludedIncludedIncluded
Fix CI, CodeRabbit Plan, unit tests, merge-conflict resolution—IncludedIncludedIncluded
Continuous PR security review——IncludedIncluded
Deep ScanUsage-basedUsage-basedUsage-basedUsage-based
Coding Agent minutesUsage-basedUsage-basedUsage-basedUsage-based

Billed separately from seats

  • Usage-based reviews: eligible PR and CLI reviews after you reach your hourly allowance, if an admin enables them (Automatic, On demand or Off).
  • Deep Scan: repository-wide security scans, usage-based on every plan, with an estimate before each scan and a monthly cap.
  • Coding Agent: $0.40 per agent minute for paid turns, with a monthly spend cap. The first turn of Fix comments, Finishing Touches, merge-conflict resolution and security Fix with AI is free.

Usage-based reviews ↗ · Agent minutes ↗ · CodeRabbit pricing ↗

Choosing a plan

Start with the cheapest plan that covers the features you’ll actually use in the trial: Essentials for reviews alone, Team if you want Triage or the finishing actions, Advanced only if you need continuous security review. You can switch tiers during the trial.

QuestionsCodeRabbit FAQ: trial, billing, platforms and data

How does the free trial work?

It is a 14-day free trial and needs no credit card. CodeRabbit’s billing docs say new organisations start on Advanced and can switch the trial tier; its FAQ calls it a Team trial. During the trial, eligible PR reviews over the limit run as free usage-based reviews unless you opt out. Afterwards, choose a paid plan or drop to Free.

What’s the difference between Free, open source and the trial?

Free gives PR summaries plus IDE and CLI reviews at 3 per hour. Open source gives Team features to public repositories. The trial gives 14 days of paid features to a new organisation.

How is billing calculated?

Per developer per month: $24, $48 or $72 billed annually, or $30, $60 or $90 month-to-month, for Essentials, Team and Advanced; Enterprise is custom. Usage-based reviews, Deep Scan and agent minutes are billed separately. CodeRabbit’s pricing FAQ covers which developers count as seats and how seats can be reassigned.

Which Git providers are supported?

GitHub (including Enterprise Server), GitLab (including self-managed), Azure DevOps, Bitbucket Cloud and Bitbucket Data Center. Some features differ: Change Stack is read-only on Azure DevOps, Triage is generally available on GitHub and in beta on GitLab, and Bitbucket supports fewer finishing actions.

Does it work in my editor or terminal?

The IDE extension works in VS Code, Cursor, Windsurf, Antigravity and other VS Code-based editors. The CLI installs on macOS, Linux and Windows. Both are available on Free at 3 reviews per hour, and on paid plans at 5 to 12.

Can I control what it comments on?

Yes, with the review profile (quiet, chill or assertive), path filters, path instructions, guideline files such as AGENTS.md, and learnings. That reduces unnecessary comments but won’t remove all of them.

What happens to my code?

CodeRabbit says it doesn’t keep source code after a review, except for the review cache (on by default, encrypted except for open-source projects, expiring within seven days, optional), and that customer code isn’t used for training. Learnings and other Knowledge Base data are stored unless you opt out.

Which plans include CodeRabbit Security?

Analyzers run inside reviews on paid plans. Continuous PR security review is on Advanced and Enterprise. Deep Scan is usage-based on every plan. CodeRabbit Security is in open beta.

Does it replace human reviewers?

No. It’s a first pass that flags issues and proposes fixes. Automatic approval only happens if your team sets an approval policy, and people still judge design, intent and trade-offs.

Is this CodeRabbit’s website?

No. TrackerTools, an independent review site, publishes this page. Links to CodeRabbit’s sign-up are affiliate links, so we may earn a commission if you subscribe.

Follow your next change through a review.

Run the trial on a real pull request, tune it for a week, and decide with your own findings.

14-day free trial. No credit card required.

Feature facts

Feature facts

Checked against CodeRabbit’s documentation and pricing page, October 30–31, 2026.

The review layers in 3D

Illustrative model

Drag to rotate. The orange thread is the same change passing through each layer: the line of code, the comment, the context and the fix.

See line-level findings with suggested fixes, using context from the rest of your repository.

14-day free trial. No credit card required.

Start Free Trial (opens in a new tab) Affiliate link: TrackerTools may earn a commission if you sign up, at no extra cost to you.