mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(ci): rotate stale dependency snapshot (#122921)
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
committed by
GitHub
parent
c43847313d
commit
9992b893e7
@@ -126,13 +126,13 @@ runs:
|
|||||||
if: inputs.sticky-disk == 'true'
|
if: inputs.sticky-disk == 'true'
|
||||||
uses: useblacksmith/stickydisk@6d373c96a74cbde0c99fedc5ea5d3a7ba66ba494 # main (post-v1.4.0 hot-attach fix)
|
uses: useblacksmith/stickydisk@6d373c96a74cbde0c99fedc5ea5d3a7ba66ba494 # main (post-v1.4.0 hot-attach fix)
|
||||||
with:
|
with:
|
||||||
# One stable disk per Node line. v6 starts a fresh lineage for the
|
# One stable disk per Node line. v7 starts a fresh lineage for the
|
||||||
# preflight-serialized writer after Blacksmith acknowledged repeated v5
|
# preflight-serialized writer after Blacksmith acknowledged repeated v6
|
||||||
# commits but kept restoring its original snapshot. The v2 per-PR/per-manifest-hash keys
|
# commits but kept restoring its original snapshot. The v2 per-PR/per-manifest-hash keys
|
||||||
# saturated Blacksmith's installation-wide sticky-disk budget. Install
|
# saturated Blacksmith's installation-wide sticky-disk budget. Install
|
||||||
# inputs, runner platform, and the exact Node patch live in the runtime
|
# inputs, runner platform, and the exact Node patch live in the runtime
|
||||||
# marker below, so changes refresh this disk in place.
|
# 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
|
path: /var/tmp/openclaw-node-deps
|
||||||
# Single semantic writer: only the designated trusted-push job may
|
# Single semantic writer: only the designated trusted-push job may
|
||||||
# commit, so pull_request clones stay read-only. Like every sticky
|
# commit, so pull_request clones stay read-only. Like every sticky
|
||||||
|
|||||||
@@ -19,6 +19,11 @@
|
|||||||
"architecture": "amd64",
|
"architecture": "amd64",
|
||||||
"region": "eu-west"
|
"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",
|
"key": "openclaw/openclaw-vitest-fs-v2-protected-Linux-X64-node-24.x",
|
||||||
"architecture": "amd64",
|
"architecture": "amd64",
|
||||||
|
|||||||
@@ -3050,7 +3050,7 @@ NODE
|
|||||||
// per-PR/per-manifest-hash keys saturated that cap. Install inputs and exact
|
// per-PR/per-manifest-hash keys saturated that cap. Install inputs and exact
|
||||||
// runtime patches belong in the marker, not the backing-disk key.
|
// runtime patches belong in the marker, not the backing-disk key.
|
||||||
expect(mountStep.with.key).toBe(
|
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(
|
expect(mountStep.with.commit).toBe(
|
||||||
"${{ inputs.save-sticky-disk == 'true' && github.event_name != 'pull_request' && 'on-change' || 'false' }}",
|
"${{ inputs.save-sticky-disk == 'true' && github.event_name != 'pull_request' && 'on-change' || 'false' }}",
|
||||||
|
|||||||
Reference in New Issue
Block a user