You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4e6e6c0
Browse filesBrowse the repository at this point in the historyBrowse files
Remove thread_resolution_reason feature flag (#3727)
* Remove thread_resolution_reason feature flag
The flag is globally enabled, so resolution reasons are now always
available on pull_request_review_write and resolve_review_thread.
GHES still omits the resolutionReason input because it does not
support it.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Send resolution reasons as GraphQL enum values
The resolveReviewThread mutation expects ADDRESSED, WONT_FIX or
INVALID, but the tools forwarded the lowercase input values unchanged.
Map them to enum names and treat an empty reason as none.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Remove stale resolution-reason variant comment
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Drop unrelated comment and test-name changes
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Advertise resolution reasons as a schema enum
Empty reasons are still accepted and treated as none.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Annie Gesellchen <10727170+cagesellchen@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1371,6 +1371,7 @@ For negotiated supported protocol versions `2026-07-28` or newer, the consolidat
1371
1371
-`owner`: Repository owner (string, required)
1372
1372
-`pullNumber`: Pull request number (number, required)
1373
1373
-`repo`: Repository name (string, required)
1374
+
-`resolutionReason`: Optional reason for resolving a Copilot code review thread: addressed, wont-fix, or invalid. (string, optional)
1374
1375
-`threadId`: The node ID of the review thread (e.g., PRRT_kwDOxxx). Required for resolve_thread and unresolve_thread methods. Get thread IDs from pull_request_read with method get_review_comments. (string, optional)
-`commitID`: SHA of commit to review (string, optional)
638
-
-`event`: Review action to perform. (string, optional)
639
-
-`method`: The write operation to perform on pull request review. (string, required)
640
-
-`owner`: Repository owner (string, required)
641
-
-`pullNumber`: Pull request number (number, required)
642
-
-`repo`: Repository name (string, required)
643
-
-`resolutionReason`: Optional reason for resolving a Copilot code review thread: addressed, wont-fix, or invalid. (string, optional)
644
-
-`threadId`: The node ID of the review thread (e.g., PRRT_kwDOxxx). Required for resolve_thread and unresolve_thread methods. Get thread IDs from pull_request_read with method get_review_comments. (string, optional)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/pull_request_review_write.snap
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,15 @@
47
47
"description": "Repository name",
48
48
"type": "string"
49
49
},
50
+
"resolutionReason": {
51
+
"description": "Optional reason for resolving a Copilot code review thread: addressed, wont-fix, or invalid.",
52
+
"enum": [
53
+
"addressed",
54
+
"wont-fix",
55
+
"invalid"
56
+
],
57
+
"type": "string"
58
+
},
50
59
"threadId": {
51
60
"description": "The node ID of the review thread (e.g., PRRT_kwDOxxx). Required for resolve_thread and unresolve_thread methods. Get thread IDs from pull_request_read with method get_review_comments.",
0 commit comments