Skip to content

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

Closed

Description

@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?

Activity

  1. alexr00 commented on Jul 22, 2026

    @alexr00
    Member

    Connor Peet (@connor4312) are you the owner of this package? This is likely breaking our extension pipelines and PR checks.

  2. added 2 commits that reference this issue on Jul 22, 2026
    2d11b92
    ad779a2
  3. added a commit that references this issue on Jul 23, 2026
    493cd7b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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