Pressing "Merge When Build succeeds" at the same exact time that a build is failing will merge the failed build
See title.
Happened on https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/2132
related: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4414