Repository navigation
Conversation
Map the release objects from issue details to version strings so the tool output includes the release that introduced an issue and the latest one. Fixes getsentry#2841 Co-Authored-By: Grok 4.7 <noreply@x.ai>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
@cursoragent is attempting to deploy a commit to the Sentry Team on Vercel. A member of the Team first needs to authorize it. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
get_issue_detailsdroppedfirstReleaseandlastReleasefrom Sentry's issue details response. That endpoint includes both unlesscollapse=releaseis set. A release that no longer exists is only{ version }.The tool now returns those as nullable version strings, beside
firstSeenandlastSeenin the compatibility JSON. Ids, projects, and other release fields stay off the payload.IssueSchemaaccepts the same objects, and leaves them optional so list responses that omit them still parse.toolDefinitions.jsonis regenerated. Adding these keys has the same closed-schema cost as other output fields (#2293): a client still holding an oldertools/listcan reject the newissueobject.Fixes #2841
Testing
pnpm run typecheckpnpm run lintpnpm --filter @sentry/mcp-core exec vitest run src/tools/catalog/get-issue-details.test.ts src/tools/catalog/get-issue-details.structured.test.ts src/tools/catalog/get-issue-details.numeric-id.test.ts src/api-client/schema.test.tspnpm run test