Skip to content

ci: avoid cancelling other nightly-gauntlet jobs on failure #16795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Mar 4, 2025

I saw in a failing nightly-gauntlet that the macOS+Postgres tests failing caused the Windows tests to get cancelled: https://github.com/coder/coder/actions/runs/13645971060

There's no harm in letting the other test run, and will let us catch additional flakes & failures. If one job fails, the whole matrix will still fail (once the remaining tests in the matrix have completed) and the slack notification will still be sent.
We previously made this change on our on-push ci workflow.

Relevant documentation:

jobs.<job_id>.strategy.fail-fast applies to the entire matrix. If jobs.<job_id>.strategy.fail-fast is set to true or its expression evaluates to true, GitHub will cancel all in-progress and queued jobs in the matrix if any job in the matrix fails. This property defaults to true.

https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson marked this pull request as ready for review March 4, 2025 04:29
Copy link
Contributor

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, thanks!

@dannykopping dannykopping merged commit d8561a6 into main Mar 4, 2025
41 checks passed
@dannykopping dannykopping deleted the ethan/nightly-fail-fast branch March 4, 2025 05:00
@github-actions github-actions bot locked and limited conversation to collaborators Mar 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants