update_issue's inRelease errors don't say how to recover
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue nà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
- 67/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
Bắt đầu tại packages/mcp-core/src/tools/catalog/update-issue.ts, ở phần xác thực quanh các dòng 243–247, sau đó đọc mô tả schema inRelease trong packages/mcp-core/src/schema.ts và tìm cách xử lý lỗi Sentry statusDetails.inRelease. Issue nêu rõ hướng dẫn khắc phục mà mỗi thông báo cần cung cấp: bỏ qua release đối với resolvedInNextRelease và dùng phiên bản đầy đủ do find_releases trả về. Hoàn tất khi cả ba trường hợp đều đưa ra các hướng dẫn đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Resolving an issue in a release with update_issue fails twice in ways the agent can't recover from without guessing:
status: "resolvedInNextRelease"plusinReleaseis rejected with"`inRelease` and `inCommit` can only be used when `status` is `resolved`"(packages/mcp-core/src/tools/catalog/update-issue.ts:243-247ata4f7328). The rejection is right (next release and a named release are different resolutions), but the message doesn't say thatresolvedInNextReleaseneeds no release, so the agent read it as a schema bug.- A short release name (for example
v5.7.58for[email protected]<sha>+273) passes Sentry's raw 400 through:{"statusDetails":{"inRelease":["Unable to find a release with the given version."]}}. Sentry matches the stored version exactly (getsentry/sentrysrc/sentry/api/helpers/group_index/validators/status_details.py:87-111), and theinReleasedescription says only "Release version that fixes the issue" (packages/mcp-core/src/schema.ts:257-263), so nothing tells the agent to pass the full version or where to find it.find_releasesalready returns the full version (versionisshortVersion, which Sentry sets toobj.versioninsrc/sentry/api/serializers/models/release.py:793).
Fix
Draft PR: a specific message for resolvedInNextRelease + inRelease/inCommit; turn Sentry's statusDetails.inRelease 400 into a UserInputError that names the full-version rule and find_releases; and say "full version, as find_releases returns it" in the inRelease description.
Reports
- MCP-SERVER-GRX (2026-11-18): task was resolving a batch of network-only issues. Session traces for its
client.idshow 3update_issuecalls withresolvedInNextRelease+inRelease=v5.7.58rejected by MCP validation (11:25:53 UTC, no Sentry request), then 4 withresolved+ the same short name rejected by Sentry with the 400 above (11:26:02), then success with the fullpackage@version+build(11:26:17 onward). 7 failed calls before the workaround.
Related: #1262 (the original resolve-in-release request, implemented by #2098).
Report count: 1
via automation evt_905b9c478746fd9deeb853f85ad7441b · Run ID dispatch_728b24ef5cfba761b02ae3da7730c93a.
--
- Ngôn ngữ chính
- TypeScript
- Star
- 975
- Fork
- 189
- Merge trung bình
- 19 giờ 57 phút
- Pull request đã merge (30 ngày)
- 542
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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
getsentry/toolkit#2583 · 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 77/100
getsentry/toolkit#2531 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
mcp-feedback-pattern
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
getsentry/toolkit#2458 · 2 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 75/100
getsentry/toolkit#2444 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
mcp-feedback-pattern
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
getsentry/toolkit#2315 · 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ự
-
sumHorizontal, maxHorizontal, minHorizontal, allHorizontal, anyHorizontal, struct and argSortBy treat strings as literals instead of column namesCó thể đã có người làm @tomaionescu đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pola-rs/nodejs-polars#486 ·
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 62/100
jaegertracing/jaeger-ui#4853 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/plugins platform/linux reproduced type/bug version/v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
anomalyco/opencode#66970 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tui enhancement platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
anthropics/claude-code#112838 ·
-
Add: Sports First TV (US)Đang mởapproved check:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày