Sub topic 6
Re-requesting a review after new commits
This chapter assumes you can open a pull request, push commits to its branch, and request a Copilot review from the Reviewers menu. It covers what Copilot does after you push changes and how to ask for a fresh review.
Why a new review is not automatic
Copilot reviews the pull request as it stands when you request the review. It does not watch the branch afterward. If you push more commits, the existing review comments still describe the older code. Copilot does not update them, and it does not post a new review unless you ask for one or have set up automatic reviews (covered in a later chapter).
This matters because a review that looks "clean" may only describe an earlier version of the branch. Treat each Copilot review as a snapshot.
The re-request workflow
After you push new commits, ask Copilot to look again:
- Push your commits to the pull request branch.
- Open the pull request and find the Reviewers section in the sidebar.
- Next to Copilot's name, select the re-request review button (a circular arrows icon).
- Wait for Copilot to post a new review.
Copilot then reviews the pull request again and posts a new review with the "Comment" status. It does not approve the pull request or request changes. A new review does not erase the earlier one. Both stay in the conversation timeline.
What to expect from the second review
A second review is not a diff of the first. Copilot may do any of the following:
- Stay silent on issues it flagged before, because you fixed them.
- Repeat a comment you dismissed, because dismissing a comment does not teach Copilot to skip it.
- Raise new comments about code that was already there in the first round but went unmentioned.
- Comment on the lines you just changed in ways that contradict earlier advice.
The last two surprise people most. Copilot's output is not deterministic, so two reviews of nearly identical code can differ. A new comment in round two does not always mean your latest commit introduced a problem.
Handling repeated and conflicting comments
When a comment comes back after you chose to ignore it, you have three reasonable options:
- Reply in the thread with a short reason, so human reviewers see that you considered it.
- Add a code comment that explains the intent, such as why an
anytype is needed. Copilot's path-specific rule in an earlier example says to flagany"unless a comment explains why it is needed", so a comment can prevent a repeat. - Update the custom instructions if the same unwanted comment keeps appearing across many pull requests.
If Copilot's advice contradicts itself between rounds, do not try to satisfy both. Decide which version is correct for your codebase, and let a human reviewer break the tie.
How often to re-request
Each re-request is cheap, but it adds noise. A practical rhythm:
| Situation | Re-request? |
|---|---|
| You fixed several flagged issues in one push | Yes, once after the batch |
| You changed a single typo or comment | Usually no |
| You made a large change in logic after the first review | Yes |
| You are about to ask a human to approve | Yes, so the last review matches the final code |
Batching your fixes into a few pushes keeps the timeline readable and avoids a stack of near-duplicate reviews.
Common errors
- Looking for the button and not finding it. The re-request button appears next to Copilot's name only after Copilot has already reviewed the pull request. If you have not requested a first review, use the Reviewers menu and select Copilot.
- Assuming old comments are current. Comments on lines that have since changed may be marked outdated. Check the line before acting on them.
- Merging on a stale review. If the last Copilot review predates your final commits, its silence says nothing about the new code.
- Treating the result as an approval. The review always carries the "Comment" status. It cannot satisfy a required-approval rule.
Exercise
You pushed three commits that fixed every comment from Copilot's first review. The pull request now shows no new Copilot feedback. Can you conclude the code is clean? What should you do next?
Show answer
No. Copilot does not review again on its own after a push (unless automatic reviews are configured to run on new pushes), so the silence only means no new review was requested. Use the re-request review button next to Copilot's name in the Reviewers section, read the new review, and then hand the pull request to a human reviewer, since Copilot's review is a comment and not an approval.
Exercise
Copilot keeps repeating a comment you already dismissed, on every pull request in the repository. Where is the lasting fix?
Show answer
Dismissing a comment only affects that pull request's conversation. Add or edit a rule in .github/copilot-instructions.md (or a path-specific .instructions.md file) so that Copilot stops raising that kind of comment.