update_issue's inRelease errors don't say how to recover
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 67/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
まず packages/mcp-core/src/tools/catalog/update-issue.ts の243~247行付近にある検証を確認し、次に packages/mcp-core/src/schema.ts の inRelease スキーマの説明を読み、Sentry の statusDetails.inRelease エラーの処理を探します。issue では、各メッセージが示すべき復旧方法を指定しています。resolvedInNextRelease の場合は release を省略し、find_releases が返す完全なバージョンを使用します。3つのケースすべてでこれらの指示が示されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
--
- 主要言語
- TypeScript
- スター
- 975
- フォーク
- 189
- 平均マージ
- 19時間 57分
- マージ済み PR(30日)
- 542
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/toolkit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/toolkit#2583 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
getsentry/toolkit#2531 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
mcp-feedback-pattern
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
getsentry/toolkit#2458 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
getsentry/toolkit#2444 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
mcp-feedback-pattern
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
getsentry/toolkit#2315 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
getsentry/toolkit の issue をすべて見る
似ている issue
-
sumHorizontal, maxHorizontal, minHorizontal, allHorizontal, anyHorizontal, struct and argSortBy treat strings as literals instead of column names対応中かも @tomaionescu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pola-rs/nodejs-polars#486 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
jaegertracing/jaeger-ui#4853 ·
メンテナーはふだん 1 日以内に返信
-
area/plugins platform/linux reproduced type/bug version/v2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
anomalyco/opencode#66970 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
area:tui enhancement platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
anthropics/claude-code#112838 ·
-
approved check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信