Repository navigation
fix(mcp): Point get_sentry_resource at search_errors for errors list URLs - #2279
Draft
sentry-junior[bot] wants to merge 2 commits into
Draft
sentry-junior[bot] wants to merge 2 commits into
sentry-junior[bot] wants to merge 2 commits into
Conversation
…URLs Explore > Errors (Discover) list URLs such as /explore/errors/homepage/ fell through to the generic 'Could not determine resource type' error, so agents had to rebuild the page's project and time scope by hand. Recognize these pages, point at search_errors, and list the page's project, environment, time and query filters in the guidance.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
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.
get_sentry_resourcehad no guidance for Explore > Errors (Discover) list pages, such as the weekly report email's/explore/errors/homepage/?dataset=errors&...link. Those fell through to "Could not determine resource type from URL", so agents rebuilt the page's project and time scope by hand with other tools (MCP user feedback MCP-SERVER-GQE).This adds an
UNSUPPORTED_URL_GUIDANCEentry forexplore/errors,explore/errors-v2,explore/discoverand legacydiscoverlist pages (index,homepage,results,queries) that points atsearch_errors. These match the routes in getsentry/sentrystatic/app/router/routes.tsx. Unsupported-URL guidance now also lists the page'sproject,environment,statsPeriod/start/endandqueryparams, so the caller can carry the scope over to the search tool.Event-detail URLs (
explore/errors/<project>:<eventId>/) are out of scope.Fixes #2278
via automation
evt_905b9c478746fd9deeb853f85ad7441b· Run IDdispatch_a156216a8080465c06ac0c79b49960ca.--
View Session [Sentry]