Skip to main content

TECH VEDA

Corporate on-site training - Submit proposal Pick your modulesSharpen your kernel skills: deep dives, drivers, Yocto, CVEs, careers — updated daily. Read the blog →
Career

If AI Finds the Bugs in Code Review, Why Do Teams Still Need You?

AI review tools now find many bugs before a colleague reads the code. This explains what that changes about a reviewer's value and gives three questions to ask first.

If AI Finds the Bugs in Code Review, Why Do Teams Still Need You?

AI review tools now comment on pull requests before your colleagues do. That changes what a good reviewer looks like, and what your reviews say about you.

Automated reviewers now find many of the line-level problems that used to fill a code review. A reviewer whose comments repeat the tool’s is doing real work that no longer changes much. The reviews a team still needs from a person are about whether a change should be made at all, and where. Learning to write those comments is one of the clearest ways to show seniority.

The bot now comments before you do

Your team turned on an AI review bot for pull requests last quarter. Today a colleague asks you to review their change. By the time you open it, the bot has listed a missing unlock on an error path, an unchecked return value and a stale comment. The author has fixed all three.

You read the new version. The code is clean, and there is nothing left for you to comment on. You approve it.

Repeat that for a year, and the question comes up at your next appraisal: what did your reviews add? If most of your comments repeated what the tool had already found, that is a hard question to answer, even though you spent hours on the reviews.

What has already changed

The tools are good at the line-level part. Google’s Sashiko has reviewed Linux kernel patches on the kernel mailing lists since March 2026. Google’s own figures for about 21,500 tracked commits show that patches it passed cleanly needed a follow-up fix within 60 days 0.9% of the time, against 7.6% for patches merged despite one of its critical warnings. These are the vendor’s figures; they show an association, not proof of cause.

Some experienced reviewers have reached a similar conclusion. At the 2026 kernel Maintainers Summit, as LWN reported, one maintainer argued that human review should now focus on why a change exists, whether the fix is in the right place, and whether it is in good taste, since bots will catch bugs and style problems. We know of no study yet showing what a human reviewer adds alongside such a tool; what follows is our reading.

An AI reviewer can check a change against its stated purpose. Questioning the purpose is still your part of the review.

Why the tool cannot ask whether it is the right change

An automated reviewer starts from the diff and the description the author wrote. If the description says “fix a crash in the probe path by adding a NULL check”, the tool checks the NULL check. It may or may not ask whether the real fault is in the function that returned NULL. Google’s own team writes that these tools are easy to bias and that the commit text can sway a review. A tool may question the author’s framing; you cannot rely on it to. Our post on problem framing covers why a correct fix to the wrong question passes every check.

There is also an order problem, and it costs you. When the bot replies first, the author has revised the change before you see it, so a question about the plan now feels like an obstruction. Another kernel maintainer described a submitter who sent fifty versions of a patch, responding to comments each time, when in his view it should not have existed in the first place. Asking the plan question anyway is the part of the review only you can do.

Each new version that answers the bot makes a wrong change look more complete.

Authors still own the correctness of their own lines. If an assistant wrote the code, its locking and error paths are still the author’s to reason through. What changes is what the reviewer’s comments are about.

What your reviews now say about your level

Compare two comments on that NULL-check change.

Comment A: “The NULL check is fine, but the error message should use dev_err_probe().”

Comment B: “Why can this function return NULL here? If the lookup can fail for reasons other than ‘not found’, it should return the real error so the caller can pass it up. A check in this one caller hides the failure from the others.”

Comment A is correct, and the bot may already have written it. Comment B needs an understanding of the code around the change and a willingness to question the author’s plan. That second kind of comment shows the judgement expected of a senior engineer, whatever the title. It is also what people remember when they choose who reviews the next design, and who is ready for the next role.

A review that changes a design gives colleagues a reason to ask for your input next time.

This is also where your reviews get judged. Review work is often invisible, and many managers see only how many reviews you did. A self-appraisal or promotion case is stronger with specific examples. “Reviewed 140 pull requests” tells a manager little. “Asked for the probe fix to move into the lookup function; avoided the same bug in three callers”, with a link to the review, is evidence they can repeat to others. Keep a link to each review where your question changed the plan, and describe it as your part in a decision: the author still owns the change.

Our earlier post on why patch review matters more than writing code explains why review work is credited to you. The point here is narrower: the kind of comment you write is now the visible sign of your level.

If you are early in your career, keep doing line-level review. In our experience it is still how most engineers learn to see the second kind of problem. If your team starts treating a clean bot review as enough, ask to keep reviewing anyway; that practice is how the judgement is built. Our post on what got cheap and what got scarce explains why it cannot be skipped.

Three questions to ask before the first line comment

This is our own suggested method, not a tested one. Ask three questions before reading the code line by line. If one fails, make it your main comment. Add line comments only for problems that matter whatever the answer, such as a security or data-loss bug.

Read the description, the linked issue or design note, and the
list of changed files. Not the diff yet.
  |
  1. Should this change be made at all?
     Is the problem real, and does it add something the team will
     have to keep supporting (a config option, an interface,
     a new dependency)? Who will maintain it?
       no  -->  main comment: the problem, not the code.
  |
  2. Is it in the right place?
     Is this the right layer or component: where the cause is,
     or only where the symptom showed?
       no  -->  main comment: where you think it belongs.
  |
  3. Does it fit what already exists?
     Does the codebase or a framework already provide a mechanism
     for this that the change should reuse?
       no  -->  main comment: the existing mechanism.
  |
  Check that the diff does what the description claims.
  Then read it line by line. Treat the bot's result as one input
  to your own assessment, not a substitute for it.

Example replies:

  • Question 1: “Before the code: what fails for users without this? A new configuration option is something we support for every release after this one, so I would like the case for it first.”
  • Question 2: “This stops the crash in the caller. I think the cause is in the lookup, which returns NULL on an error. Could the fix go there?”
  • Question 3: “This parses the configuration file by hand. We already have a parser module for this format. Could it use that, so we fix parsing bugs in one place?”

The same questions apply when you are the author. Write into the description why the change belongs in this place and not one layer up or down, and what you considered and rejected. Our post on owning the understanding behind AI-written code covers why that reason has to come from you.

Say why the change is here and not somewhere else. The automated reviewer cannot say it for you.

Start with your next three reviews

Before you read the diff, write one sentence for each question. If you cannot answer the first, ask the author before you comment on any line.

Our live, mentor-led sessions are built around problem scenarios, so the question of what a change is for is asked before anyone writes code. The three questions above are that habit, applied to someone else’s work.

This article is part of our series on engineering careers in the AI age: judgment, depth and accountable execution.

— Raghu Bharadwaj

Was this worth your time?
RB
Raghu Bharadwaj

Founder, TECH VEDA — 20+ years teaching the Linux kernel, device drivers and embedded systems.

Follow on LinkedIn

Get new posts by email

Kernel, embedded Linux and AI-era engineering — a few sharp reads a month. No spam.

We email occasionally and never share your address.