How-to guide

How to write code review feedback someone can act on

What makes a code review comment actionable?

Point to a specific change, name the condition that concerns you and explain its consequence. Say whether the author needs to resolve it before merge. Where the expected behaviour is uncertain, ask the person who owns the rule to settle it.

Give the author a way to check the concern

A useful comment is specific enough for the author to confirm or disprove. It can be a question if the reviewer lacks a piece of context.

  1. Find the smallest input or sequence that exposes the concern. State what you expect the user or caller to see.
  2. Describe what the current change appears to do. Link the relevant assertion, specification or observed output.
  3. Explain why it matters for this merge. Mark preferences as optional and let the agreed formatter handle routine style.

Close the review decision

After the author responds, read the revised diff or the evidence they supplied. Record whether the concern was addressed, the expectation was mistaken or the team has accepted a specific follow-up. That short decision helps the next reviewer understand the thread.

Worked example

A missing result on the last page

A reviewer spots a loop that stops when a results page contains one item. Their comment reads, “With 21 records and a page size of 20, the second page contains the last record. This loop exits before appending it, so the CSV contains 20 rows. Could we cover this case before merge?” The author can now run one example and inspect the row count.

Adapted by Cue April from The Engineering Handbook v1.0.0 by Tenhaw (© 2026 Tenhaw LTD). The examples and pull request checks are Cue April adaptations. Tenhaw on reviewing well · CC BY 4.0

Try it on your pull request

On your own PR, turn one review concern into an input and an expected result, then check whether the current suite would catch it.

Try Cue April on your repository

Create an account, connect your repository and review the test plan.