You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8a1cbc9
Browse filesBrowse the repository at this point in the historyBrowse files
"Test connection preserves Windows exit %s guidance across the wire",
616
-
(exitCode)=>
614
+
it.effect.each([
615
+
{
616
+
name: "Windows exit 1",
617
+
exitCode: 1,
618
+
windowsHost: true,
619
+
stderr: "private SSH diagnostics",
620
+
reason:
621
+
"Connected over SSH, but this host runs Windows, and SSH device hosts currently need macOS or Linux. To use this machine's devices, run T3 Code on it and connect to that environment.",
622
+
},
623
+
{
624
+
name: "Windows exit 9009",
625
+
exitCode: 9009,
626
+
windowsHost: true,
627
+
stderr: "private SSH diagnostics",
628
+
reason:
629
+
"Connected over SSH, but this host runs Windows, and SSH device hosts currently need macOS or Linux. To use this machine's devices, run T3 Code on it and connect to that environment.",
630
+
},
631
+
{
632
+
name: "missing Node on a POSIX host",
633
+
exitCode: 1,
634
+
windowsHost: false,
635
+
stderr: "private SSH diagnostics\r\nNode is missing from the non-interactive SSH PATH\r\n",
636
+
reason:
637
+
"Connected over SSH, but Node is not on this host's PATH for non-interactive SSH commands.",
638
+
},
639
+
{
640
+
name: "unrecognized POSIX failure",
641
+
exitCode: 1,
642
+
windowsHost: false,
643
+
stderr: "private SSH diagnostics",
644
+
reason: null,
645
+
},
646
+
])(
647
+
"Test connection preserves $name guidance across the wire",
"Connected over SSH, but this host runs Windows, and SSH device hosts currently need macOS or Linux. To use this machine's devices, run T3 Code on it and connect to that environment.",
"Windows test is unavailable: Connected over SSH, but this host runs Windows, and SSH device hosts currently need macOS or Linux. To use this machine's devices, run T3 Code on it and connect to that environment.",
705
+
reason===null
706
+
? "Device probe host failed: Could not communicate with device support. Try refreshing devices."
0 commit comments