From e9fced786747ddb0fc8b0ac5e60971bf090409b7 Mon Sep 17 00:00:00 2001 From: Devin Foley Date: Fri, 4 Dec 2026 17:54:33 -0800 Subject: [PATCH] test(ssh): supply the command envelope to the dash fixture The SSH regression added on master invokes the remote wrapper without its stdin command envelope. The wrapper exits 125 before it can source any profile. Pass stdinPrefix to the fixture process so it exercises profile handling through the real wrapper contract. The focused dash regression fails without the input and passes with it. Adapter-utils typecheck and all 44 monitor/task-detail tests pass after the master merge. Co-Authored-By: Paperclip --- packages/adapter-utils/src/ssh-fixture.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/adapter-utils/src/ssh-fixture.test.ts b/packages/adapter-utils/src/ssh-fixture.test.ts index 7a21074658b..09b7886b091 100644 --- a/packages/adapter-utils/src/ssh-fixture.test.ts +++ b/packages/adapter-utils/src/ssh-fixture.test.ts @@ -625,6 +625,7 @@ describe("ssh env-lab fixture", () => { const remoteCommandLine = String(target.args.at(-1) ?? ""); const output = execFileSync(dashPath!, ["-c", remoteCommandLine], { encoding: "utf8", + input: target.stdinPrefix, env: { HOME: homeDir, PATH: `${binDir}:/usr/bin:/bin` }, });