Skip to content

fix: terminate ssh option parsing before the dispatch target - #394

Merged
matthias-scale merged 1 commit into
mainfrom
fix/ssh-target-option-terminator
Sep 23, 2026
Merged

matthias-scale merged 1 commit into
mainfrom
fix/ssh-target-option-terminator

Conversation

@matthias-scale

Copy link
Copy Markdown
Owner

ssh_argv in src/app/machines.rs placed the dispatch target directly after its -o flags, so a target that begins with a dash reached ssh as an option rather than a destination. src/remote/control.rs:132 already passes -- before its target; the composer dispatch now matches it.

Also records why resolve truncates the local machine list to one entry: a fleet may declare several local hosts, and only the first becomes the local entry before the remotes are appended.

Verification: 6 machines tests pass, including a new assertion that the target sits immediately after --. just check-parallel is otherwise clean; cases::agents::agent_start_command_works failed once under parallel load and passes in isolation (14.0s), and touches no file in this diff.

https://claude.ai/code/session_01A1fNC92h5X4aeBB2aYBxv1

A target beginning with a dash reached ssh as an option. The remote-control
bridge already passes `--` before its target; the composer dispatch now does
the same. Also records why the local machine list is truncated to one entry.
@matthias-scale matthias-scale added the claimed:cl-9982678e Herdr PR claim label label Sep 23, 2026
@matthias-scale
matthias-scale merged commit 83998ef into main Sep 23, 2026
6 checks passed
@matthias-scale
matthias-scale deleted the fix/ssh-target-option-terminator branch September 23, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claimed:cl-9982678e Herdr PR claim label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant