GitHub PR Comments Live in Three Different Places

Created:
Last edited:

TIL that gh pr view --json comments does not return inline review comments, which Copilot makes heavy use of.

I found this because one of my coding agents confidently declared a PR clean while Copilot's findings (including a real bug) were left unacknowledged. The agent ran the obvious command, saw nothing, and moved on.

GitHub PRs have three separate ways of accessing comments:

There is no gh pr view field for the third one. If a reviewer leaves only inline comments, the obvious CLI call reports that your PR has no feedback.

And GitHub has managed to make this even more confusing by having Copilot post its review summary under the login copilot-pull-request-reviewer[bot] but its inline findings under Copilot. So even if you know about the third API and filter by the reviewer you're looking for, you get an empty list.

We've since added a line to our AGENTS.md telling agents to check all three channels.

Hope this helps someone else.

And GitHub, can you please fix this?