Commit 909db48
Fix flaky macOS CI from over-long test IPC socket path
`@vscode/test-cli` defaults `--user-data-dir` to `.vscode-test/user-data`
inside the workspace. On CI the workspace is nested three deep
(`.../vscode-powershell/vscode-powershell/vscode-powershell/`), so the VS
Code instance's IPC socket (`<user-data-dir>/<version>-main.sock`) exceeds
macOS's 104-char `AF_UNIX` limit and the editor dies at startup with
`listen EINVAL`, flaking the whole matrix (and cancelling the other OSes
via fail-fast).
Anchor `--user-data-dir` in `os.tmpdir()` so the socket path stays short
on every platform.
Drafted by Copilot (Claude Opus 4.8).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent e98f196 commit 909db48
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
| |||
0 commit comments