By default, if one job in a matrix strategy fails, what happens to the remaining matrix jobs?
Select an answer to reveal the explanation.
Short Explanation and Infographic
GitHub Actions fails fast by default — one broken matrix cell cancels the rest. Set 'fail-fast: false' to let all cells run to completion.
Full explanation below image
Full Explanation
The 'strategy.fail-fast' property defaults to 'true', meaning GitHub Actions will cancel all in-progress and queued matrix jobs if any job in the matrix fails. This saves runner minutes when you know a failure affects all variants. Setting 'fail-fast: false' allows all matrix combinations to run to completion regardless of individual failures — useful for gathering comprehensive test results across environments. The default fast-fail behavior does not retry jobs or require manual intervention.