r/coderabbit • • Oct 27 '26

Official Update New in CodeRabbit Secure: cross-repo vulnerability tracing

7 Upvotes

Deep Scan can now trace vulnerabilities across your linked repos and replay exploits in a throwaway sandbox to verify they're real before flagging them.

https://www.coderabbit.ai/blog/coderabbit-secure-cross-repository-security


r/coderabbit • • Oct 21 '24

Welcome to CodeRabbit Reddit Community

4 Upvotes

Hello :wave:

Welcome to CodeRabbit's Reddit Community.

We are super glad to have you here, please consider joining our community and participating in active discussions related to Pull Requests, Code or anything else.

We have a active discord server of 2.5k devs where we run weekly events, developer office hours and more!


r/coderabbit • • 8h ago

Discussion & Feedback We spend more on reviewing agent code than on the agents

8 Upvotes

Did the math for our finance team last week. 14 engineers.

Agents: about $6,200 a month across everyone.

AI review: a few hundred a month for coderabbit on all repos.

Human review time: our two most senior people spend roughly 25 hours a week each just reviewing agent PRs. At their salary that's about $19,000 a month of review, before anyone else's time.

So the "cheap" part of AI coding is the agent. The expensive part is the human at the end who has to understand what it wrote.

Finance asked if we can cut review time. I asked if they'd like to cut the part that stops prod from going down.

Has anyone actually measured this? What's your agent bill vs your review hours?


r/coderabbit • • 3h ago

Discussion & Feedback Our org's PRs just get forgotten

2 Upvotes

I checked the open PRs and issues across our team's top 100 repos, to see where work gets stuck and how we can solve it.

I had a hypothesis that code review must be problem and it takes so long time. But it turns out reviews are fast: when a PR gets reviewed, it takes about 40 minutes. The real problem is, apparently, PRs and issues just get forgotten.

Some more findings:

  • 47% of open PRs have not moved in 2 weeks and 56% were never reviewed at all
  • 15% of open PRs were approved, but nobody merged them
  • 51% of open issues have not been touched in 3 months

This was interesting for me to see. Would love to hear if anyone here has seen the same thing in their team, what problems it causes, and what helped. Good experiences with bots (and which) and bad experiences (and why?)


r/coderabbit • • 4h ago

Showcase & Tutorial I distilled Boris's 28-minute Claude Code guide into one /claude-ready setup skill instead of a 400-line CLAUDE.md (open-source repo)

0 Upvotes

After watching Boris's 28-minute Claude Code prompt guide, I noticed two things people keep getting wrong when they try to apply it:

  1. They stuff everything into CLAUDE.md and custom slash commands. Half of that talk is human ergonomics (shortcuts, dictation, --worktree) or features Claude Code already handles natively (/verify, /code-review, /ship, /init, /doctor). Putting all of that into CLAUDE.md just burns context and after compaction, long prose rules get ignored anyway.
  2. They put hard guardrails in prose instead of settings.json. Telling Claude "don't touch .env" in CLAUDE.md is a suggestion; putting Read(./.env) in permissions.deny and typechecks in a Stop hook (exiting 2 to stderr) is actually enforced by the harness.

So I built a minimal, manual-only setup skill (/claude-ready) and a set of copy-paste templates in one repo:
https://github.com/shifulegend/claude-ready

What it does when you run /claude-ready in any project:

  • Read-only audit first: Checks your manifests (package.json, pyproject.toml, Makefile, Cargo.toml, go.mod), existing .claude/ config, and sensitive paths—then stops and asks 3–5 questions before touching a single file.
  • Lean non-deterministic layer: Generates a <80-line CLAUDE.md (only commands and non-obvious gotchas) plus path-scoped .claude/rules/\*.md files so domain rules only load when editing matching files.
  • Deterministic layer: Scaffolds .claude/settings.json with safe allow rules (no npx or docker exec wildcards), .env / secrets/\*\* deny rules, a PostToolUse formatter hook, and a Stop verification hook guarded with stop_hook_active.
  • 1-page cheat sheet: Moves all the outer-loop stuff (claude -p, --worktree, terminal shortcuts) into playbooks/cheatsheet.md so it never wastes a single token in your repo context.

