Repository navigation
feat(get-sentry-resource): add dashboard URL routing - #1119
Merged
Merged
Conversation
sergical
marked this pull request as ready for review
June 22, 2026 22:36
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b52bf93. Configure here.
Route Sentry dashboard URLs and the `dashboard` resource type to get_dashboard_details. Advertise dashboards only when the inspect dashboard tool is available in the session. Rebased onto main as one commit. It squashes: - feat(get-sentry-resource): add dashboard URL routing - fix(get-sentry-resource): advertise dashboard URLs in all skill contexts - fix(get-sentry-resource): align dashboard docs with actual behavior - fix(get-sentry-resource): make dashboard description conditional like monitors Co-authored-by: Claude <claude@anthropic.com>
sergical
force-pushed
the
feat/dashboard-url-routing
branch
from
October 15, 2026 18:20
0c2cffa to
19b27cb
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
betegon
approved these changes
Oct 16, 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.

Summary
Adds dashboard URL support to
get_sentry_resourceso that pasting a Sentry dashboard URL (e.g.https://sentry.sentry.io/dashboard/542438/) auto-routes to the existingget_dashboard_detailscatalog tool.No new top-level tools added. This is purely URL routing through the existing
get_sentry_resourcesurface —find_dashboardsandget_dashboard_detailsalready existed as catalog-only tools.Root cause
Dashboard URLs were recognized in
knownSegments(used for org slug extraction) butidentifyResource()had no"dashboard"branch, so they fell through totype: "unknown"andget_sentry_resourcethrew an unsupported-URL error.Changes
url-helpers.ts"dashboard"toSentryResourceTypedashboardId?field toParsedSentryUrl"dashboard"(singular) toknownSegmentsfor path-based org slug extractionidentifyResource()— guards against/dashboard/new/with/^\d+$/get-sentry-resource.ts"dashboard"toFULLY_SUPPORTED_TYPESdashboardId?toResolvedResourceParamsresourceType: "dashboard"switch caseresolveFromParsedUrlcase for dashboard URLsassertCatalogToolAvailable) mirroring the monitor patternget_dashboard_detailsbeing available in the session"dashboard"toresourceTypeenum and updateresourceIddescriptionTests
url-helpers.test.ts: 5-case"dashboard URLs"suite (subdomain, organizations path, path-based org,/dashboard/new/→ unknown,/dashboards/→ unknown)get-sentry-resource.test.ts: URL dispatch, explicit resourceType, availability-gate rejectionget-sentry-resource.eval.ts: one dashboard URL eval caseVerified
View Session in Sentry