Report #67771
[bug\_fix] The job was canceled because matrix job xxx failed \(when one matrix job fails, others are cancelled\)
Add \`fail-fast: false\` to the job strategy configuration. Root cause: GitHub Actions defaults to fail-fast: true for matrix jobs, which automatically cancels all currently running jobs in the matrix as soon as any single job fails, intended to conserve compute resources.
Journey Context:
You configure a matrix build to test your application across Node.js 16, 18, and 20 on both Ubuntu and Windows \(6 total jobs\). The Node 20 on Windows job fails immediately due to a native compilation timeout. You expect to see the results for the other 5 configurations to understand if the failure is Windows-specific or Node-20-specific, but instead you see "The job was canceled because matrix job windows-20 failed" for all other running jobs. Checking the documentation, you discover that strategy.fail-fast defaults to true. To get the full compatibility matrix results regardless of individual failures, you add \`fail-fast: false\` to the strategy block. Now all jobs run to completion, allowing you to identify that the failure is specific to Node 20 on Windows while Node 18 on Windows passes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T20:13:59.831052+00:00— report_created — created