note: You are running `vp test` as a Vite+ built-in command. If you meant to run the test npm script, use `vpr test` instead. RUN v5.0.1 /home/saphid/.t3code/worktrees/t3code/ssh-tunnel-stderr-drain stdout | packages/ssh/src/tunnel.test.ts > ssh tunnel scripts > keeps the stderr reader alive until disconnect [22:55:35.458] ERROR (#1): Error [AssertionError]: readiness must not release the stderr reader: expected 1 to equal +0 at /home/saphid/.t3code/worktrees/t3code/ssh-tunnel-stderr-drain/packages/ssh/src/tunnel.test.ts:633:16 { actual: 1, expected: 0, showDiff: true, operator: 'strictEqual', [cause]: undefined } stdout | packages/ssh/src/tunnel.test.ts > ssh tunnel scripts > drains diagnostics beyond pipe capacity after readiness [22:55:35.463] INFO (#46): ssh.environment.ensure.start { alias: 'devbox', hostname: 'devbox', username: null, port: null, issuePairingToken: false } [22:55:35.464] INFO (#46): ssh.remoteServer.launch.start { alias: 'devbox', hostname: 'devbox', username: null, port: null, runner: 'archive', archiveVersion: '1.2.3-preview.20260911.4', stateKey: '6a175896758606e2' } stdout | packages/ssh/src/tunnel.test.ts > ssh tunnel scripts > drains diagnostics beyond pipe capacity after readiness [22:55:35.466] INFO (#46): ssh.remoteServer.launch.ready { alias: 'devbox', hostname: 'devbox', username: null, port: null, remotePort: 3773, remoteServerKind: null, stateKey: '6a175896758606e2' } stdout | packages/ssh/src/tunnel.test.ts > ssh tunnel scripts > drains diagnostics beyond pipe capacity after readiness [22:55:35.474] INFO (#46): ssh.tunnel.ready { alias: 'devbox', hostname: 'devbox', username: null, port: null, command: [ 'ssh', '-o', 'BatchMode=no', '-o', 'ConnectTimeout=10', '-o', 'ExitOnForwardFailure=yes', '-o', 'ControlMaster=no', '-o', 'ControlPath=none', '-o', 'ControlPersist=no', '-o', 'ServerAliveInterval=15', '-o', 'ServerAliveCountMax=3', '-n', '-N', '-L', '41773:127.0.0.1:3773', 'devbox' ], pid: 1631814, localPort: 41773, remotePort: 3773, httpBaseUrl: 'http://127.0.0.1:41773/' } [22:55:35.474] INFO (#46): ssh.environment.ensure.succeeded { alias: 'devbox', hostname: 'devbox', username: null, port: null, key: 'devbox\x00devbox\x00\x00', localPort: 41773, remotePort: 3773, remoteServerKind: null, issuedPairingToken: false } stdout | packages/ssh/src/tunnel.test.ts > ssh tunnel scripts > drains diagnostics beyond pipe capacity after readiness [22:55:40.488] INFO (#76): ssh.remoteServer.stop.start { alias: 'devbox', hostname: 'devbox', username: null, port: null, stateKey: '6a175896758606e2' } [22:55:40.489] INFO (#76): ssh.remoteServer.stop.succeeded { alias: 'devbox', hostname: 'devbox', username: null, port: null, stateKey: '6a175896758606e2' } [22:55:40.490] INFO (#76): ssh.tunnel.close.succeeded { alias: 'devbox', hostname: 'devbox', username: null, port: null, key: 'devbox\x00devbox\x00\x00', localPort: 41773, remotePort: 3773 } [22:55:40.490] ERROR (#46): Error [TimeoutError]: Operation timed out after '5s' at timeoutErrorFromDuration (file:///home/saphid/.t3code/worktrees/t3code/ssh-tunnel-stderr-drain/node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/dist/internal/effect.js:1653:46) at Object.orElse (file:///home/saphid/.t3code/worktrees/t3code/ssh-tunnel-stderr-drain/node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/dist/internal/effect.js:1659:24) at file:///home/saphid/.t3code/worktrees/t3code/ssh-tunnel-stderr-drain/node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/dist/internal/effect.js:1651:159 { _tag: 'TimeoutError', '~effect/Cause/TimeoutError': '~effect/Cause/TimeoutError', [cause]: undefined } ❯ packages/ssh/src/tunnel.test.ts (22 tests | 2 failed | 20 skipped) 5071ms ❯ ssh tunnel scripts (21) × keeps the stderr reader alive until disconnect 39ms × drains diagnostics beyond pipe capacity after readiness 5029ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ FAIL packages/ssh/src/tunnel.test.ts > ssh tunnel scripts > keeps the stderr reader alive until disconnect AssertionError: readiness must not release the stderr reader: expected 1 to equal +0 - Expected + Received - 0 + 1 ❯ packages/ssh/src/tunnel.test.ts:633:16 631| yield* manager.ensureEnvironment(target); 632| assert.equal(readers, 1); 633| assert.equal(finalized, 0, "readiness must not release the std… | ^ 634| yield* manager.disconnectEnvironment(target); 635| assert.equal(finalized, 1, "disconnect must release the stderr… ❯ IteratorImpl.~effect/Effect/successCont node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:1421:28 ❯ ExitPrimitive.~effect/Effect/evaluate node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/core.ts:565:30 ❯ FiberImpl.runLoop node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:653:41 ❯ FiberImpl.evaluate node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:594:23 ❯ FiberImpl.evaluate node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:588:27 ❯ node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:1158:17 ❯ Array. node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:1690:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ FAIL packages/ssh/src/tunnel.test.ts > ssh tunnel scripts > drains diagnostics beyond pipe capacity after readiness TimeoutError: Operation timed out after '5s' ❯ timeoutErrorFromDuration node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:3860:3 ❯ Object.orElse node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:3882:26 ❯ node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:3854:82 ❯ ContImpl.andThenCont [as ~effect/Effect/successCont] node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:1524:10 ❯ ExitPrimitive.~effect/Effect/evaluate node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/core.ts:565:30 ❯ FiberImpl.runLoop node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:653:41 ❯ FiberImpl.evaluate node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:594:23 ❯ FiberImpl.evaluate node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:588:27 ❯ node_modules/.pnpm/effect@4.0.2_patch_hash=ec61ee307eaec3e17f757e0e6a16296ea4b7a8c3188df0c6ec5e66301fd78688/node_modules/effect/src/internal/effect.ts:1158:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ Test Files 1 failed (1) Tests 2 failed | 20 skipped (22) Start at 22:55:34 Duration 5.62s (tests 93%, import 3%, transform 3%, setup 1%)