analyze_issue_with_seer can't replace a completed Seer run
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tính năng
- Độ 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
- tooling
Hướng nghiên cứu
Read packages/mcp-core/src/tools/catalog/analyze-issue-with-seer.ts around L149 (the startAutofix gate), L209-225 (the path that returns an existing terminal run), and the input schema at L83-92 with its Results are cached description at L80. Check the related getsentry/toolkit#1270 runId guard before changing the branch, since the new parameter has to coexist with it and with the fact that starting a run spends Seer credits. Done means a caller can explicitly request a fresh analysis, instruction is honoured or rejected rather than silently dropped, and the tool's existing tests are updated to cover both the reuse and refresh paths.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Pattern: once an issue has a completed Seer run, analyze_issue_with_seer always returns that run. Callers can't start a fresh analysis through MCP, even when the stored root cause is stale (for example, it points at code that has since been fixed and shipped), and the instruction argument is dropped without notice.
Reports: 1 (user feedback, MCP server 0.42.0, analyze_issue_with_seer, impact: blocked)
Current behavior (packages/mcp-core/src/tools/catalog/analyze-issue-with-seer.ts @ 516cad4)
- L149: the tool calls
startAutofixonly when there's no previous run or the previous run'sstatusiserror. - L209-225: any other terminal run (
completed, waiting for input) is returned as-is withFound existing analysis (Run ID: …).params.instructionis only passed tostartAutofix(L155), so on this path it is silently ignored. - The input schema (L83-92) has no way to ask for a new run, and the description says
Results are cached - subsequent calls return instantly(L80).
Sentry API (getsentry/sentry@fe43ef0)
POST /issues/{id}/autofix/starts a new run whenever neitherrun_idnorsentry_run_idis passed (src/sentry/seer/endpoints/group_ai_autofix.pyL286-299). An existing completed run doesn't block it.GET /issues/{id}/autofix/returns the group's latest run (get_autofix_agent_state→fetch_latest_run_state,src/sentry/seer/autofix/autofix_agent.pyL558-575). So the gap is on the MCP side only.
Evidence from the report
- The sampled
analyze_issue_with_seercall madeGET …/issues/{id}/andGET …/issues/{id}/autofix/and no POST. It returnedFound existing analysis (Run ID: …)/## Analysis Completewith the old root cause. That sampled call had noinstructionargument; the reporter says an earlier call did pass one. We sample 30% of traces, so that call may not have been recorded.
Reporter's proposal: a force/refresh parameter on analyze_issue_with_seer.
Related: getsentry/toolkit#1270 adds a runId guard on the same code path that stops the tool from starting a new run. Any change here needs to fit with it. Starting a new run spends Seer credits, which is likely why the tool reuses the existing run today.
via automation evt_905b9c478746fd9deeb853f85ad7441b · Run ID dispatch_603ac936cce8aaa570e9b7eae0aa9519.
--
- 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
-
get_sentry_resource gives no guidance for Explore > Errors list URLsCó thể đã có người làm @sentry-junior đã nhận hôm nay. Đang mởMCP mcp-feedback-pattern
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 32/100
getsentry/toolkit#2278 · 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
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