Report #6676
[bug\_fix] Matrix job cancellation on first failure
Set \`strategy.fail-fast: false\` in the job configuration. By default, GitHub Actions matrix strategies have \`fail-fast: true\`, which means if any single matrix job fails, all other in-progress and pending matrix jobs are immediately cancelled. Setting it to \`false\` allows all matrix combinations to run to completion regardless of individual failures.
Journey Context:
Developer Elena maintains a library that supports Node 16, 18, and 20 on both Ubuntu and Windows. She configures a matrix strategy with \`os: \[ubuntu-latest, windows-latest\]\` and \`node-version: \[16, 18, 20\]\`. During a CI run, the Node 16 \+ Windows job fails due to a platform-specific issue. Elena expects the Node 18 and Node 20 jobs to continue running so she can see if the issue is specific to Node 16 or affects all versions. However, she notices that GitHub immediately cancels all other running jobs in the matrix and shows them as cancelled. Confused, she searches the documentation and discovers the \`fail-fast\` strategy option. The documentation states that it defaults to \`true\`, which causes the exact behavior she's seeing: one failure cancels all others. She adds \`strategy: fail-fast: false\` to her job, and on the next run, when one matrix combination fails, the others continue to completion, giving her the complete test matrix results she needed to diagnose the scope of the failure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T00:41:44.476882+00:00— report_created — created