fix(git): support custom SCP-style SSH users - #3371
Merged
Merged
Conversation
worktrunk-bot
approved these changes
Jul 5, 2026
max-sixty
added a commit
that referenced
this pull request
Jul 8, 2026
…indow (#3386) Five commits landed on `main` during #3385's CI wait, so they ship inside v0.66.0's tree but weren't in its changelog (the step-12 drift check in the release skill caught this). This adds the user-facing three to the 0.66.0 section: - **Codex activity markers** ([#3364](#3364), closes [#3362](#3362), thanks @ofek for reporting) - **SCP-style SSH remotes with custom usernames** ([#3371](#3371), thanks @fcoury-oai) - **Windows app-alias Settings path** ([#3372](#3372), thanks @ofek) Excluded as internal: #3360 (trait docstrings), #3379 (argv[0] display refactor). Every entry verified against the actual diffs. The v0.66.0 tag will point at this PR's squash commit so the tagged tree carries the complete changelog. 🤖 Generated with [Claude Code](https://claude.com/claude-code) > _This was written by Claude Code on behalf of Maximilian Roos_ Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Worktrunk currently recognizes SCP-style SSH remotes only when the username is literally
git. GitHub configurations can use account or organization aliases such asorg-12345678@github.com:organization/repo.git. Worktrunk fails to parse that remote canonically, sowt switch pr:30479fetches the PR metadata but then exits withNo remote found for openai/codex.What changed
How to Test
org-14957082@github.com:openai/codex.git.wt switch pr:<number>for a pull request in that repository.No remote found.Targeted tests:
cargo test --lib git::url::testscargo test --test integration project_identifier_scp_custom_usercargo test --test integration switch_pr_same_repo_custom_ssh_user