Specific projects MR failing to squash
Summary
On some projects on GitLab.com, users are getting a Merge failed: Failed to squash. Should be done manually.. Please try again.
Example Project
Internal links:
- customer ticket: https://gitlab.zendesk.com/agent/tickets/132381
- Kibana log: https://log.gitlab.net/goto/f9445e8ce297b9dedd6ee4a7b4fd386c
For this customer, it's happening on every MR. Kibana log shows some other instances though aside from the one project.
Example log message:
{"severity":"ERROR","time":"2019-09-17T18:57:18.197Z","correlation_id":"jGs32ShK7l6","message":"MergeRequests::SquashService error (group/project!MR): Failed to squash merge request group/project!MR:","tag":"rails.git","environment":"gprd","hostname":"sidekiq-realtime-01-sv-gprd","fqdn":"sidekiq-realtime-01-sv-gprd.c.gitlab-production.internal","path":null,"params":null}
However, we cannot reproduce on test projects.
What is the current bug behavior?
Get the failed to squash error and source branch is not deleted.
Oddly, the commit we're seeing in the customer's MR 2335 results in a single commit with the MR's title, so it looks like the squash commit is working.
What is the expected correct behavior?
No error is thrown and source branch is deleted.
Output of checks
GitLab.com, GitLab Enterprise Edition 12.3.0-pre 32dae283
Edited by Cynthia "Arty" Ng