A pull request review checklist
A practical pull request review checklist, in order: the goal, CI, the approach, then correctness, tests, security and readability.
On this page
A good pull request review works from the big picture down: understand what the change is for, check that CI passes, judge the approach, then look at correctness, tests, security and finally readability. Reviewing in that order means you don't spend twenty minutes on naming in code that needs a different design. This checklist fits most teams; adapt it to yours.
1. Understand the goal (2 minutes)
- Read the description. What problem does this solve, and how will we know it works?
- Open the linked issue if there is one.
- If you can't tell what the change is for, ask before reading further.
2. Check the checks (1 minute)
- Are CI checks passing? If not, is the failure related to this change?
- A failing check may mean the code will change; it's often worth waiting.
In OneNotch, the review queue shows a check summary for each pull request, and C lists the checks with failing ones first. See what to do when CI checks fail.
3. Judge the approach
- Is this the right place and the right way to solve it?
- Is it the right size? A very large pull request may need splitting. See how big should a pull request be?
- Does it fit the codebase's existing patterns?
Raise design concerns first, before line comments, so the author doesn't polish code that will be rewritten.
4. Correctness
- Does the code do what the description says?
- Edge cases: empty inputs, errors, timeouts, concurrency, large data.
- Behaviour changes for existing users, intended and unintended.
5. Tests
- Are there tests for the new behaviour and the important edge cases?
- Would the tests fail if the change were broken?
- Are existing tests changed? If so, why?
6. Security and data
- Secrets, tokens or credentials in the diff.
- Input validation, permissions and authentication checks.
- Database migrations: reversible? safe on large tables?
- Logging of personal or sensitive data.
7. Readability
- Clear names, small functions, comments where intent isn't obvious.
- Dead code, leftover debugging, unrelated changes.
Mark these as optional unless they matter. Style rules belong in automated linters, not review comments.
7b. Operations
- Will this need a feature flag, a config change or a staged rollout?
- Are logs and metrics in place to tell if it's working in production?
- Is there a way to roll back if something goes wrong?
These questions matter most for changes to critical paths, and they're easy to forget when the code itself looks fine.
8. Decide and respond
| Outcome | Action |
|---|---|
| Good to merge | Approve; mark any suggestions as optional |
| Questions, not blocking | Comment |
| Must change first | Request changes, with clear reasons |
Approve on GitHub, with gh pr review --approve, or from OneNotch's notch with its two-step Approve / Confirm approval. See how to approve a pull request on GitHub.
Reviewing your own pull request first
The fastest reviews start with the author. Before requesting review, go through the same checklist on your own diff: re-read the description, check CI, look for leftover debugging, and add comments on lines where reviewers might be confused. A pull request that has been self-reviewed usually needs fewer rounds, and reviewers notice the care.
Tone
Review the code, not the person. Ask questions ("What happens if this list is empty?") rather than giving orders, explain the reason behind requests, and say what's good, too. Clear, kind reviews get changes made faster.
FAQs
How long should a review take?
It depends on size. Small pull requests often take minutes; very large ones are a sign to split the work.
Should I review code with failing checks?
Usually wait, unless the failure is unrelated or you're asked for early feedback on the approach.
What should automated tools catch instead of reviewers?
Formatting, style rules and simple bugs. Linters and CI free reviewers to focus on design and correctness.
Can I use this checklist in a template?
Yes. Many teams add a short checklist to their pull request template on GitHub.