Fix enable report host for entire:// mirror origins

main

Commit

Soph3mo ago

cleanRemoteURLForReport rebuilt the reported URL from info.Host, which for an entire://cluster/gh/owner/repo origin (an already-mirrored repo) is the Entire cluster host, not github.com — so the backend got https://aws-us-east-2.entire.io/owner/repo.git and enable reporting silently failed for mirrored repos.

Add Info.CanonicalHost() to the gitremote package, derived from the existing hostToForge map, which maps the forge prefix back to its real host (gh -> github.com) and falls back to Host for unknown forges (self-hosted enterprise). Use it when building the reported URL.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 065aaa47aa4b

Checkpoints

Fix Enable Report Timeout and URL Stripping

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1