Add a safeguard against non-matching diff discussion positions
What does this MR do and why?
Add a safeguard against non-matching diff discussion positions. Partial fix for Discussions are not assigned to force-pushed me... (#442022 - closed).
How to set up and validate locally
- Add a discussion to a diff line range
- Edit the selected line range and force push the branch
- No error should appear in console when opening MR after force push