Skip to content

Error using VS Code insders on macOS runners #355

Description

@rH4rtinger

I am using the following configuration of .vscode-test.mjs which uses the insiders version.

import { defineConfig } from "@vscode/test-cli";

export default defineConfig({
  files: "out/test/**/*.test.js",
  version: "insiders",
  mocha: {
    retries: 5,
    parallel: false,
  },
});

I execute the tests in a macos-latest pipeline via vscode-test script. I also tried to execute the tests executing in a macos-15 pipeline to validate it is not a macOS problem.

In both pipelines I get the following output:

> vscode-test

- Resolving version...
✔ Validated version: insiders
- Found at https://update.code.visualstudio.com/latest/darwin-arm64/insider?released=true
✔ Found at https://update.code.visualstudio.com/latest/darwin-arm64/insider?released=true
- Downloading (299.92 MB)
✔ Downloaded VS Code (07b4ff1883f94da91f6d698744fc7c3638b59720) into /Users/runner/work/vscode-logging/vscode-logging/.vscode-test/vscode-darwin-arm64-insiders
Test error: Error: spawn /Users/runner/work/vscode-logging/vscode-logging/.vscode-test/vscode-darwin-arm64-insiders/Visual Studio Code - Insiders.app/Contents/MacOS/Electron ENOENT
Exit code:   -2
Error: Process completed with exit code 1.

This makes it impossible to execute any tests on macOS with the insiders version.

The stable version does currently work, but I don't know if this issue will roll over to the next stable.

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