Code Review That Helps Teams Make Decisions

Code review: from feedback to decisions. A code card with comments and an approval checkmark.

A pull request can have dozens of comments and still leave its author unsure what must change before release. Some comments concern bugs, others architecture, and others a style the reviewer happens to prefer. A useful review makes those distinctions clear and helps the team decide whether a particular change is ready.

Start with the purpose and risk of the change

Before reading the code, establish which behaviour should change and how it was checked. The PR description should provide enough context to assess the problem, the outcome, and any important constraints. “Refactor the component” says little if the rules for saving a form change along with it.

Match your attention to the risk. Updating a label calls for a different review from changing authorisation or payment handling. The number of changed lines is a poor proxy. A small diff can break an important contract; a large one may consist mostly of a mechanical rename.

Separate blockers from suggestions

Make it clear whether a comment blocks approval. Simple, agreed labels are enough: “blocking”, “question”, “suggestion”, and “nit”. The names matter less than a shared understanding of their consequences. A question intended to understand the code should not quietly become a blocker.

Instead of “this is wrong”, try: “Blocking: after a failed save, we close the form and lose the user’s input. Keep it open and offer a retry. Let’s cover that path with a test.” The author now knows the scenario, the impact, and the expected behaviour. They can propose another way to solve the same problem.

Explain the impact rather than relying on seniority

“Let’s make a hook” suggests an implementation. A stronger comment explains that two copies of subscription handling have diverged and one fails to detach a listener. Then you can discuss a shared hook. Sometimes fixing one path is enough; a new abstraction is unnecessary.

If a comment follows an existing architectural decision, link to it. If it expresses a personal preference, say so. A tech lead does not need to win every discussion about the shape of a function. Part of the role is helping the team assess the arguments independently.

Do not turn every review into a module-wide cleanup

Reviews often reveal longstanding problems. Separate issues the change introduces or makes worse from unrelated debt. A change that compromises security or stability may need a wider scope. Renaming everything in the neighbouring files can usually wait.

A deferred problem needs a concrete description in an agreed place. “We’ll fix it someday” establishes neither an owner nor a plan. Equally, not every idea deserves a ticket. Some improvements can be deliberately rejected because they are not worth the cost.

Know when to stop the comment loop

If a discussion keeps returning to the same arguments, have a short conversation and record the outcome in the PR. State the chosen approach, the reason, and any condition for revisiting it. People who were not in the conversation should still be able to understand the decision.

Agree on reviewer cover and a way to resolve disagreements. After addressing every comment, an author should not have to guess whether they must wait for one particular person.

Automate repetitive feedback

Formatting, import order, and some simple rules are better enforced by tools once the team has agreed on them. Reserve human attention for product behaviour, ownership boundaries, and difficult trade-offs. Automation still does not remove the need to check whether a rule makes sense.

Before approving, you should be able to say: I understand the goal, I have examined the areas of risk, and the remaining comments have a clear status. Review cannot guarantee the absence of bugs. It should produce a reasoned decision and a readable record of what was actually assessed.