Skip to content
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

Stop cancelling build matrix when one build fails #868

Merged
merged 1 commit into from
Apr 21, 2024
Merged

Conversation

normanmaurer
Copy link
Member

Motivation:

Motivation:
We unfortunately have a number of flaky tests haunting our builds. The GHA build matrix will by default cancel all matrix jobs when one job experiences a failure. This is unproductive with flaky tests, because the more failed builds that need to rerun, the higher the chances of more failures. Also, seeing builds pass on other JVM versions helps build confidence, even if other versions failed on a flaky test.

Modification:
Disable fail-fast on matrix-strategy builds.

Result:
Jobs in a matrix build no longer get cancelled if a sibling-job fails.

Motivation:

Motivation:
We unfortunately have a number of flaky tests haunting our builds. The
GHA build matrix will by default cancel all matrix jobs when one job
experiences a failure. This is unproductive with flaky tests, because
the more failed builds that need to rerun, the higher the chances of
more failures. Also, seeing builds pass on other JVM versions helps
build confidence, even if other versions failed on a flaky test.

Modification:
Disable fail-fast on matrix-strategy builds.

Result:
Jobs in a matrix build no longer get cancelled if a sibling-job fails.
@normanmaurer normanmaurer added this to the 2.0.66.Final milestone Apr 21, 2024
@normanmaurer normanmaurer merged commit 2d0f5c7 into main Apr 21, 2024
7 checks passed
@normanmaurer normanmaurer deleted the matrix branch April 21, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant