Skip to content

Commit 0c7a60d

Browse files
authored
Pin test VS Code version to 1.130.0 to unbreak macOS CI (#14618)
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.
1 parent 5f0a3f4 commit 0c7a60d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Extension/.scripts/vscode.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ export const extensionsDir = resolve(isolated, 'extensions');
1515
export const userDir = resolve(isolated, 'user-data');
1616
export const settings = resolve(userDir, "User", 'settings.json');
1717

18+
// Pin the test VS Code build; the newest stable can ship a bundle layout that the installed
19+
// @vscode/test-electron fails to launch (macOS arm64 1.131.0 spawns Electron with ENOENT).
20+
export const testVSCodeVersion = '1.130.0';
21+
1822
export const options = {
23+
version: testVSCodeVersion,
1924
cachePath: `${isolated}/cache`,
2025
launchArgs: ['--no-sandbox', '--disable-updates', '--skip-welcome', '--skip-release-notes', '--disable-extensions', `--extensions-dir=${extensionsDir}`, `--user-data-dir=${userDir}`, '--disable-workspace-trust']
2126
};

0 commit comments

Comments
 (0)