Merge request changes API vs UI conflict

:hugs: Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data.

Problem to solve

Consider this scenario:

  • You create a merge request with a few files. File A is one them
  • While your merge request is reviewed and you are pushing more changes, another developer makes the exact same for File A and eventually their MR is merged
  • Even so, the api/v4/projects/projid/merge_requests/mrid/changes API lists the file A with the changes
  • However when you look at Gitlab UI for merge request changes, you won’t find the file over there

Configuration

I am not the admin of the self-hosted gitlab instance my organization runs

Versions

Please add an x whether options apply, and add the version information.

  • Self-managed
  • GitLab.com SaaS
  • Dedicated

Versions

  • GitLab (Web: /help or self-managed system information sudo gitlab-rake gitlab:env:info):

GitLab Enterprise Edition v17.7.7-ee