Where do everyone else land on this:

  • Do you still rely on CLAUDE.md rules to keep the agent in bounds, or have you moved your non-negotiables into settings.json hooks and deny rules?
  • What's the one rule you wish you'd automated on day one instead of repeating in chat?

r/coderabbit • • 1d ago

Discussion & Feedback Test coverage went from 61% to 94% and we have more bugs than ever

39 Upvotes

Genuinely confused. Since the agents started writing tests with every PR our coverage went from 61% to 94% in about 3 months. The dashboard looks incredible.

Production bugs in the same period went from about 6 a month to 11.

So either the tests test the wrong thing, or the agent writes the test to match the code it just wrote so of course it passes, or coverage was always a fake number and we just never noticed, or the agent PRs are bigger and riskier and tests can't keep up.

Not trolling, I honestly can't tell which one it is. Maybe all four.


r/coderabbit • • 18h ago

Discussion & Feedback A bug that isn't in the diff: how do you make sure AI (and human) reviewers catch cross-file impact?

1 Upvotes

A small puzzle that shows what reviewing a diff can and can't see. Here is the only file the PR changes:

# pricing.py  (changed in the PR)
def discount_for(tier):
    # BEFORE: returns a fraction (0.10 = 10%)
    # AFTER:  returns a percentage (10 = 10%)
    return {"basic": 0, "plus": 10, "pro": 20}[tier]

The PR description says: "Make discount values easier to read in config: use percentages." Locally it looks reasonable and the change is tiny.

Where's the bug? It isn't in this file. It's in a caller that the PR doesn't touch:

# checkout.py  (not in the diff)
from pricing import discount_for

def total(price, tier):
    return round(price * (1 - discount_for(tier)), 2)

Running it:

basic 100
plus  -900
pro   -1900

A 10% discount turns a 100 price into -900. The tests for pricing.py would pass if they were updated to match the new values, and the diff alone wouldn't show who relies on the old meaning.

What the example suggests to me, as a developer thinking about review workflows:

  • A change of meaning (units, scale, nullability, ordering) is riskier than a change of syntax, and it often leaves no trace in the diff.
  • Whether a reviewer, human or AI, can catch it depends on whether it looks at callers outside the diff. I don't know how well any specific tool does this, and I'd like to hear actual experiences.
  • Some habits that seem to help regardless of the reviewer: PR descriptions that say what contract changed, a search for usages before merging a signature or semantics change, and a test at the caller's level (here a total() test would have failed immediately).
  • Types or naming can help: discount_percent vs discount_fraction would have made the change visible in the call sites.

Questions for people using AI review:

  1. Has an AI review caught a problem like this, outside the changed files, or does it mostly comment on the diff?
  2. Do you add anything to the PR (a list of callers, a note on what contract changed) to help it?
  3. Which kinds of cross-file bugs still need a human in your experience?

r/coderabbit • • 2d ago

Discussion & Feedback Our CTO wants to replace our only QA with AI tests

56 Upvotes

We're 12 engineers and one QA, Maria, who has been here 5 years and knows every weird edge case in the product.

Last week the CTO said the agents write tests with every PR now, coverage is at 91%, and her role "might not be needed next year".

In the last month Maria caught 7 bugs before release. I went back and checked, 5 of them were in code that had passing generated tests. The tests checked that the code did what the code does, not what the customer needs.

The AI review on our PRs is good at code problems. It doesn't know that a refund can't exceed the original payment in Brazil.

How do I make this case without sounding like I'm just protecting a friend? Has anyone seen a team cut QA because of AI tests and how did it go?


r/coderabbit • • 1d ago

Discussion & Feedback Can't it just wait 2 seconds and then review?

Post image
4 Upvotes

r/coderabbit • • 3d ago

Discussion & Feedback What's the dumbest thing an agent did that still passed review?

1 Upvotes

I'll start. Asked it to make a flaky test stable. It added a retry around the assertion. 5 retries. The test now passes 100% of the time because it eventually just catches the one run where the race condition doesn't happen.

Two of us approved it. coderabbit actually commented "retrying an assertion may hide a real failure" and we resolved it as "it's fine, it's a test".

