Skip to content

Conversation

@scttcper
Copy link
Member

Fixes #104751

When a release is deleted but has GroupResolutions pointing to it, the resolution tracking data is lost. This causes false positive regressions when new events arrive from older releases - GroupResolution.has_resolution() can no longer determine that the issue was already resolved.

Now we check for ALL GroupResolutions (not just within 90 days) when determining if a release can be cleaned up.

Fixes #104751

When a release is deleted but has GroupResolutions pointing to it, the
resolution tracking data is lost. This causes false positive regressions
when new events arrive from older releases - GroupResolution.has_resolution()
can no longer determine that the issue was already resolved.

Now we check for ALL GroupResolutions (not just within 90 days) when
determining if a release can be cleaned up.
@scttcper scttcper requested review from a team, wedamija and yuvmen December 23, 2025 23:52
@scttcper scttcper requested a review from a team as a code owner December 23, 2025 23:52
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 23, 2025
Copy link
Member

@yuvmen yuvmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this makes sense. We will basically always be keeping releases that ever had issues resolved on them, but maybe thats ok. Lets do this and see what release cleanup looks like down the line.

@scttcper scttcper enabled auto-merge (squash) December 24, 2025 00:02
@scttcper scttcper merged commit 473b6bb into master Dec 24, 2025
94 of 98 checks passed
@scttcper scttcper deleted the scttcper/protect-group-resolutions-from-release-deletion branch December 24, 2025 01:29
@github-actions github-actions bot locked and limited conversation to collaborators Jan 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

False positive regression triggered due to release being deleted from Sentry.

3 participants