Cant unmerge some issues that had been previously merged
- 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
There seems to be issues that cannot be unmerged in issues/{groupId}/merged view. All I get is "already being merged". Only appears to happen when issues appear inside issues{groupId}/merged view that are not associated with the same groupId therefore a grouphash record cannot be found.
### Expected Result
Should be able to unmerge all issues.
### Actual Result
Cant unmerge all issues. Some show as "already being merged".
### Product Area
Unknown
### Link
_No response_
### DSN
_No response_
### Version
_No response_
Contributor guide
Research direction
Start by tracing the unmerge action from the issues/{groupId}/merged view and inspect how it handles issues whose grouphash record is not found. Reproduce the "already being merged" response with an affected merged issue, then verify that every issue in the view can be unmerged successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100