Commit de01d8e
CI Fix: Pass --user-data-dir to keep mac CI IPC socket path under 103 chars (#5514)
The default --user-data-dir lives under .vscode-test/, which combined
with the nested checkout paths CI uses pushes the main IPC socket
(<user-data-dir>/<version>-main.sock) over the macOS 103-char AF_UNIX
limit. VS Code prints the warning, Server.listen() fails with EINVAL,
tests never start. Pointing the option at os.tmpdir() shortens the path
under the limit. Windows uses named pipes so it's unaffected; Linux's
limit is roomier but the shorter path doesn't hurt.
See microsoft/vscode#196543 for the same bug from 2023.
Co-authored-by: Jakub Jares <jajares@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 03595aa commit de01d8e
1 file changed
Lines changed: 7 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 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
0 commit comments