Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

test(ssh): skip the AF_UNIX askpass wiring test on Windows

enesfb6411fcb1df
diff --git a/src/main/remote-ssh/ssh-project.test.ts b/src/main/remote-ssh/ssh-project.test.ts
index 16a863f9b..957eeafbe 100644
--- a/src/main/remote-ssh/ssh-project.test.ts
+++ b/src/main/remote-ssh/ssh-project.test.ts
@@ -2219,7 +2219,11 @@ describe('SshProjectManager', () => {
await assertion
})
- it('attributes a cancel to the exact master pid through the real AskpassServer wiring', async () => {
+ // POSIX-only: the askpass transport is an AF_UNIX socket (SSH_ASKPASS over a `.sock`), which
+ // cannot bind on Windows (`listen EACCES` on a Temp `.sock`). The mechanism itself is never
+ // used on Windows, so this pins POSIX wiring; the file's drive/UNC uploadFile cases still run
+ // on the windows-latest job.
+ it.skipIf(process.platform === 'win32')('attributes a cancel to the exact master pid through the real AskpassServer wiring', async () => {
// Pins the production wiring `askpassWasCancelled: (pid) => askpassServer.wasCancelledBy(pid)`
// together with a spawner handle that reports its child's pid, i.e. that connect() actually
// threads master.pid() through. The different-pid case is the load-bearing half: had connect()