AI agents can produce a working change in minutes, but someone still has to decide whether it should ship. That decision increasingly falls to designers and product managers as well as developers, especially on small teams building with AI. When agents write more of the code, a review is often the only human judgment a change gets before it reaches users.
In this glossary topic:

What is code review?
Code review is the practice of having teammates examine a proposed change to a project's code before it's merged, to catch problems, share knowledge, and decide whether the change is ready. On GitHub and similar platforms, it happens inside a pull request: reviewers read the diff, which marks every added and removed line, leave comments, and submit a decision.
A review isn't a hunt for perfect code. Google's public engineering practices guide tells reviewers to favor approving a change once it definitely improves the overall health of the code, even if it isn't perfect. On GitHub, anyone with read access to a repository can review and comment, so the reviewer doesn't have to be a developer. The question a review answers is whether a change makes the project better, not whether it's flawless.
How does code review work?
A review usually starts with scale. The Files changed tab lists every changed file, with removed lines in red and added lines in green, and scanning the file names first shows how big the change is and catches surprises, like a settings file in a change meant only to update page copy.
Feedback then attaches to specific lines. A line comment opens a thread right under the code it's about, and it's marked as outdated if that line changes later. A suggested change goes further: the reviewer writes the exact replacement text, and the author can commit it straight from the pull request, with the reviewer credited as co-author. Line comments and suggestions keep feedback attached to the exact code it's about.
Comments can be posted individually or gathered into a pending review, which is sent all at once with a summary and a decision from 3 options. Comment leaves feedback without approving or blocking, Approve signals that the change is ready to merge, and Request changes marks feedback that must be addressed first. Whether a request for changes actually blocks the merge depends on the repository's rules.
What does an approval mean in code review?
An approval is more than a thumbs-up. It says the reviewer looked at the change and would stand behind merging it, and on repositories that require reviews, it's also what unlocks the merge button. Authors can't approve their own pull requests, so an approval always comes from someone other than the person who made the change. An approval is a statement of responsibility, not a reaction. The Best Practices for Approving AI Pull Requests lesson shows how that responsibility plays out when an agent wrote the change.
Repository rules shape what an approval is worth. They can require a set number of approvals, dismiss existing approvals when new commits arrive, or require the latest push to be approved by someone other than its author. A review of an earlier version isn't a review of what's about to merge, so a dismissed approval is a signal, not a nuisance. When a review was partial, saying so helps: a note like Checked the copy and layout only, not the payment logic tells others what still needs a look.
How does code review differ from QA testing?
Code review and QA testing both aim to catch problems before users do, but they look at different things. Code review examines the change itself: reviewers read the diff and judge whether it does what it claims, fits the request, and is safe to merge. QA testing examines the product's behavior: testers use the running app, or automated tests do it for them, to check that features work as expected across devices, browsers, and conditions.
The 2 catch different failures. A reviewer can spot an unexplained edit to a payment file or a second copy of an existing component, problems that tests often miss. QA can find a checkout that breaks in a specific browser even though every changed line looked reasonable. Code review asks whether a change should merge, and QA testing asks whether the result actually works. On GitHub, the 2 meet in the pull request, where automated status checks run tests alongside the human review.
Why does code review matter for designers and product teams?
Reviewing a pull request doesn't require writing code. Much of what reaches users, like copy, images, and layout, can be judged directly in the pull request. When an image changes, GitHub can show the old and new versions side by side (2-up), reveal one over the other with a slider (swipe), or fade between them (onion skin), which makes a shifted icon or a slightly changed color far easier to spot.
The most useful comments from non-developers are specific about what and why. The heading wraps on mobile because it's 48px. Could it drop to 32px on small screens? tells the author exactly what to look at and offers a way forward, where This looks off leaves them guessing. Reviewing well takes judgment about the product, not the ability to write the code.
How has code review changed with AI?
AI now sits on both sides of the review. Copilot code review, GitHub's automated reviewer, normally leaves a Comment review that doesn't count toward required approvals. Since 1 September, 2026, admins can let it submit approving reviews that do satisfy a required-approval rule, a public preview feature that's off by default. Its approvals are dismissed when new commits arrive, but GitHub's documentation notes that Copilot isn't guaranteed to spot all problems in a pull request. If both the work and the approval come from AI, a person may never see a change before it merges.
Human reviewers face a different trap. A study presented at MSR 2026, a software engineering research conference, found that pull requests written by agents contain more redundant code than human ones, yet reviewers expressed more neutral or positive feelings toward them. The authors suggest that agent code looks plausible on the surface, which hides the duplication. Review fatigue adds to the risk as agents produce pull requests faster than people can read them. The How to Review an AI Agent's Pull Request lesson covers habits that keep reviews honest at that volume.
Kubernetes, one of the largest open-source projects, has written a human standard down: contributors are fully responsible for every change in an AI-assisted pull request, and pull requests whose authors can't explain why a change was made get closed. The same test works for approvals. A reviewer who can't explain what a change does, and why it's safe, is only passing the risk along.
What does code review look like in practice?
On GitHub, most of a review happens in 2 places. Line comments and suggestions live on the Files changed tab, right under the code they're about. Suggestions are especially handy for copy: the reviewer edits the text inside the comment, and the author applies it with a click or gathers several into a single commit.

Small fixes go faster when the reviewer writes the correction and the author accepts it with one click. From the lesson Guide to Reviewing Pull Requests on GitHub.
The second place is the Review changes panel, where the reviewer writes a summary and picks the decision that goes with it. The decision should match the feedback. Approving alongside a long list of concerns sends a mixed message, while requesting changes over a typo can stall work for a day.

Every review ends in one of 3 decisions, and an approval tells the author the reviewer understood the change.





