Skip to content

Fix macOS CI: upgrade test-electron and Node for VS Code binary rename - #640

Merged
robstryker merged 3 commits into
masterfrom
fix-macos-ci-electron-enoent
Aug 10, 2026
Merged

Fix macOS CI: upgrade test-electron and Node for VS Code binary rename#640
robstryker merged 3 commits into
masterfrom
fix-macos-ci-electron-enoent

Conversation

@robstryker

@robstryker robstryker commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #639

Test plan

  • macOS CI job passes (was consistently failing with spawn .../Contents/MacOS/Electron ENOENT)
  • Linux and Windows CI jobs still pass
  • Packaging job still produces a valid VSIX

🤖 Generated with Claude Code

VS Code 1.110+ renamed the macOS binary from Contents/MacOS/Electron
to Contents/MacOS/Code, and the compatibility symlink was removed on
2026-07-20 (microsoft/vscode#326502). This broke @vscode/test-electron
2.x which hardcodes the old path, causing ENOENT on macOS CI runners.

- Upgrade @vscode/test-electron from ^2.4.0 to ^3.1.0 (includes the
  fix from microsoft/vscode-test#350)
- Upgrade typescript from ^5.3.3 to ~5.9.3 (needed for Buffer generic
  syntax in the new test-electron type declarations)
- Bump CI Node version from 20 to 22 (required by test-electron 3.x)

Fixes #639

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The afterEach hook in extensionUITest looked for a "Clear Extensions
Search Results" button that may not exist (no search is performed in
these tests, and newer VS Code versions may omit or rename it). Wrap
in try/catch and add missing await on isEnabled().

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…Toolkit'

The extension displayName was renamed but RSP_CONNECTOR_NAME was not
updated, causing the "Server Connector extension is installed" test
to fail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@robstryker
robstryker merged commit 07ec482 into master Aug 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: macOS unit tests fail with ENOENT on Electron binary path

1 participant