Before submitting#
Area#
apps/desktop
Steps to reproduce#
Description#
When asking T3 Coder to read or interact with a Pull Request, the URL parser breaks if the local git repository uses a custom SSH alias. This is a very common setup for developers using ~/.ssh/config to manage multiple GitHub accounts on the same machine.
Instead of parsing the base domain (github.com), the tool uses the literal SSH host alias string to construct the HTTPS web URL, leading to an invalid domain and a fetch failure.
Steps to reproduce#
- Configure a custom SSH alias in
~/.ssh/config, for example:
Host github.com-customalias
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_custom
- Set a repository's remote URL using this alias:
git remote set-url origin git@github.com-customalias:organization/repository.git
- Prompt T3 Coder to read or review a specific Pull Request (e.g., PR #123).
Expected behavior#
The tool should recognize the base GitHub host, strip the custom alias suffix (-customalias), and construct the correct web URL to fetch the PR data:
https://github.com/organization/repository/pull/123
Actual behavior#
The tool incorrectly injects the full alias string into the HTTPS URL, resulting in a DNS/fetch error. It attempts to access:
https://github.com-customalias/organization/repository/pull/123
Impact#
Minor bug or occasional failure.
Prevents PR analysis for developers working in multi-tenant/multi-account GitHub environments.
Version or commit#
v0.0.38
Environment#
macOS 15.7.4 (24G517)
Logs or stack traces#
Screenshots, recordings, or supporting files#
Captura de Tela 2026-09-03 às 14.44.19.png
Workaround#
Changing the remote URL back to standard HTTPS/SSH (git@github.com:...) fixes the AI tool, but this breaks the developer's local SSH routing for pushes/pulls. The tool needs a more robust remote parsing logic to ignore SSH host aliases.
Since I opened this issue and it directly affects my workflow, I would like to work on a fix myself. I'll take a look at the remote URL parsing logic and submit a PR soon.
Let me know if there's any specific place in the codebase you recommend I start looking or any guidelines I should follow!