update_issue's inRelease errors don't say how to recover
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- backend-api-design
Research direction
Start in packages/mcp-core/src/tools/catalog/update-issue.ts at the validation around lines 243–247, then read the inRelease schema description in packages/mcp-core/src/schema.ts and look for handling of Sentry statusDetails.inRelease errors. The issue specifies the recovery guidance each message should provide: omit the release for resolvedInNextRelease, and use the full version returned by find_releases. Done when all three cases give those instructions.
Written by the indexing model from the issue text.
Description
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.
--
- Dominant language
- TypeScript
- Stars
- 975
- Forks
- 189
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 571
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/toolkit
-
Rejected regionUrl errors don't say how to recover when an agent passes the organization's web URLOpenmcp-feedback-pattern
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
getsentry/toolkit#2777 · 1 comment ·
Maintainers usually reply within 1 day
-
mcp-feedback-pattern
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
getsentry/toolkit#2458 · 4 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
getsentry/toolkit#2444 · 1 comment ·
Maintainers usually reply within 1 day
-
mcp-feedback-pattern
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
getsentry/toolkit#2315 · 1 comment ·
Maintainers usually reply within 1 day
-
link_issue passes through a misleading 404 when an integration token lists Sentry App installationsOpenmcp-feedback-pattern
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
getsentry/toolkit#2295 · 1 comment ·
Maintainers usually reply within 1 day
All issues in getsentry/toolkit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
area:vscode bug has repro platform:macos platform:vscode regression
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
anthropics/claude-code#113502 ·
-
Add: Rajdhani TV HDOpencheck:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
effort/l priority/p1 risk/high triage/core
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
iflytek/skillhub#1188 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Fission-AI/OpenSpec#2337 ·
Maintainers usually reply within 1 day