orca/src
Brennan Benson be4d963905
test(windows): guard PowerShell setup-runner encoded delivery (#7236) (#7520)
Issue #7236 reported that any non-empty worktree Setup Script failed on
Windows PowerShell with a "missing terminator" parser error, regardless
of content. Root cause: in pre-encoded builds the setup-runner command
(`cmd.exe /c "<runner>"`) was typed into PowerShell as raw stdin, where a
dropped/unbalanced double quote got re-parsed as an open string.

Encoded-command delivery (base64 UTF-16, shipped in v1.4.81) already
fixes this by passing the command as a shell argument with quotes intact.
This adds a regression test tying resolveSetupRunnerCommand to
resolveWindowsShellLaunchArgs: the real setup-runner command must reach
PowerShell via -EncodedCommand (startupCommandDeliveredInShellArgs),
never raw stdin, with its quotes preserved verbatim.

Co-authored-by: Neil <neil@stably.ai>
2026-07-06 00:54:45 -07:00
..
cli Give agents access to inline Linear ticket screenshots and media (#7484) 2026-07-05 23:55:56 -07:00
main test(windows): guard PowerShell setup-runner encoded delivery (#7236) (#7520) 2026-07-06 00:54:45 -07:00
preload Check for Updates: cmd/ctrl-click fetches latest perf-tagged prerelease (#7278) 2026-07-05 02:53:17 -07:00
relay perf(runtime): cache parsed ps rows on POSIX so panes share one parse (#7518) 2026-07-06 00:03:54 -07:00
renderer Revert "fix(terminal): launch prior/default agent when a woken terminal can’t resume" (#7524) 2026-07-06 00:27:32 -07:00
shared docs(runtime): fix stale ps-snapshot factory comment after #7518 (#7529) 2026-07-06 00:44:21 -07:00
types