-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
When a project is in grouping config transition, we calculate old and new hashes, and link the new hashes to the group associated with the old hashes, so that future events go into the existing group.
We don't, however, do the same with tombstones. If a user delete-and-discards an issue whose hashes were calculated with the old config, those old hashes will be associated with a tombstone, but the new hashes won't get linked to the same tombstone, because tombstones aren't considered in the config transition process. This means that events which should remain blocked have the potential to show up again every time we introduce a new grouping config.
Fixing this should just be a matter of modifying find_grouphash_with_group here to return rather than error when a tombstone is found, and modifying the spots where it's used to check whether the returned grouphash has a group or tombstone associated and act accordingly.