The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): shellSshDouble tolerates a child that exits before reading stdin
Austin Pickett950ea4d51eb5
diff --git a/apps/desktop/electron/remote-ssh-exec.test-helpers.ts b/apps/desktop/electron/remote-ssh-exec.test-helpers.tsindex be94bd86eae..0b460e7de9e 100644--- a/apps/desktop/electron/remote-ssh-exec.test-helpers.ts+++ b/apps/desktop/electron/remote-ssh-exec.test-helpers.ts@@ -49,6 +49,10 @@ export function shellExec(failure.stderr = stderrreject(failure)})+ // A command that exits without reading stdin (the spawn fixtures never do)+ // closes the pipe under this write; the `close` verdict above is the result,+ // so an EPIPE here must not surface as an unhandled error.+ child.stdin.once('error', () => {})child.stdin.end(stdinData ?? '')})}