Skip to content

update_issue reports a next-release resolution as resolved in the current release #2459

Open

Description

@sentry-junior

Problem

update_issue with status: "resolvedInNextRelease" can come back as resolvedInRelease with the effect "The issue is now marked as resolved in release X". Agents read that as the wrong resolution (fixed in the current or an old release) and can't confirm the next-release behavior they asked for. Some set the issue back to unresolved.

Sentry does this on purpose. When it can already pick the release, it stores a next-release resolution as in_release: under semver, the issue's latest release with current_release_version set to it; otherwise the release after the issue's latest release, if one exists (getsentry/sentry src/sentry/api/helpers/group_index/update.py:563-627 at 0b427c3323b). The group serializer then returns statusDetails.inRelease instead of inNextRelease (src/sentry/api/serializers/models/group.py:720-725). Regression checks still treat it as next release: only events from releases newer than current_release_version reopen it (src/sentry/models/groupresolution.py:150-185). The activity is set_resolved_in_release for both cases (update.py:433), so get_issue_activity can't tell them apart either. getsentry/sentry#78325 reported the same behavior and was closed as intended.

update_issue maps statusDetails.inRelease to resolvedInRelease (packages/mcp-core/src/tools/catalog/update-issue.ts:211-212 at e692073f) and uses the generic in-release effect (:393), with no hint that this is how Sentry stores the next-release resolution.

Fix

#2460: when the request was resolvedInNextRelease and Sentry returns inRelease, say the issue is resolved in the next release, that Sentry stored it against release X, and that events from releases newer than the issue's latest release reopen it.

Reports

  • MCP-SERVER-GN3 (2026-11-10): resolvedInNextRelease came back as resolved in an existing 7-day-old release (date ordering; the issue's latest event was from an older build). The agent set it back to unresolved, on two issues. Evidence was posted on update_issue: resolve in a specific / current semver release #1262 (update_issue: resolve in a specific / current semver release #1262 (comment)).
  • MCP-SERVER-GTF (2026-11-21): one update_issue call with only status: resolvedInNextRelease. The PUT succeeded and the response had changes.status.to: resolvedInRelease and "resolved in release @4.3.12" (a semver release). The agent then read the activity, saw set_resolved_in_release, and reported that next-release behavior wasn't confirmed.

Related: #1262 (umbrella for update_issue resolution options), #2362 (other update_issue release-resolution errors).

Report count: 2

via automation evt_905b9c478746fd9deeb853f85ad7441b · Run ID dispatch_389440393dffc39a37b74e5e4a1a0f27.

--

View Session [Sentry]

Activity

  1. linear-code commented on Nov 21, 2026

    @linear-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions