github / github/app

"Fix unresolved comments" in PR attempts to fix non-review comments

Open
#2,338 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

When opening a PR in Copilot App, the "Fix unresolved comments" button includes comments that aren't a result of a review which means that comments that are unrelated to the actual changes introduced in a PR will be considered and acted upon by the session.

I'd argue it makes more sense for the action to only target review comments, and not even consider normal comments whatsoever.

There can be any number of workflows that result in posting comments in a PR, but these comments aren't as part of a review. The comments could be test coverage reports, preview environment links and so on, which produce a lot of noise when a session tries to address them.

Contributor guide

Open the contributing guide

Research direction

Trace the Copilot App's "Fix unresolved comments" action and the logic that selects pull request comments. Compare review comments with regular comments, then verify that only unresolved review comments are included and unrelated comments such as coverage reports or preview links are ignored.

Written by the indexing model from the issue text.

Assessment

Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.