From b17769b930bccfe4ab6016ddd26090c35cfb2f99 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Wed, 10 Jun 2026 22:45:42 +0100 Subject: [PATCH] ci: disable fail-fast for CI matrix jobs By default GitHub Actions cancels all in-progress and queued matrix legs as soon as one leg fails (fail-fast: true). Re-running only the failed job afterwards does not bring back the cancelled siblings, so recovering from a single failure requires re-running the whole job. Cancelling the siblings also hides information: whether the other shards or environments would have passed or failed is exactly what we want to know from a CI run, not something to discard on the first failure. Set fail-fast: false on the matrix jobs that were still inheriting the default, so every leg runs to completion independently. Assisted-by: Claude Code:claude-opus-4-8 Signed-off-by: Radostin Stoyanov --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b09c8cab8..4b1e976ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ jobs: alpine-test: name: Alpine Test (${{ matrix.target }}, ${{ matrix.shard_name }}) strategy: + fail-fast: false matrix: os: [ubuntu-22.04] target: [GCC=1, CLANG=1] @@ -39,6 +40,7 @@ jobs: name: Alpine Test ARM64 needs: [alpine-test] strategy: + fail-fast: false matrix: os: [ubuntu-22.04-arm] target: [GCC=1, CLANG=1] @@ -51,6 +53,7 @@ jobs: aarch64-test: needs: [alpine-test] strategy: + fail-fast: false matrix: os: [ubuntu-24.04-arm, ubuntu-22.04-arm] target: [GCC=1, CLANG=1] @@ -73,6 +76,7 @@ jobs: # caused by upstream package churn are outside CRIU's control. continue-on-error: true strategy: + fail-fast: false matrix: shard: [0, 1, 2, 3, 4] include: @@ -103,6 +107,7 @@ jobs: runs-on: ubuntu-24.04 timeout-minutes: 60 strategy: + fail-fast: false matrix: version: [9, 10] steps: @@ -124,6 +129,7 @@ jobs: needs: [alpine-test] runs-on: ubuntu-22.04 strategy: + fail-fast: false matrix: target: [GCC, CLANG] steps: @@ -162,6 +168,7 @@ jobs: needs: [alpine-test] runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [ubuntu-22.04] steps: @@ -182,6 +189,7 @@ jobs: needs: [alpine-test] runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: include: - os: ubuntu-22.04