Skip to content

Recover hardcoded host in Go HTTP-client routes (v101) - #90

Merged
dejo1307 merged 1 commit into
mainfrom
fix/go-client-external-host-recovery
Jul 10, 2026
Merged

Recover hardcoded host in Go HTTP-client routes (v101)#90
dejo1307 merged 1 commit into
mainfrom
fix/go-client-external-host-recovery

Conversation

@dejo1307

Copy link
Copy Markdown
Collaborator

A baseURL + "/path" client call discarded the host, so third-party API calls were counted as unresolved internal edges and flipped an isolated backend to a false coverage_gap. Resolve the base identifier through a package-scoped string-literal index and tag external/host when every binding is an absolute http(s) URL.

Also match a client route against the server index before bucketing it external, so a route tagged external that targets a loaded internal host still resolves to its cross-repo edge.

Bumps cacheVersion to v101; adds the go_httpclient_multirepo golden.

A `baseURL + "/path"` client call discarded the host, so third-party
API calls were counted as unresolved internal edges and flipped an
isolated backend to a false coverage_gap. Resolve the base identifier
through a package-scoped string-literal index and tag external/host
when every binding is an absolute http(s) URL.

Also match a client route against the server index before bucketing it
external, so a route tagged external that targets a loaded internal
host still resolves to its cross-repo edge.

Bumps cacheVersion to v101; adds the go_httpclient_multirepo golden.
@dejo1307
dejo1307 merged commit fe6e105 into main Jul 10, 2026
4 checks passed
@dejo1307
dejo1307 deleted the fix/go-client-external-host-recovery branch July 17, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant