News for hackers. Stuff that matters.
Re:How the Claude Code team does code review by rileymichael on Friday October 16, 2026 @04:11PM (#50123907)
what are people using for automated code review these days? the claude code review product originally mentioned it cost "$15-25 per review" (which is absurd), but it seems like they've removed that from their docs with the launch yesterday. we've looked at various products in the space (coderabbit, greptile, etc.) but have gripes with each.

honestly i'm thinking it might be easier (and cheaper) to launch our own agent from GH webhooks and trigger `/code-review`..

Re:How the Claude Code team does code review by warkdarrior on Friday October 16, 2026 @04:26PM (#50124129)
> the claude code review product originally mentioned it cost "$15-25 per review" (which is absurd)

If an engineer paid $150,000 a year reviews some code manually for about 30 minutes, the cost of their time is about $36.

Re:How the Claude Code team does code review by rileymichael on Friday October 16, 2026 @04:34PM (#50124269)
in a vacuum, sure. the average pull request will have multiple commits once opened (i.e. to address feedback or perhaps it was opened too early), each triggering a review. it's very easy to rack up $100+ per pr (and an eng may open a dozen prs in a single day)
Re:How the Claude Code team does code review by walthamstow on Friday October 16, 2026 @04:52PM (#50124506)
Using a different lab's model to review the code to the one that wrote it. Claude model plans/codes, OpenAI model reviews, or vice versa, or DeepSeek or GLM or whatever.
Re:How the Claude Code team does code review by a3nz3g on Friday October 16, 2026 @07:41PM (#50126270)
I do it this way too. I think having the same lab's model review the code in a fresh session also helps, so I use both: I generally start a new Claude Code and a Codex and have them review the code with a focus on 3 things: 1. bugs, 2. cut corners, 3. code style.

This generally works for me. I think a solid spec is the key for the models to review against. I ask them to follow the spec, and if the spec doesn't say, follow first principles.

Also, if there is a user experience change, they need to notify me.

How about your pattern?

Re:How the Claude Code team does code review by eivindmeyer on Monday October 19, 2026 @02:15PM (#50155871)
We had some nice results showing that this actually helps (it has been our intution for a long time, but nice to show it!)

https://theopenengine.com/blog/review-loop/

Re:How the Claude Code team does code review by NorthSouthNorth on Friday October 16, 2026 @05:57PM (#50125293)
We've had great success with a custom gh action on a self hosted runner. It sets up codex and all the same stuff a dev has on their machine:

So dbs, seed files, etc, and then just a review prompt and some skills and a few scripts.

It triggers on a new published PR or if tagged @bot-name. It's way better than the other services we've tried (which was admittedly ages ago) because you can get it to work exactly how you want it and it's dead simple.

With Codex, for the time being at least, you can use a subscription, so it's basically free if you're already paying for one. But on API pricing it's still not too bad as it doesn't produce that much output.

I set this all up in about half a day. Codex does 99% of the heavy lifting.

Re:How the Claude Code team does code review by tills13 on Friday October 16, 2026 @08:41PM (#50126636)
this: gh actions using an opencode harness (so we can use cheap models through OpenCode Zen). With the right model, and the right, scoped access, it's just a prompt away.

bugbot was costing us $1k per month for a small team. EVEN IF we decide to go with a paid or say something like GPT Sol for our custom harness it'll cost us maybe $100. We've already implemented all of bugbot's interesting features like cross-PR memory.

the cool thing is we can leverage this for things that bugbot cannot do. Just today I added a security-reviewer action reusing almost all of the code that we wrote for the code reviewer.

Re:How the Claude Code team does code review by PJDK on Friday October 16, 2026 @06:17PM (#50125498)
I've set up a claude code on a vm with a bunch of skills that can use git and the Azure Dev Ops MCP via a service user, the regular build agent pops a record in a db that serves as a queue/review and a bash script picks things up and fires off claude code in headless mode.

It's pretty effective and lets you do nice stuff like compare the code to the tickets, reply to comments and stuff like that.

Re:How the Claude Code team does code review by tepmoc on Saturday October 17, 2026 @09:42AM (#50131114)
Depends on model, promt and amount of agents that review. I found that default code-review in Claude code is pretty mid for finding all issues especially if you downgrade model and effort.

During my evals on my own 3 agents that review in parallel they are much more cost efficient and cover 75% issues. Even on model like haiku it’s better score than default. Multiple passes or raising effort will cover 90+. And this was tested on large diff, about 3500 LoC changes

Re:How the Claude Code team does code review by eivindmeyer on Monday October 19, 2026 @02:14PM (#50155859)
We built zeroshot.sh to automate our entire review and testing workflow. We found that the only thing that really worked was adverserial review cycles and that they had to be mechanically enforced, not based on instructions in skills. Should be relevant for you to check out :)