Repository navigation
feat(mcp): List related issues in get_issue_details outside experimental mode - #2504
Merged
Merged
Conversation
…tal mode get_issue_details, and get_sentry_resource for issue and event resources, now look up related issues for every session instead of only experimental ones. The lookup still fails soft: a rate-limited or failed /related/ call leaves relatedIssues out and the tool call succeeds. Co-Authored-By: Christina Long <60594860+Christinarlong@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Contributor
📊 MCP Server Token Cost ReportSummary
Per-Tool Breakdown
Note: This measures the static overhead of tool definitions sent to LLM clients with every request. Lower is better. MCP Apps viewsEach
The budget applies to raw bytes, and the view's generator fails over it. |
…sues get_issue_details serves investigation and correlation as much as triage, so the related issues are surfaced as data only. Remove the find_related_issues suggestion and the resolve/ignore wording in the relatedIssues description.
The description already ships in every session's tool definitions, so leave it as it was on main.
…ails The suggestion already existed on main, so keep its behavior as is.
dcramer
approved these changes
Nov 26, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the experimental gate on the related issues lookup in
get_issue_details. Every session now gets the inlinerelatedIssueslist and, when that list isn't empty, thefind_related_issuessuggestion. Until now only experimental sessions got either.get_sentry_resourceuses the same handler for issue and event resources, so it changes too.The lookup still fails soft: a 429 or other failed
/related/call leavesrelatedIssuesout, and the tool call still succeeds.Before merging: land getsentry/sentry#131404 (aligns the
/related/rate limit with group details) and #2474 (stops retrying 429s).Ordering with open PRs: #2475 and #2476 change which relation types this lookup asks for. They touch the same file, so whichever merges second needs a rebase.
via @Christinarlong.
--
View Session [Sentry]