From c213bcd07ca775215d466a167445e74fbd7056cc Mon Sep 17 00:00:00 2001 From: Khaliq Date: Sun, 15 Nov 2026 11:22:14 -0800 Subject: [PATCH] ci(fast-path): never save caches; per-run concurrency The fast path builds unreviewed refs, so it must not save into caches that normal CI restores. The workflow concurrency group gets github.run_id so a later dispatch cannot cancel a run that is waiting for approval. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/fast-path.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/fast-path.yml b/.github/workflows/fast-path.yml index 2a05d45..09de30e 100644 --- a/.github/workflows/fast-path.yml +++ b/.github/workflows/fast-path.yml @@ -24,8 +24,10 @@ on: required: true permissions: contents: read +# run_id keeps each dispatch in its own group: a ref-keyed group would let +# a later dispatch cancel one that is still waiting for approval. concurrency: - group: fast-path-${{ inputs.ref }} + group: fast-path-${{ inputs.ref }}-${{ github.run_id }} cancel-in-progress: false env: NPM_CONFIG_FUND: false @@ -44,7 +46,6 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "20" - cache: npm - run: npm ci - run: npm run lint - run: npm run typecheck @@ -66,7 +67,6 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "22" - cache: npm - run: npm ci - run: npm run build - run: npm run test:run @@ -81,7 +81,6 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "22.14.0" - cache: npm - run: npm ci - name: Set the fast version id: version