You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: SSH host aliases split the same repository into separate cross-environment project groups #38673
apps/server and cross-environment project grouping
Steps to reproduce
Pair two environments in one browser client, using repository grouping.
Register checkouts of the same GitHub repository on both environments.
On one environment use origin [email protected]:owner/repo.git, with SSH config Host github.com-personal, HostName github.com, and the appropriate account key.
Both checkouts appear in one logical repository group. Preserve physical project IDs, threads/history, active runs, checkout paths, and the original SSH transport URLs and credentials.
Actual behavior
The identities differ: github.com-personal/owner/repo versus github.com/owner/repo. The browser splits the same repository into separate groups. A singleton uses its project title while a multi-checkout group can use owner/repo, making the split confusing.
The inspected RepositoryIdentityResolver derives identity from the selected fetch remote (upstream, then origin). Client projectGrouping uses that repository key. Project update tooling does not expose an identity-alias override or safe merge operation.
Version / environment
Observed with macOS client/server 0.1.11-nightly.20261118.4877 and linked Linux environments; one Linux server reports 0.1.10-nightly.20261112.4580. Browser client with repository grouping enabled.
Impact
Duplicate catalog groups fragment access to ongoing work across environments. Renaming projects does not consolidate their identity. Changing SSH routing merely to fix grouping risks selecting the wrong account.
Related report and suggested remedy
Related to #17805 (alias-based forge detection); this report focuses on repository identity and cross-environment catalog grouping. Resolve SSH host aliases for canonical identity while retaining the original URL for transport, or support an explicit safe identity mapping. Do not merge or delete physical projects or move running checkouts.
Workaround
Use the same SSH alias on all machines, configured to resolve to github.com with each machine's existing account key. This requires consistent remote URLs as well as SSH configuration; adding HostName alone does not change the current identity key.
Activity