It was not fine, it was the bug.

What's yours?


r/coderabbit • • 3d ago

Discussion & Feedback How much do you spend on Coderabbit?

Post image
5 Upvotes

r/coderabbit • • 4d ago

Discussion & Feedback we ship 3x more PRs and the roadmap is later than ever

5 Upvotes

genuinely don't get this. we went from about 120 merged PRs a month to over 350 since everyone started running agents. by every metric we're way faster.

and yet the Q4 roadmap is 6 weeks behind, the worst it's been since I joined.

so is it that half those PRs are fixing the other half, that the PRs are smaller so the count is fake, that review and QA became the bottleneck, or that we just started doing more stuff nobody asked for because it's cheap now?

I honestly think it might be the last one


r/coderabbit • • 5d ago

Discussion & Feedback one 2,000 line agent PR or ten 200 line ones?

2 Upvotes

our team can't agree on this so settling it here.

same feature, same agent. option A: one 2,000 line PR with everything. option B: ten 200 line PRs that depend on each other and land over two days.

A people say at least you see the whole picture once. B people say nobody actually reads 2,000 lines and small PRs get real review.

my problem with B is that each of the ten looks fine on its own and the bug is in how they fit together. my problem with A is that I start skimming around line 400.

which one, and why?


r/coderabbit • • 6d ago

Discussion & Feedback TIL Coderabbit uses GPT-6.1 Sol as its primary model

Post image
2 Upvotes

r/coderabbit • • 6d ago

Help & Support Our agent bill went from $900 to $11,000 and nobody knows why

1 Upvotes

In July we spent about $900 a month on coding agents for a team of 9. This month it's a little over $11,000. Nobody approved that, it just grew.

Finance asked what we got for it. Honest answer:

- PRs merged went from about 110 to 290 a month

- reverts went from 4 to 15

- the roadmap moved maybe 2 weeks faster, if you're generous

- review time went way up, coderabbit catches the easy stuff but the seniors still read everything that touches money

So we spend 12 times more and get maybe 20% more done. Or we get a lot more done and I can't measure it.

How are you justifying agent spend? Does anyone have a number finance actually believes?


r/coderabbit • • 7d ago

Discussion & Feedback Thoughts?

Post image
3 Upvotes

r/coderabbit • • 7d ago

Discussion & Feedback what's the weirdest thing you've seen in an agent's PR description?

0 Upvotes

mine from this week. a 9 line config change, description was 600 words with a "Risk Assessment" section, a "Rollback Plan" and a mermaid diagram. of a timeout value going from 30 to 60.

second place: an agent PR that said "all tests pass" in the description. there were no tests. coderabbit literally commented that no tests were added and the description still claimed they passed.

what have you seen?


r/coderabbit • • 7d ago

Discussion & Feedback Does AI code review make the quick-fix vs. proper-fix call for you — or just make the quick fix look cleaner?

1 Upvotes

Something I've been chewing on since we started using AI code review on our PRs: the tool is genuinely good at catching the local problems in a quick fix, a missing null check, an off-by-one, a swallowed exception. What it doesn't seem to have an opinion on is whether the patch should exist at all.

So a quick fix comes back with a clean review, a few nits fixed, and it feels more legitimate than it did before. But the thing I actually wanted a second opinion on, "is this hack going to become load-bearing in three months?", is exactly the thing it can't see, because that context lives in the ticket, the deadline, and the team's memory, not in the diff.

Curious how others are handling this. A few things I'm trying to figure out:

  • Does a passing AI review change your threshold for shipping a quick fix? I suspect it quietly lowers mine, which worries me.
  • Can you prompt or configure the review to flag "this looks like a workaround, is there a follow-up?" or is that wishful thinking?
  • Does it help with the follow-up problem at all, does anything in your workflow actually make sure the "we'll fix it properly later" gets revisited, or does the clean review make it less likely to be remembered?
  • For the people doing proper fixes over quick ones, does the AI reviewer ever push you the other way, toward a smaller patch?

I'm less interested in which tool is best and more interested in whether AI review changes how teams make this tradeoff, or just how the tradeoff looks. Thanks.


r/coderabbit • • 8d ago

