Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/sentry/models/groupresolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ def compare_release_dates_for_in_next_release(res_release, res_release_datetime,
# We still fallback to the older model if either current_release_version was not set (
# i.e. In all resolved cases except for Resolved in Next Release) or if for whatever
# reason the semver/date checks fail (which should not happen!)
if res_type in (None, cls.Type.in_next_release):
# todo(roggenkemper): remove upcoming_release check after we know that no group resolutions have it
if res_type in (None, cls.Type.in_next_release, cls.Type.in_upcoming_release):
Copy link
Member

Choose a reason for hiding this comment

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

is there any test we can add for this (as a follow up).

# Add metric here to ensure that this code branch ever runs given that
# clear_expired_resolutions changes the type to `in_release` once a Release instance
# is created
Expand Down