Skip to content

Commit fa5a7e8

Browse files
t3dotggclaude
andcommitted
perf(release): skip the MSVC Spectre install when the monitor is cached
Only the resource monitor build needs the Spectre-mitigated libraries. With a cached monitor, the desktop build's preflight already skips its MSVC check, and node-pty ships prebuilt Windows binaries, so nothing else compiles. This saves 30-60s per Windows job. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent eee98a3 commit fa5a7e8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/release-desktop.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,11 @@ jobs:
213213
name: cli-linux-${{ inputs.arch }}
214214
path: wsl-runtime
215215

216+
# Only the resource monitor build needs these libraries. With a cached
217+
# monitor, the desktop build's preflight skips its MSVC check, and node-pty
218+
# ships prebuilt Windows binaries, so the 30-60s install is skipped too.
216219
- name: Install Spectre-mitigated MSVC libs
217-
if: inputs.platform == 'win'
220+
if: inputs.platform == 'win' && steps.resource_monitor_cache.outputs.cache-hit != 'true'
218221
shell: pwsh
219222
run: |
220223
$vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"

0 commit comments

Comments
 (0)