mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 02:17:31 +00:00
A stray github.com or bitbucket.org entry in glab's config made the failed `glab auth status --hostname <host>` probe print a status block headed by a bare hostname, which the configured-host parser accepted as evidence. The known-host inventory could likewise list github.com. Because GitLab has precedence among forge providers, GitHub and Bitbucket repos were offered GitLab merge requests and GitLab login prompts. Before trusting any glab evidence, resolveProjectRefForRemote now returns null when the remote's real host (aliases folded via normalizeForgeWebHost) is github.com or bitbucket.org. Scp remotes on an SSH alias named e.g. `github` are unaffected. Fixes #40386 Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>