get_sentry_resource gives no guidance for Explore > Errors list URLs
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 32/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- tooling
Hướng nghiên cứu
Read packages/mcp-core/src/tools/catalog/get-sentry-resource.ts: parseSentryUrl returns unknown for /explore/errors/... paths, and UNSUPPORTED_URL_GUIDANCE (~:93-114) has no errors/Discover entry, so resolveFromParsedUrl throws at ~:265-268. Follow an existing entry (issue lists, alerts) as the shape for a new errors-list entry that points callers at search_errors and spells out the project, environment, statsPeriod/start/end and query params. Done means the weekly-report URL produces that guidance instead of the generic error, with a test alongside the other URL-parsing tests. Check draft PR #2279 first — it may already cover this.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Pattern: get_sentry_resource called with an Explore > Errors (Discover) list URL, such as the "view in Sentry" link in the weekly report email (/explore/errors/homepage/?dataset=errors&...&referrer=weekly_report), returns the generic "Could not determine resource type from URL" error. It doesn't say to use search_errors, and it drops the page's project and time scope, so the caller rebuilds them with other search tools.
Reports: 1 (Sentry MCP user feedback MCP-SERVER-GQE, opencode caller, server 0.42.0, kind=missing, impact=worked_around).
What happens
- The caller passes
url=https://<org>.sentry.io/explore/errors/homepage/?field=title&...&dataset=errors&sort=-timestamp&referrer=weekly_report&project=...(sampledtools/call get_sentry_resourcespan, statuserror). parseSentryUrlreturnsunknownfor this path.UNSUPPORTED_URL_GUIDANCE(packages/mcp-core/src/tools/catalog/get-sentry-resource.ts:93-114at 2884bc6) has entries for API URLs, issue lists, alerts, logs and traces, but none for errors/Discover pages, soresolveFromParsedUrlthrows the generic message (:265-268).- These are real Sentry routes: getsentry/sentry
static/app/router/routes.tsxmountsdiscoverErrorsChildren(index,homepage/,queries/,results/) underexplore/errors/,explore/discover/and the legacy/discover/, andstatic/app/views/discover/pathnames.tsxbuilds Discover links onexplore/errors.
Fix: getsentry/toolkit#2279 (draft) adds an errors-list entry that points at search_errors, and lists the page's project, environment, statsPeriod/start/end and query params in the guidance so the caller can carry the scope over.
Not this issue: event-detail URLs under explore/errors/<project>:<eventId>/, and explore/agents/ conversation URLs, aren't covered here.
via automation evt_905b9c478746fd9deeb853f85ad7441b · Run ID dispatch_a156216a8080465c06ac0c79b49960ca.
--
- Ngôn ngữ chính
- TypeScript
- Star
- 961
- Fork
- 179
- Merge trung bình
- 15 giờ 33 phút
- Pull request đã merge (30 ngày)
- 476
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getsentry/toolkit
-
MCP mcp-feedback-pattern
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getsentry/toolkit#2276 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CLI enhancement MCP
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
getsentry/toolkit#1908 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
getsentry/toolkit#1471 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
getsentry/toolkit#2275 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
MCP mcp-feedback-pattern
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
getsentry/toolkit#2273 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của getsentry/toolkit
Issue tương tự
-
Add: BOM CineĐang mởapproved check:passed streams:add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug platform-android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Termix-SSH/Mobile#146 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
devswha/herdr-web-ui#3875 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100