Refactor: Use status constants to define one another
What does this MR do and why?
Small refactoring to re-use status definitions.
This came about because I was wondering how cancelable and active differ while thinking about the active job limit which uses 'alive' pipelines in relation to cancelation. It turns out that we have two scopes that are the same cancelable
is also alive_or_scheduled
.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Allison Browne