From 872aaa00235160828ee84b933e055b7a96d091a4 Mon Sep 17 00:00:00 2001 From: Qiyuanqiii <267806965+Qiyuanqiii@users.noreply.github.com> Date: Thu, 22 Oct 2026 05:05:40 +0800 Subject: [PATCH] fix(ci): cancel superseded aggregate jobs --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ffe8baac..379ce765 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -293,7 +293,8 @@ jobs: go: name: Go control plane needs: [classify, go-checks, store-tests, go-race, go-audit] - if: ${{ always() }} + # Report failed checks, but release the concurrency slot when superseded. + if: ${{ !cancelled() }} runs-on: ubuntu-latest steps: - name: Require every selected Go gate @@ -979,7 +980,7 @@ jobs: full-ci: name: Full CI verification needs: [classify, go, code-intel-lsp, web, rust, desktop-macos, desktop, ui-evidence-windows] - if: ${{ always() && needs.classify.outputs.full == 'true' }} + if: ${{ !cancelled() && needs.classify.outputs.full == 'true' }} runs-on: ubuntu-latest steps: - name: Require the complete integration and platform matrix