The pull request is in review. What was it supposed to do?
Asked to review a pull request that doesn't say what was required? Where to find the requirement in GitHub in five minutes, and what to ask if you can't.
The KnowWhyy team · · 7 min read
You open a pull request that's waiting for your review. The title says "Update billing logic", the description is empty, and 14 files have changed. The code looks fine. What you can't tell is whether it does what was asked, because nothing on the page says what was asked.
Don't approve it, and don't try to work the requirement out from the diff. Spend five minutes looking for the requirement in the places GitHub links to. If it isn't there, ask the author one specific question before you review a line. The rest of this post covers where to look, what to ask, and how a team stops this from happening on every pull request.
Why the requirement goes missing
The author knows what was asked. They've lived with the task for days. The requirement itself usually sits somewhere else:
a Jira or Linear ticket the pull request never links to,
a Slack thread where the scope changed twice,
a call nobody took notes on,
the author's head.
A diff shows what the code does now. It can't show what the code was meant to do, and the gap between those two is exactly what a review exists to catch. Google's engineering practices guide puts this first in its reviewer steps: take a broad view of the change and ask whether it makes sense at all, before looking at any detail.
Find the requirement in five minutes
Work down this list. Stop as soon as you can state, in one sentence, what the change is meant to achieve and for whom.
Where to look
What you're looking for
Get started
Ask your first question in minutes.
Create a workspace, connect a tool and choose what gets indexed. The free plan includes GitHub, Slack, Notion, Jira, Confluence and Google Drive.
closingIssuesReferences lists the issues the pull request will close, and headRefName is the branch name.
GitHub also suggests asking Copilot Chat about a pull request's intent. It's worth a try, with one limit to keep in mind: it works from what is attached to the pull request. If the requirement lives in a ticket or a chat thread that isn't linked, a summary of the diff will tell you what changed, which you could already see.
If you still can't tell, ask before you review
One specific question gets a faster answer than "can you add some context?". Three that work:
Before I review this: which ticket or request is this for? I want to check the change against what was asked.
I can see this changes how refunds are rounded. Was that the goal, or a side effect of something else?
What should I be able to do after this merges that I couldn't before? One or two sentences is enough.
Post it as a review with the Comment decision. GitHub has three review decisions: Comment leaves feedback without a verdict, Approve says it's ready to merge, and Request changes says something must be fixed first. A missing requirement isn't a defect in the code, so Comment is the honest one. It also keeps the pull request visibly unapproved while you wait.
When the answer comes back, ask the author to put it in the description. The next reviewer, and whoever reads this pull request in a year, will have the same question.
Two things not to do
Don't approve on style alone. "Looks good to me" on a change you can't judge tells the team the change was checked when only its formatting was.
Don't reverse-engineer the requirement from the code. If you decide what the change was for by reading what it does, it will always appear to do exactly that. A wrong implementation and a right one look equally consistent with themselves.
Once you have the requirement, review against it
With the ticket or the author's answer open beside the diff, check five things before anything else:
Does it do what was asked? Walk through the request and find the code for each part.
Are the stated edge cases handled? If the ticket says "including annual plans", find where annual plans are handled.
Does it do more than was asked? Extra changes may be fine, but they should be named in the description.
Does it do less? If part of the request is left for later, the description should say so.
Would the person who asked recognize this as done? If you can't tell, that's a question for them, not the author.
Design, tests and readability come after. Our code review checklist covers that part.
Fix it for the whole team
Finding the requirement by detective work every time is a process problem. Four changes remove most of it.
Put the question in the template. Add a required-feeling first section to your pull request template: what was asked, and a link to where it was asked. A template you can copy is in our pull request description template.
Link, don't mention. Typing #482 in a sentence creates a reference. Typing Closes #482 creates a link that shows under Development and closes the issue on merge. Note that GitHub only acts on closing keywords when the pull request targets the default branch.
Make ticket keys clickable. If your tickets live in Jira or another tracker, a repository admin can set up autolink references so that ENG-482 in a title, description or commit message becomes a link to the ticket. GitHub lists this as available on Pro, Team and Enterprise plans. For the Jira side of the setup, see how to link Jira issues to GitHub pull requests.
Agree that reviewers may send it back. The cheapest fix is a team rule: a pull request with no stated requirement gets one comment asking for it, and no review until it's answered. It only works if nobody treats that comment as obstruction.
If you're the author
Three lines at the top of the description save your reviewer the search and get you a faster review:
**Asked for:** Refunds on annual plans should be prorated by day, not by month (ENG-482).
**This PR:** Changes the proration calculation and adds tests for annual plans.
**Not in this PR:** Refunds for plans paused mid-cycle. Tracked in ENG-490.
Where KnowWhyy fits
Even with good habits, the requirement is often split across a ticket, a thread and an earlier pull request. KnowWhyy connects GitHub, Slack, Notion, Jira and Confluence, so a reviewer can ask "what was asked for in ENG-482, and what did we decide about annual plans?" and get an answer with a citation on every claim, linking to the ticket, the thread and the related pull requests. A pull request that mentions ENG-482 is joined to that Jira work item automatically.
It doesn't read source code, so it won't tell you whether the change is correct. It answers the other half: what the change was supposed to be. There's a free plan for up to 2 people (pricing), and more on how it handles pull request history on the GitHub history page.
Common questions
How do I review a pull request when I don't know the requirements?
Look for the requirement first: linked issues under Development, closing keywords in the description, a ticket key in the branch name, and the commit messages. If none of those say what was asked, leave a Comment review asking the author one specific question, and review after they answer.
Should I approve a pull request I don't fully understand?
No. An approval says the change is ready to merge. If you can only vouch for part of it, say which part in a comment and ask someone who knows the area to review the rest.
Where does GitHub show the issue a pull request is for?
In the right sidebar of the pull request, under Development. It appears there when the author used a closing keyword or linked the issue manually.
What is the difference between "Comment" and "Request changes"?
Comment leaves feedback without a verdict. Request changes tells the author something must be fixed before merging. Use Comment when you're missing information, and Request changes when you've found a problem.
How do I make authors include the requirement?
Add a "what was asked" section and a ticket link to the pull request template, and agree as a team that a pull request without them gets a question before it gets a review.
The short version
A diff shows what code does. A review needs to know what it was meant to do.
Check the Development sidebar, the description, the branch name, the commits and your chat tool, in that order.
If the requirement isn't there, ask one specific question with a Comment review. Don't approve and don't guess.
Review against the request first: does it do what was asked, more, or less?
For the team: put the question in the template, link issues with closing keywords, set up autolinks, and let reviewers send a pull request back.