Skip to content

Commit 6ef1b01

Browse files
Merge branch 'main' into pokey/document-puff-float-and-drop
2 parents 55f936d + f9b20ba commit 6ef1b01

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/test-harness/src/launchVscodeAndRunTests.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,15 @@ export async function launchVscodeAndRunTests(extensionTestsPath: string) {
3535
// NB: We include the exact version here instead of in `test.yml` so that
3636
// we don't have to update the branch protection rules every time we bump
3737
// the legacy VSCode version.
38-
const vscodeVersion = useLegacyVscode ? "1.82.0" : "stable";
38+
39+
// NB: Because of a CI crashing issue the vscode version is pinned.
40+
// https://github.com/cursorless-dev/cursorless/issues/2878
41+
42+
const vscodeVersion = useLegacyVscode
43+
? "1.82.0"
44+
: os.platform() === "win32"
45+
? "stable"
46+
: "1.97.2";
3947
const vscodeExecutablePath = await downloadAndUnzipVSCode(vscodeVersion);
4048
const [cli, ...args] =
4149
resolveCliArgsFromVSCodeExecutablePath(vscodeExecutablePath);

0 commit comments

Comments
 (0)