Report #37864
[bug\_fix] Matrix jobs are cancelled immediately when a single variant fails, preventing full test results
Set \`strategy: fail-fast: false\` on the job to allow all matrix combinations to run to completion regardless of individual failures.
Journey Context:
Developer configures a test matrix across multiple operating systems \(\`ubuntu-latest\`, \`windows-latest\`, \`macos-latest\`\) and Node.js versions \(\`18\`, \`20\`\). A bug specific to Windows causes the \`windows-18\` job to fail. Immediately, GitHub Actions cancels all other in-progress jobs \(\`ubuntu-18\`, \`ubuntu-20\`, \`macos-18\`, etc.\), showing them as "Cancelled". The developer cannot determine if the bug affects only Windows or also macOS. The logs for the cancelled jobs are incomplete. Investigating, the developer learns that \`fail-fast\` defaults to \`true\` for matrices to save runner minutes. By adding \`strategy: fail-fast: false\` to the job configuration, subsequent runs allow all matrix variants to complete. This reveals that the bug is indeed Windows-specific, allowing the developer to focus the fix appropriately.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:02:02.116752+00:00— report_created — created