The CI Challenge: save 10% or get $1,000

Gate aggregate jobs on !cancelled() so cancelled runs skip them

A cancelled run ends without assigning runners to its aggregate jobs.

How OpenClaw used this technique

Read what OpenClaw changed and follow the original sources.

Gate aggregate jobs on !cancelled() so cancelled runs skip them

A cancelled run ends without assigning runners to its aggregate jobs.

On a superseded run, all 23 old jobs ended cancelled and the four aggregate jobs had no runner assigned. Source

Use it when
Your CI cancels superseded runs and has verdict or aggregate jobs gated with if: always().
Before applying it
In any run that was not itself cancelled, a dependency that ended red, cancelled or skipped still turns the aggregate red.

Company Playbooks