Skip to content

@vscode/test-electron uses obsolete macOS executable path #349

Description

@aasimkhan30

@vscode/test-electron 3.0.0 still launches macOS builds using:

Visual Studio Code - Insiders.app/Contents/MacOS/Electron

Current builds use the product name instead:

Visual Studio Code - Insiders.app/Contents/MacOS/Code - Insiders

This causes tests to fail before startup:

Error: spawn .../Contents/MacOS/Electron ENOENT
Exit code: -2

VS Code renamed the executable in microsoft/vscode#291948:

  • Commit: microsoft/vscode@d0e5166
  • Merged: February 3, 2026
  • 1.109.x was the last version using Electron; later versions use product.nameShort.

A temporary Electron compatibility symlink was removed in microsoft/vscode#326502:

Could the macOS executable resolver read CFBundleExecutable or product.nameShort, with Electron as a fallback for older builds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions