When someone leaves a comment or GitHub Copilot creates a comment on your pull request, it's tempting to simply mark it as resolved and move on. However, this creates confusion for other reviewers who can't tell if the suggestion was implemented, why it wasn't implemented, or what the outcome was.
Just like the "Reply Done" principle for emails, you should always provide a clear response to code review comments before resolving them. This helps maintain transparency and ensures all reviewers understand the resolution.
When you address a comment in your pull request, the response depends on the type of comment:
These are typically blocking requests that must be addressed. Always respond with:
Reply without resolving so the author can read it and continue the conversation:
If there's a disagreement, it's generally best to discuss it in person (or offline) rather than through comments, when possible. Once aligned, summarize the outcome in the thread for visibility, e.g.:
Only mark questions as resolved after the conversation is complete and both parties agree.
❌ Figure: Bad example - AI Suggestion marked as resolved with no response
❌ Figure: Bad example - Comment simply marked as resolved with no response
✅ Figure: Good example - Clear confirmation that the change was implemented
✅ Figure: Good example - Explained that the change will be addressed in a separate PBI
By following these practices, you create a more transparent and efficient code review process that benefits everyone involved. The small extra effort of writing clear responses saves significant time and confusion for the entire team.