The spinner on "Add to merge train" button spins indefinitely
Problem
Initially reported at https://gitlab.slack.com/archives/CBZGR90A2/p1568044874112000
As one of the gitlab-com/www-gitlab-com#5177 (closed) feedback, it seems that sometimes the spinner on "Add to merge train" button spins indefinitely.
We do not have a clue how/when this happens, also we do not know if this is frontend or backend bug yet.
Steps to reproduce
-
Create a new project and enable "Merge pipelines will try to validate the post-merge result prior to merging"
-
Add the following
.gitlab-ci.ymlfile. Note that the job does not haveonly: [merge_requests]:my job: script: - echo "Hello, world" -
Create a new merge request and wait until the MR's pipeline completes.
-
Click the "Start merge train" button
-
If the text changes to "Added to the merge train by ", click "Remove from merge train"
-
Repeat steps 4 and 5 until the "Start merge train" button spins indefinitely. I find it usually takes 3 or 4 replications to get to this state.
Proposal
TBD
Workaround
Uncheck squash and merge, per #24084 (comment 236696568)
