From 6dc00c3171512550278bb6bed862d930427d66d8 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Wed, 29 Jul 2026 16:23:43 +0000 Subject: [PATCH] Pin test VS Code version to 1.130.0 to unbreak macOS CI The installed @vscode/test-electron cannot launch the VS Code 1.131.0 macOS arm64 bundle (spawn Electron ENOENT), which fails the integration-test steps on every run. Pin the downloaded test VS Code to 1.130.0 (the last release that launches) until @vscode/test-electron is bumped to handle newer stable releases. --- Extension/.scripts/vscode.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Extension/.scripts/vscode.ts b/Extension/.scripts/vscode.ts index 9be75a371..f77638ef2 100644 --- a/Extension/.scripts/vscode.ts +++ b/Extension/.scripts/vscode.ts @@ -15,7 +15,12 @@ export const extensionsDir = resolve(isolated, 'extensions'); export const userDir = resolve(isolated, 'user-data'); export const settings = resolve(userDir, "User", 'settings.json'); +// Pin the test VS Code build; the newest stable can ship a bundle layout that the installed +// @vscode/test-electron fails to launch (macOS arm64 1.131.0 spawns Electron with ENOENT). +export const testVSCodeVersion = '1.130.0'; + export const options = { + version: testVSCodeVersion, cachePath: `${isolated}/cache`, launchArgs: ['--no-sandbox', '--disable-updates', '--skip-welcome', '--skip-release-notes', '--disable-extensions', `--extensions-dir=${extensionsDir}`, `--user-data-dir=${userDir}`, '--disable-workspace-trust'] };