In plain words
Code review is a second person reading a change before it merges, looking for what the author missed: wrong behaviour, risky edge cases, missing tests and code the team will struggle to maintain.
Where you see it
A pull request on Harbor changes how refunds are calculated. GitHub's Review changes button lets you comment on single lines, then approve or request changes, and branch protection can require an approval before the Merge button works.
What goes wrong
- Reviewing style instead of behaviour
Twenty comments on naming and none on the refund that uses the wrong price. Let the formatter and linter handle style, and spend your attention on what the code does with real data.
- Approving a diff too big to read
Past a few hundred lines, most reviewers start skimming, and the bug sits in the part nobody read closely. Ask for the change to be split.
- Trusting an agent's pull request because its tests pass
The agent wrote the tests too, so they may share its misunderstanding. Check that the tests cover the case in the ticket, and read anything touching money, permissions or deleting data line by line.
What to tell your agent
Quick check
Sign in to earn +10 XP for itA teammate's pull request on Harbor changes 1,200 lines across billing and team invites. What's the most useful first review comment?