https://gitlab.com/gitlab-org/gitlab-ee/commit/de306cfbe42a511bd6ef720fbe875405ce38a30e#note_149753664