Skip to content

build(deps-dev): bump @vscode/vsce from 3.9.1 to 3.9.2 and fix macOS CI test failure#75

Merged
unknowIfGuestInDream merged 3 commits into
masterfrom
dependabot/npm_and_yarn/vscode/vsce-3.9.2
Jun 5, 2026
Merged

build(deps-dev): bump @vscode/vsce from 3.9.1 to 3.9.2 and fix macOS CI test failure#75
unknowIfGuestInDream merged 3 commits into
masterfrom
dependabot/npm_and_yarn/vscode/vsce-3.9.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 3, 2026

Bumps @vscode/vsce from 3.9.1 to 3.9.2.


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Additional fix: macOS CI test failure

The npm run test job was failing on macOS with Error: listen EINVAL because the VS Code IPC Unix domain socket path exceeded the 103-character limit. The default --user-data-dir (.vscode-test/user-data) lives under the long GitHub runner workspace path, making the socket path too long.

  • Converted .vscode-test.json to .vscode-test.mjs so the config can compute a cross-platform short path.
  • Set --user-data-dir to a short OS temp directory (via os.tmpdir() + mkdtempSync) through launchArgs, keeping the socket path well under the limit on all platforms.
  • Cleaned up the temporary user-data directory on process exit to avoid leaving artifacts behind.
  • Updated the test npm script to reference the new .vscode-test.mjs config file.

Validated locally: compile succeeds, the config loads via defineConfig, and the test suite passes (3 passing) under xvfb.

Bumps [@vscode/vsce](https://github.com/Microsoft/vsce) from 3.9.1 to 3.9.2.
- [Release notes](https://github.com/Microsoft/vsce/releases)
- [Commits](microsoft/vscode-vsce@v3.9.1...v3.9.2)

---
updated-dependencies:
- dependency-name: "@vscode/vsce"
  dependency-version: 3.9.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Jun 3, 2026

Labels

The following labels could not be found: dependencies, npm. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@unknowIfGuestInDream
Copy link
Copy Markdown
Contributor

@copilot
问题修复

npm run test
  shell: /bin/bash -e {0}

> tlcsdm-java-method-sorter@1.0.0 pretest
> npm run compile && npm run lint


> tlcsdm-java-method-sorter@1.0.0 compile
> tsc -p ./


> tlcsdm-java-method-sorter@1.0.0 lint
> eslint src


> tlcsdm-java-method-sorter@1.0.0 test
> vscode-test --config ./.vscode-test.json

- Resolving version...
✔ Validated version: 1.123.0
- Found at https://update.code.visualstudio.com/1.123.0/darwin-arm64/stable?released=true
✔ Found at https://update.code.visualstudio.com/1.123.0/darwin-arm64/stable?released=true
- Downloading (236.24 MB)
✔ Downloaded VS Code into /Users/runner/work/vscode-java-method-sorter/vscode-java-method-sorter/.vscode-test/vscode-darwin-arm64-1.123.0
WARNING: IPC handle "/Users/runner/work/vscode-java-method-sorter/vscode-java-method-sorter/.vscode-test/user-data/1.12-main.sock" is longer than 103 chars, try a shorter --user-data-dir
[main 2026-06-05T05:27:12.133Z] Error: listen EINVAL: invalid argument /Users/runner/work/vscode-java-method-sorter/vscode-java-method-sorter/.vscode-test/user-data/1.12-main.sock
    at Server.setupListenHandle [as _listen2] (node:net:1986:21)
    at listenInCluster (node:net:2065:12)
    at Server.listen (node:net:2187:5)
    at file:///Users/runner/work/vscode-java-method-sorter/vscode-java-method-sorter/.vscode-test/vscode-darwin-arm64-1.123.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/main.js:440:954
    at new Promise (<anonymous>)
    at Dx (file:///Users/runner/work/vscode-java-method-sorter/vscode-java-method-sorter/.vscode-test/vscode-darwin-arm64-1.123.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/main.js:440:905)
    at Mb.claimInstance (file:///Users/runner/work/vscode-java-method-sorter/vscode-java-method-sorter/.vscode-test/vscode-darwin-arm64-1.123.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/main.js:588:50798)
    at file:///Users/runner/work/vscode-java-method-sorter/vscode-java-method-sorter/.vscode-test/vscode-darwin-arm64-1.123.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/main.js:588:48258
    at i.invokeFunction (file:///Users/runner/work/vscode-java-method-sorter/vscode-java-method-sorter/.vscode-test/vscode-darwin-arm64-1.123.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/main.js:584:941)
    at Mb.startup (file:///Users/runner/work/vscode-java-method-sorter/vscode-java-method-sorter/.vscode-test/vscode-darwin-arm64-1.123.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/main.js:588:48169)
Exit code:   1
Error: Process completed with exit code 1.

@pull-request-size pull-request-size Bot added size/S and removed size/XS labels Jun 5, 2026
@pull-request-size pull-request-size Bot added size/M and removed size/S labels Jun 5, 2026
Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 5, 2026

@copilot
问题修复

...

已修复。macOS 上的失败是因为 VS Code 的 IPC socket 路径超过了 Unix domain socket 的 103 字符限制——默认的 --user-data-dir.vscode-test/user-data)位于很长的 runner 工作目录下,导致 EINVAL

我将 .vscode-test.json 改为 .vscode-test.mjs,通过 launchArgs--user-data-dir 指向系统临时目录中的短路径(os.tmpdir() + mkdtemp),并在进程退出时清理该临时目录。本地用 xvfb 验证测试通过(3 passing)。

Copilot AI changed the title build(deps-dev): bump @vscode/vsce from 3.9.1 to 3.9.2 build(deps-dev): bump @vscode/vsce from 3.9.1 to 3.9.2 and fix macOS CI test failure Jun 5, 2026
@unknowIfGuestInDream unknowIfGuestInDream merged commit 46054a9 into master Jun 5, 2026
9 checks passed
@unknowIfGuestInDream unknowIfGuestInDream deleted the dependabot/npm_and_yarn/vscode/vsce-3.9.2 branch June 5, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants