| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8bf69b12-5131-4382-8c81-8ed1c88fb211
There was a problem hiding this comment.
Exposes optional Copilot review-thread resolution reasons through both resolution tools and forwards them to GraphQL.
Changes:
| File | Description |
|---|---|
| README.md | Documents the aggregate tool parameter. |
| pkg/github/pullrequests.go | Adds reason forwarding to the shared resolver. |
| pkg/github/pullrequests_test.go | Tests aggregate reason forwarding. |
| pkg/github/pullrequests_granular.go | Adds the granular tool parameter. |
| pkg/github/granular_tools_test.go | Tests granular reason forwarding. |
| pkg/github/__toolsnaps__/resolve_review_thread.snap | Updates the granular tool schema snapshot. |
| pkg/github/__toolsnaps__/pull_request_review_write.snap | Updates the aggregate tool schema snapshot. |
| docs/feature-flags.md | Documents the granular parameter. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Suppressed comments (1)pkg/github/pullrequests.go:2108
func ResolveReviewThread(ctx context.Context, client *githubv4.Client, threadID string, resolutionReason *string, resolve bool) (*mcp.CallToolResult, error) {
Sorry, something went wrong.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8bf69b12-5131-4382-8c81-8ed1c88fb211
| Back | FazBrowse Home | New Git URL |
Summary
Expose an optional resolutionReason argument on both review-thread resolution tools and forward it to GraphQL as resolutionReason.
Why
This lets MCP clients record how Copilot Code Review threads were resolved.
Depends on github/github#448461 (commit 191d1c3d49211cd54810c2b1707e28c5ae5460d7).
Fixes # N/A
What changed
MCP impact
Prompts tested (tool changes only)
Security / limits
Tool renaming
Note: if you're renaming tools, you must add the tool aliases. For more information on how to do so, please refer to the official docs.
Lint & tests
Docs