From 04a54e3ecf1cae6f360bc3586c64cdeb706bb4d7 Mon Sep 17 00:00:00 2001 From: MK Date: Fri, 29 May 2026 15:54:52 +0800 Subject: [PATCH 1/2] ci: pin setup-vp to cache reserve-race warning fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The matrix CI jobs that share a setup-vp cache key (same OS/arch/lockfile across Node versions) race to save it; the losers emitted noisy "Cache save failed or was skipped." warning annotations even though caching worked. Pin setup-vp to the fix commit to verify the warnings are gone in this PR's CI run. Temporary SHA pin — revert to @v1 once voidzero-dev/setup-vp#75 is merged and the v1 tag is re-cut. --- .github/workflows/nodejs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 873fa0e4..ef983a36 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@v1 + uses: voidzero-dev/setup-vp@b250484f0d7da679524e2f30c1330935444328f9 # fix: silence benign cache reserve-race warnings (voidzero-dev/setup-vp#75); revert to @v1 after release with: node-version: '24' cache: true @@ -58,7 +58,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@v1 + uses: voidzero-dev/setup-vp@b250484f0d7da679524e2f30c1330935444328f9 # fix: silence benign cache reserve-race warnings (voidzero-dev/setup-vp#75); revert to @v1 after release with: node-version: ${{ matrix.node }} cache: true From 88ee44b3c62b6ddd4eb3f60ba8b8745d2e47e4ca Mon Sep 17 00:00:00 2001 From: MK Date: Fri, 29 May 2026 16:40:20 +0800 Subject: [PATCH 2/2] ci: bump pinned setup-vp to include the bundler keepNames fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit setup-vp 6cb180a additionally fixes the @actions/cache "Failed to save: Unable to reserve cache…" warning, which was caused by class-name mangling in the action bundle (error.name === ReserveCacheError.name never matched). Temporary SHA pin — revert to @v1 once voidzero-dev/setup-vp#75 is merged and the v1 tag is re-cut. --- .github/workflows/nodejs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ef983a36..d2f42089 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@b250484f0d7da679524e2f30c1330935444328f9 # fix: silence benign cache reserve-race warnings (voidzero-dev/setup-vp#75); revert to @v1 after release + uses: voidzero-dev/setup-vp@6cb180a2f884264930ebcd4169f924720120c4b4 # fix: silence benign cache reserve-race warnings (voidzero-dev/setup-vp#75); revert to @v1 after release with: node-version: '24' cache: true @@ -58,7 +58,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@b250484f0d7da679524e2f30c1330935444328f9 # fix: silence benign cache reserve-race warnings (voidzero-dev/setup-vp#75); revert to @v1 after release + uses: voidzero-dev/setup-vp@6cb180a2f884264930ebcd4169f924720120c4b4 # fix: silence benign cache reserve-race warnings (voidzero-dev/setup-vp#75); revert to @v1 after release with: node-version: ${{ matrix.node }} cache: true