| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR updates the search_issues tool’s custom-field enrichment to be best-effort so it no longer fails on GitHub Enterprise Server instances whose GraphQL schema does not support issueFieldValues (e.g., GHES 3.20.x). The search now returns REST results even when GraphQL enrichment is unavailable, aligning with the existing “best-effort enrichment” behavior in issue_read get.
Changes:
| File | Description |
|---|---|
| pkg/github/issues.go | Makes search_issues field-value enrichment best-effort (do not fail the search when enrichment fails). |
| pkg/github/issues_test.go | Adds coverage for the unsupported GraphQL schema scenario to ensure REST results still return. |
Sorry, something went wrong.
|
Hi @kerobbi, This fixes search_issues, but list_issues has the same class of GHES incompatibility via a different code path and still fails (confirmed against v1.8.0): failed to list issues: IssueFieldValueFilter isn't a defined input type (on $issueFieldValues) Here issueFieldValues is used as a query variable / input type (IssueFieldValueFilter) rather than a response field, so the graceful-degradation change here doesn't cover it. Can the same best-effort treatment be applied to list_issues, or should a follow-up PR be opened? |
Sorry, something went wrong.
Only tolerate GraphQL schema validation failures that show the optional Issue.issueFieldValues selection or its known fragments are unsupported. Surface client, auth, rate-limit, network, resolver, malformed response, and unrelated GraphQL failures. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Summary
Makes the custom field value enrichment in search_issues best-effort, so a search no longer fails when the server's GraphQL schema doesn't support the issueFieldValues field (e.g. GHES).
Why
Fixes #2831
What changed
MCP impact
Security / limits
Tool renaming
Lint & tests
Docs