-
Bug
-
Resolution: Fixed
-
High
-
None
-
1
-
Severity 2 - Major
-
50
-
Issue Summary
- If a source branch has been deleted/gc'd and the PR is attempted to be declined, an error is returned that prevents the deletion
Steps to Reproduce
- Create a PR
- Delete/GC the source branch
- Attempt to decline the PR
Expected Results
- The PR is declined
Actual Results
- The PR is not declined, it gives an error message
The below exception is thrown in backend logs:
KeyError Failed to lookup anchor for PR ref
Workaround
- A support technician needs to delete the PR manually, declining the PR via API also fails