getsentry / getsentry/sentry

Resolve issue in current release does not respect semver order

Open
#86,096 2 comments 0 reactions 0 assignees View on GitHub
Product Area: Issues
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Environment

SaaS (https://sentry.io/)

### Steps to Reproduce

1. Report releases to Sentry using semantic versioning
2. Have a release with "older" semantic version created after the current one
3. try to resolve an issue in the current release.

### Expected Result

Resolve in current release to use latest release based on semantic versioning.

### Actual Result

Resolve in current release uses the lasted created release based on creation time.

See the screenshots, events found in Discover using "release:latest" follow semantic version as expected but the current release to resolve an issue uses the creation date.

Image
Image

Issue reported in this [internal ticket. ](https://sentry.zendesk.com/agent/tickets/146345).

### Product Area

Issues

### Link

_No response_

### DSN

_No response_

### Version

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Issues workflow for “Resolve in current release” and the release:latest selection behavior described in the report. Compare how each determines the current release, then add coverage for releases created out of semantic-version order. Done means resolution uses the latest semantic version rather than creation time.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.