The pain
Commenting on a pull request is bound to the lines GitHub put in the diff. You cannot leave a review comment on an unchanged line, or on a file the PR did not touch, even when that is exactly where the change should have happened.
This is the single most-upvoted review request on GitHub's own community board.
"There are situations where a change needs to be made in another file that was overlooked. (e.g. 'This file needs to be updated in a similar fashion to file B which you updated.')"
Where GitQuiet is today
GitQuiet already expands unchanged context (the context / expansion knobs), and it posts each comment immediately rather than holding a pending batch. But a comment still has to land on a line that is part of the rendered diff, so an unchanged file that the PR never touched has nowhere to receive one.
Proposed direction
- Let a reviewer open any file in the repository at the PR's head from inside review, and leave a line comment there, carried back through GitHub's review API as a comment anchored to that path and line.
- At minimum, let a reviewer comment on any expanded context line, not only added/removed lines.
Scope and API limits to confirm: GitHub's review-comment API anchors to a position in the diff; commenting on a file outside the diff may need a top-level review comment that references the path, rather than an inline thread.
Source: research/review-mode-pain-points.md and research/ai-pr-review-pain-points in gitquiet-notes.
The pain
Commenting on a pull request is bound to the lines GitHub put in the diff. You cannot leave a review comment on an unchanged line, or on a file the PR did not touch, even when that is exactly where the change should have happened.
This is the single most-upvoted review request on GitHub's own community board.
Where GitQuiet is today
GitQuiet already expands unchanged context (the
context/expansionknobs), and it posts each comment immediately rather than holding a pending batch. But a comment still has to land on a line that is part of the rendered diff, so an unchanged file that the PR never touched has nowhere to receive one.Proposed direction
Scope and API limits to confirm: GitHub's review-comment API anchors to a position in the diff; commenting on a file outside the diff may need a top-level review comment that references the path, rather than an inline thread.
Source:
research/review-mode-pain-points.mdandresearch/ai-pr-review-pain-pointsin gitquiet-notes.