Skip to content

Commit 20d88e8

Browse files
jackcclaude
andcommitted
ci: do not cancel the rest of the matrix on the first failure
A failure on one Go or PostgreSQL version says nothing about the others, so cancelling the remaining jobs only throws away information. Worse, a cancelled job reports "Process completed with exit code 143" instead of the failure that caused the cancellation, so a single flake made the whole run look broken in a way that obscured the real cause. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent bc03ad9 commit 20d88e8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
runs-on: ubuntu-22.04
1313

1414
strategy:
15+
# A failure in one matrix job says nothing about the others, and cancelled jobs report a confusing "exit code
16+
# 143" instead of the actual failure. Let every job run so a single failure gives complete information.
17+
fail-fast: false
1518
matrix:
1619
go-version: ["1.25", "1.26"]
1720
pg-version: [14, 15, 16, 17, 18, cockroachdb]
@@ -132,6 +135,7 @@ jobs:
132135
name: Test Windows
133136
runs-on: windows-latest
134137
strategy:
138+
fail-fast: false
135139
matrix:
136140
go-version: ["1.25", "1.26"]
137141

0 commit comments

Comments
 (0)