Your code review doesn't need more people — it needs focus

By William Pereira ·

“Send it to review” became synonymous with “put three names on the PR”. The result is usually cosmetic comments, silence from whoever didn't understand the domain, or an endless queue. The bottleneck is rarely a lack of goodwill — it's a lack of context and a mandatory minimum.

With AI assistance, diff volume goes up easily. Without routing, review becomes the new bottleneck: more code, the same shallow understanding.

Generic review vs review with evidence

Everyone on everythingFloor + diff domain
Who reviewsWhoever is onlineWhoever the diff touches + a guaranteed minimum
UnderstandingLow on cross-cutting changesPrioritizes whoever has the mental map of the code
Re-reviewUntil people get tiredExplicit cap, then a human conversation
Auth / sensitive data“If there's time”Mandatory when the diff calls for it
Flow: the diff matches a reviewer's domain; if it doesn't, a minimum floor is guaranteed
Review with a floor: diff domain + a mandatory minimum of reviewers.

What the research suggests

In the study of modern code review at Microsoft, Alberto Bacchelli and Christian Bird show that, although the stated motivation is finding defects, the observed outcomes include code improvement, knowledge transfer and team awareness — and that the central challenge is understanding the change and its context. Processes that ignore understanding push review into theater.

Source: Expectations, Outcomes, and Challenges of Modern Code Review (ICSE 2013).

If understanding is the bottleneck, routing reviewers by the domain of the files isn't micro-optimization: it's aligning the ritual with the evidence. The floor prevents the other error — a smart skip that turns into zero review. The re-review cap prevents the third: an endless “one more round” loop.

Pros

  • Less noise on PRs orthogonal to someone's domain.
  • Sensitive topics stop depending on luck in the reviewer rotation.
  • A re-review cap forces a decision: merge, reduce scope or pair.
  • Per-profile checklists make “what I look at” teachable to juniors.

Cons

  • A domain→people (or profiles) map needs an owner.
  • File-path rules misclassify if they're out of date.
  • A huge PR weakens any router — slice it first.
  • A floor that's too high recreates “everyone on everything”.

In practice

List profiles (backend, frontend, data, auth). For each one, typical file paths and a five-question checklist. On the PR, mark which profiles the diff touched; guarantee at least the minimum number of effective reviews and an auth-focused look whenever there's login, session or permission code.

After two back-and-forth rounds without convergence, stop the ping-pong and talk to people on the same call. Endless asynchronous review rarely creates the context Bacchelli and Bird identified as the heart of the problem.

If you want to see an open source implementation of these patterns — one I maintain and use day to day — the repo is at github.com/pereirawe/codex-flow.

Back to blog