Skip to content

CI_JOB_STATUS variable value should be `canceled` while canceling

Summary

$CI_JOB_STATUS is set to failed while the job is canceling but it is documented as being canceled.

Why is this important? to allow users to opt-out of the breaking change.

Actual behavior

$CI_JOB_STATUS is set to failed while the job is canceling

Expected behavior

$CI_JOB_STATUS is set to canceled while the job is canceling

See the documentation for $CI_JOB_STATUS predefined variables.

Relevant logs and/or screenshots

Screenshot_2024-04-15_at_11.45.03_AM

Used GitLab Runner version

Bleeding edge runner gitlab-runner HEAD-698b7cd

Possible fixes

Edited by Allison Browne