Discussion & Feedback Coderabbit CEO's personal token spendings are north of $250k

2 Upvotes

r/coderabbit • • 8d ago

Help & Support My lead approves every PR in 5 minutes because "the bot checked"

2 Upvotes

I pulled the numbers out of curiosity. Last month our tech lead approved 84 PRs. Median time from "review requested" to "approved" was 4 minutes. Some of those PRs were over 1,000 lines.

When I asked about it he said coderabbit already reviewed it and CI is green, so his job is just to check the overall direction.

Except two of the bugs we shipped last month were in PRs where coderabbit left a comment that nobody answered. He approved anyway.

He's a good engineer and I like him. I'm also two years in and he does my performance review. Do I say something, and if so how, without it sounding like I'm accusing him of not doing his job?


r/coderabbit • • 9d ago

😂 Meme & Humor Change my mind

Post image
2 Upvotes

r/coderabbit • • 10d ago

Discussion & Feedback more reviewers on every PR than ever, and nobody understands the codebase

3 Upvotes

we went from 1 required approval to 2, plus coderabbit, plus a security bot on anything touching auth. every PR now gets more eyes than ever.

and when something breaks, nobody on the team can explain how that part of the system works. last incident took 3 hours to find, and all 4 people on the call had approved PRs in that exact module.

so is it that review was never how people learned the system, that 2 approvers means each one reads half, that the bots make us lazier, or that you just can't understand code you didn't write no matter how many times you approve it?


r/coderabbit • • 12d ago

Discussion & Feedback my manager says reviewing PRs isn't "real output" for promotion

18 Upvotes

had my mid-year review. I spent roughly 60% of this half reviewing agent PRs for the team, caught two things that would have taken prod down, one was a migration dropping a column we still read.

my manager's feedback: "great reviewer, but we need to see more of your own output for senior."

my own output. the agents write the code now. reviewing it IS the output. if I stopped reviewing, the team's PRs would merge with whatever coderabbit didn't catch and nobody else would look.

so how is your company counting review work? is it in your promo packet, or is everyone just quietly doing it for free?


r/coderabbit • • 12d ago

Official Update Introducing CodeRabbit Verify

4 Upvotes

Your agent opened a PR and the unit tests are green, but does the app actually work? That’s the gap Verify is going after.

TL;DR: CodeRabbit now boots your app in a sandbox and clicks through it to catch functional bugs before your users do.

  • PR testing: it builds scenarios from the PR’s commits, your code, docs, and existing tests, runs them against the live app, and posts the results in the PR.
  • Regression journeys: it reads your repo and suggests user flows in plain English. You approve the ones you want and run them on demand or on a schedule. It can also auto-file Jira or Linear issues.
  • Zero env setup: it handles dependencies and services itself and keeps everything off prod.
  • Fixing: every failure comes with recordings, screenshots, and logs. You can send it to CodeRabbit Agent or export it as Markdown for whatever agent you use.

Fav example from the post: a coupon shows the $100 order as $80 at checkout, but the recorded charge is still $100. A “did the coupon apply?” test would sail right past that.

PR runs, journey runs, and fixes are all free during the beta. To try it, comment '@coderabbitai verify' on any PR.

Blog: https://www.coderabbit.ai/blog/introducing-coderabbit-verify
Docs: https://docs.coderabbit.ai/verify

Drop what it catches (or misses) in the comments 👀


r/coderabbit • • 13d ago

Discussion & Feedback revolut cut its coding AI bill by 90%. would you spend it on review?

2 Upvotes

the revolut numbers are wild if they're true. self hosted GLM as the default for ~2,000 engineers, about 90% cheaper than what they were paying, frontier models only for the hard stuff.

the part I keep thinking about: if writing code gets 10x cheaper, does the money just move to review? cheap model writes everything, then you put the expensive model and coderabbit on the PR, and the humans only look at what those flag.

we kind of do a small version of this already. a cheaper model for most tickets, the expensive one only when it gets stuck, review stays the same no matter who wrote it. it's fine on boring tickets. on anything touching billing the cheap model's PRs get roughly twice the review comments.

so where would you put the money, the writer or the reviewer? or is "cheap writer, expensive reviewer" just paying twice for the same PR?