Unable to apply suggestions

Summary

On Canary I seem to be unable to apply suggestions. Clicking on apply results in a 400. It's possible this is because the service is returning that there is now a conflict, in that case the "please try again" error message is unhelpful and confusing.

Steps to reproduce

  1. Enable Canary (this may not be needed)
  2. Visit gitlab-com/www-gitlab-com!17507 (merged)
  3. Click on Apply Suggestion
  4. See error:

image

On the backend:

image

image

Example Project

N/A

What is the current bug behavior?

Error message received

What is the expected correct behavior?

Change applied

Relevant logs and/or screenshots

Already pasted above

Output of checks

N/A

Results of GitLab environment info

N/A

Results of GitLab application Check

N/A

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited by Jason Yavorsky