@devries-cameron20 / t3code-1 / commits / b90e554e0a
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

ci(release): macOS arm64 stops compressing a pnpm store it cannot save (#31955)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Theo Browne committed Nov 6, 2026 at 13:09 UTC b90e554e0a942605c4de2d4ff5d4654caf998e27
3 files changed +16 -1
.github/actions/setup-ci-deps/action.yml
+7 -1
@@ -13,6 +13,10 @@ inputs:
13 description: Arguments for `vp install`, such as filters. Empty installs the whole workspace.
14 required: false
15 default: ""
16 + save-pnpm-store:
17 + description: Set to "false" when a concurrent job with the same install args saves the pnpm store
18 + required: false
19 + default: "true"
20 runs:
21 using: composite
22 steps:
@@ -125,9 +129,11 @@ runs:
129 # A filtered install that started from the current full store adds nothing
130 # worth a second copy of it. A stacked PR, based on a branch other than the
131 # default, saves a ~1 GB store only its own reruns can read, so it only restores.
132 + # Concurrent jobs with the same install args reserve one key, so the losers
133 + # compress the store for nothing; all but one pass save-pnpm-store: false.
134 - name: Save pnpm store
135 if: >-
130 - inputs.install == 'true' &&
136 + inputs.install == 'true' && inputs.save-pnpm-store == 'true' &&
137 (github.event_name != 'pull_request' || github.base_ref == github.event.repository.default_branch) &&
138 steps.pnpm_cache.outputs.cache-hit != 'true' &&
139 (steps.pnpm_store.outputs.namespace == 'full' ||
.github/workflows/release-desktop.yml
+7
@@ -77,6 +77,12 @@ on:
77 required: false
78 default: ""
79 type: string
80 + # Whether this job saves the workspace pnpm store. Release's two Macs
81 + # install the same store on the same runner type, so only one saves it.
82 + save_pnpm_store:
83 + required: false
84 + default: true
85 + type: boolean
86 version:
87 required: true
88 type: string
@@ -160,6 +166,7 @@ jobs:
166 uses: ./.github/actions/setup-ci-deps
167 with:
168 install-args: --filter=@t3tools/desktop... --filter=t3... --filter=@t3tools/scripts...
169 + save-pnpm-store: ${{ inputs.save_pnpm_store }}
170 env:
171 pnpm_config_cache_dir: ${{ runner.temp }}/pnpm-metadata
172
.github/workflows/release.yml
+2
@@ -653,6 +653,8 @@ jobs:
653 resource_key: darwin-arm64
654 cli_archive: true
655 launch_check: true
656 + # desktop_mac_x64 saves the shared pnpm store; this job finishes last.
657 + save_pnpm_store: false
658
659 desktop_mac_x64:
660 name: Desktop macOS x64