From 9992b893e790b9c0233ba28106c46843387544a9 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 12 Aug 2026 19:23:33 -0700 Subject: [PATCH] fix(ci): rotate stale dependency snapshot (#122921) Co-authored-by: Amp --- .github/actions/setup-node-env/action.yml | 6 +++--- .github/retired-sticky-disks.json | 5 +++++ test/scripts/ci-workflow-guards.test.ts | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup-node-env/action.yml b/.github/actions/setup-node-env/action.yml index 6ba48e203dd0..7e404d640b60 100644 --- a/.github/actions/setup-node-env/action.yml +++ b/.github/actions/setup-node-env/action.yml @@ -126,13 +126,13 @@ runs: if: inputs.sticky-disk == 'true' uses: useblacksmith/stickydisk@6d373c96a74cbde0c99fedc5ea5d3a7ba66ba494 # main (post-v1.4.0 hot-attach fix) with: - # One stable disk per Node line. v6 starts a fresh lineage for the - # preflight-serialized writer after Blacksmith acknowledged repeated v5 + # One stable disk per Node line. v7 starts a fresh lineage for the + # preflight-serialized writer after Blacksmith acknowledged repeated v6 # commits but kept restoring its original snapshot. The v2 per-PR/per-manifest-hash keys # saturated Blacksmith's installation-wide sticky-disk budget. Install # inputs, runner platform, and the exact Node patch live in the runtime # marker below, so changes refresh this disk in place. - key: ${{ github.repository }}-node-deps-bind-v6-${{ inputs.node-version }} + key: ${{ github.repository }}-node-deps-bind-v7-${{ inputs.node-version }} path: /var/tmp/openclaw-node-deps # Single semantic writer: only the designated trusted-push job may # commit, so pull_request clones stay read-only. Like every sticky diff --git a/.github/retired-sticky-disks.json b/.github/retired-sticky-disks.json index a3b42c52fc28..579cfd1a981d 100644 --- a/.github/retired-sticky-disks.json +++ b/.github/retired-sticky-disks.json @@ -19,6 +19,11 @@ "architecture": "amd64", "region": "eu-west" }, + { + "key": "openclaw/openclaw-node-deps-bind-v6-24.x", + "architecture": "amd64", + "region": "eu-west" + }, { "key": "openclaw/openclaw-vitest-fs-v2-protected-Linux-X64-node-24.x", "architecture": "amd64", diff --git a/test/scripts/ci-workflow-guards.test.ts b/test/scripts/ci-workflow-guards.test.ts index 4ff98904556d..b3b05e311f82 100644 --- a/test/scripts/ci-workflow-guards.test.ts +++ b/test/scripts/ci-workflow-guards.test.ts @@ -3050,7 +3050,7 @@ NODE // per-PR/per-manifest-hash keys saturated that cap. Install inputs and exact // runtime patches belong in the marker, not the backing-disk key. expect(mountStep.with.key).toBe( - "${{ github.repository }}-node-deps-bind-v6-${{ inputs.node-version }}", + "${{ github.repository }}-node-deps-bind-v7-${{ inputs.node-version }}", ); expect(mountStep.with.commit).toBe( "${{ inputs.save-sticky-disk == 'true' && github.event_name != 'pull_request' && 'on-change' || 'false' }}",