Software factories and code reviews with Harjot Gill
CodeRabbit CEO Harjot Gill shipped over 5,000 pull requests in a month while spending $250,000 on AI.
CodeRabbit CEO Harjot Gill shipped over 5,000 pull requests in a month while spending $250,000 on AI.
One thoughtful comment that is not AI-assisted unlocks the ability to create threads.
I've struggled w/ this and helped several orgs struggle w/ this, so I feel it... it's tough when
you don't have control over the system prompting or CodeRabbit "harness"
it doesn't get a sandbox where it can confirm findings and readily assess "does it matter?"
it takes time and human review rounds to assess how those reviews are going... gotta dial it in, right?
-> for that, my favorite review loop (after many iterations) has been local and can be clouded: my SDLC is
discover + design+plan (invoke api/system design/ux/etc skills here)
review pass (typically 2-3 independent agents wearing different lenses but same skills, including an adversarial) -> have orchestrator verify findings to rock-tumble wrong/phantom ones
execute -> review per plan task
final review pass (this can be CI / Entire trail etc) -> close/merge
The secret is in the review instructions, combined with refined behavior/outcome testing and modular build approaches (re code skills from my expertise), to prevent it from always finding things and taking forever to execute. Having it classify + auto-fold findings during the process so that the final one is just a gate verifier has helped keep merge confidence up and bugs/debt down, too! "Removing the problem class", as they say
That's true. Even for automated factories with custom models. I've been implementing something myself for code reviews using GitHub Actions and Gemini, and the biggest issue was exactly this: that it somehow felt the need to comment even on PRs with low value. I've been experimenting with a scoring technique that looks at if the PR is from a contributor with existing merged PRs if the PR is from someone who is a collaborator on the GitHub repo and then scoring on what files does the PR change and if there is any critical path affected from the changes.
I'd love to know what you think about it, looking at the last few PRs: code-with-ahsan PR 389 (github.com)
I really loved CodeRabbit's reviews. But then their infrastructure started to lag a bit. I moved away from that and now use a set of skills/internal plugins to do review. I'm not sure if there's lift in the 3rd party version. (honest question)
It's a good question! If you trust them as a vendor to iterate and improve their review system to tailor well to your eng best practices (or are nowhere near as advanced in it), it's a great way to start for a good while
But I do think the control and ability to really iterate on it, grow the review context/knowledge and scale it across the orgs is even more valuable
Take the work I do with Entire as a replacement for GitHub -> they have agent reviewers that run for their Trails (like PRs but agentic/faster w/ same governance + captures session context), but I find that injecting my own curated trail reviews alongside those does an even better job at reaching a confident implement in fewer steps, and I get to own that e2e! That savings and flex is where all the value is cuz I can ship durable changes 30-50% faster for the same token burn on avg
Meta-level note: I think Gergely is a sneakily very good podcaster. He has a lot of credibility and knowledge, and he does a good job of basically going along with the subject's point of view while eliciting nonobvious insights from them. It's definitely not a hard-hitting interview show (a la Dwarkesh or Tyler Cowen), but he really does manage to get his subjects to say pretty useful and interesting things.
Also, quantity is underrated and he's putting out just a whole lot of useful shows lately.
the sheer scale of agentic work done over there is mad-science curious... Is anyone else operating at this scale, looking to business output for justify over $k/mo/engineer enterprise budgets?
Type of thing I'd put to work on my verification layers when I get the budget & rationale...
I think we peaked at ~$10k/engineer (across 3 engineers at TLDR) when almost all usage was on Fable 5, but Opus 5.5 has cut that bill dramatically, now our total monthly spend token spend is between $10k-$20k for the whole team (including $100/month Claude seats for everyone).
I’d be curious why you don’t look at using cheaper models, depending on the task. Terra is fantastic for engineering work, while using Opus for higher level things. But a huge cost saver really. I end up spending more on terra for all the implementation work.
Curious what things you measured internally to make the decision to switch back to Opus 5.5 from Fable? Feel like it’s hard to downgrade as a team even if cost difference is huge.
Tbh I think Opus 5.5 was an upgrade from Fable 5 in basically every way! I also think many engineers underrate how much latency matters to nontechnical users, many of our nontechnical folks actually default to Sonnet for speed.
I hope Opus continues on this path! I haven't gone back to Fable after Opus 5.5 came out and actually thinks it's in the goldilocks region as of now. I'd like to start opening my workflows up to more and more open source llms and seeing if by having more iterative loops I can continue with Opus like or 1 tier below quality
We use CodeRabbit reviews. My issue with them is that like many engineers, with each new review it feels the need to find something to say, even if it's low value. I wish it did a better job classifying what's actually important. It also misclassifies the "effort" level to implement much of its feedback.