Skip to content

Fix runner eternal loop when update job result

What does this MR do?

This is a quick fix for the recent incident that a few GitLab runners stuck at eternal loop.

There was a bug in a state machine logic in Ci::Build. In a rare condition, deployment cannot update its status with drop method, thus build.drop! kept failing.

What are the relevant issue numbers?

Close https://gitlab.com/gitlab-org/gitlab-ce/issues/56518

Does this MR meet the acceptance criteria?

Edited by Shinya Maeda

Merge request reports