update_issue's inRelease errors don't say how to recover
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 67/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
- Domínio
- backend-api-design
Direção de pesquisa
Comece em packages/mcp-core/src/tools/catalog/update-issue.ts, na validação por volta das linhas 243–247; depois, leia a descrição do schema inRelease em packages/mcp-core/src/schema.ts e procure o tratamento de erros do Sentry statusDetails.inRelease. A issue especifica as instruções de recuperação que cada mensagem deve fornecer: omitir o release para resolvedInNextRelease e usar a versão completa retornada por find_releases. O trabalho estará concluído quando os três casos fornecerem essas instruções.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
--
- Linguagem predominante
- TypeScript
- Estrelas
- 975
- Forks
- 189
- Merge médio
- 19h 57min
- PRs com merge (30d)
- 542
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de getsentry/toolkit
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
getsentry/toolkit#2583 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
getsentry/toolkit#2531 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
mcp-feedback-pattern
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
getsentry/toolkit#2458 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
getsentry/toolkit#2444 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
mcp-feedback-pattern
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
getsentry/toolkit#2315 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de getsentry/toolkit
Issues semelhantes
-
sumHorizontal, maxHorizontal, minHorizontal, allHorizontal, anyHorizontal, struct and argSortBy treat strings as literals instead of column namesTalvez já em andamento @tomaionescu assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
pola-rs/nodejs-polars#486 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
jaegertracing/jaeger-ui#4853 ·
Mantenedores costumam responder em até 1 dia
-
area/plugins platform/linux reproduced type/bug version/v2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
anomalyco/opencode#66970 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
area:tui enhancement platform:macos
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
anthropics/claude-code#112838 ·
-
Add: Sports First TV (US)Abertaapproved check:passed streams:add
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 1 dia