Changes tab does not show merge conflict in diff (invalid cache key for diffs_batch)
We don't update the cache key for the diffs_batch.json endpoint for Merge Requests when diff has conflicts. This causes for the 'Changes' tab to show irrelevant results without the conflicts.
To reproduce:
- Create a branch with changes
- Create a merge requests for that branch
- Open the 'Changes' tab, observe changes
- Change the same lines in the target branch
- Refresh the 'Changes' tab
- Observe no conflicts in the diff
- Observe
diffs_batch.jsonresponse coming from disk cache, not from the server
Edited by 🤖 GitLab Bot 🤖
