Fix macOS test launch with VS Code 1.131 - #1684
Merged
StellaHuang95 merged 1 commit intoJul 31, 2026
Merged
Conversation
Upgrade @vscode/test-electron to 3.1.0 so macOS CI resolves the executable declared by VS Code 1.131 instead of the removed Electron compatibility path. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 39dcc6a3-0fbd-4f36-9d0f-68677de49c27
edvilme
approved these changes
Jul 31, 2026
eleanorjboyd
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
VS Code 1.131 removed the legacy
Contents/MacOS/Electroncompatibility path from its macOS application bundle.@vscode/test-electron2.5.2 still launches that hard-coded path, so all macOS smoke jobs fail withENOENTbefore VS Code or the extension starts.This currently blocks the macOS checks on #1656. The upstream issue and fix are microsoft/vscode-test#349 and microsoft/vscode-test#350.
What
Upgrade
@vscode/test-electronfrom 2.5.2 to 3.1.0 and refresh the lockfile. Version 3.1.0 resolves the macOS executable fromCFBundleExecutableinInfo.plist, with the oldElectronpath retained as a fallback for older VS Code builds.This is a development-only dependency change. Version 3.1.0 requires Node 22, which is already used by CI.
Validation
npm run compile-testsnpm run unittest— 1469 passing, 0 failing, 5 pending