Blog

One reviewer per pull request, without one person doing every review

· Phillip Akuamoah-Boateng · 5 min read

Naming one reviewer for every pull request fixes “someone will look at it”. Nobody can assume a colleague has it covered, because the review has a name on it.

But the quickest way to pick a name is to pick whoever knows the code best. Do that every time and one or two senior engineers end up with most of the reviews. Pull requests wait for a gap in their calendar, and what they know about the code stays in their heads.

Check whether it’s happening

Take last month’s merged pull requests and count who approved each one. If two people approved most of them, that’s where your review queue is. Then look at what’s waiting right now: if the same names are holding most of the open reviews, every pull request that lands on them joins the back of a line.

It rarely comes from a decision. It comes from habits that each make sense on their own:

  • Code owners point at a person. A CODEOWNERS entry with one username sends every change in that path to them.
  • Authors ask whoever answers fastest. The quickest reviewer gets asked more, so they get slower, and they’re still the one people ask.
  • Nobody else feels qualified. If only one person has reviewed the billing code, only one person will.

Spread the reviews without losing the expert

  • Rotate within a group. Give each set of repositories a pool of reviewers and take turns, so reviews spread evenly over time instead of landing on whoever answers first.
  • Make the expert one of several. GitHub lets a team own a path, not just one person (About code owners). Keep a named expert as a second reviewer for the few areas that truly need them.
  • Let the rotation teach. A reviewer who’s new to an area learns it by reviewing it. The first few reviews are slower, and after that there are two people who can do them.
  • Plan for absence. Pause people who are on holiday, and pass a review on when it stalls instead of letting it wait for someone who’s away.

Rotation doesn’t cover quiet code

Rotation spreads context only where reviews keep happening. A service nobody has touched for six months has no reviews to learn from, and the person who built it may have moved on.

There, the written record has to carry the context: a short note on each decision, next to the code, saying what was decided and why. Michael Nygard’s architecture decision records are a lightweight format for this (Documenting Architecture Decisions). The first pull request to touch a quiet area is a good moment to re-read those notes and update them, so the review refreshes the record rather than relying on memory.

How Nudge helps

  • Reviewer pools take turns. When a pull request doesn’t request anyone, its repository’s pool picks the next person in rotation, never the author, and requests their review on GitHub, Gitea or Forgejo.
  • Paused reviewers are skipped until you resume them, for holidays or busy weeks.
  • Stalled reviews can move on. If nobody responds after the policy’s number of nudges, Nudge can reassign to the next reviewer in the pool.
  • Insights shows who carries the load. For each reviewer: reviews done, their share against a fair share, what’s waiting on them now, and how often reviews were passed on.

← All posts