• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 27706585515
67%

Build:
DEFAULT BRANCH: main
Ran 17 Jun 2026 05:18PM UTC
Jobs 1
Files 761
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Jun 2026 05:12PM UTC coverage: 67.013% (-0.001%) from 67.014%
27706585515

push

github

web-flow
Add WithDialControl option to vMCP backend client (#5551)

Embedders running vMCP in-process want to adopt the full
NewHTTPBackendClient (and its outgoing-auth strategy registry and
RoundTripper chain) while preserving a hardened SSRF / DNS-rebinding
posture on the outbound connection. Until now the per-backend
*http.Client was built entirely internally, so an embedder needing a
custom dialer had to abandon NewHTTPBackendClient and hand-roll a
BackendClient, losing the auth and trace/identity machinery.

Add a functional-option WithDialControl that installs a per-connection
net.Dialer.Control hook on every backend transport. The hook classifies
the resolved peer IP before the TCP handshake — the per-connection check
that actually defeats DNS rebinding, which a host-string check cannot.
The option is additive: nil/absent reproduces today's behavior exactly,
and it composes with the existing per-backend CA-bundle handling rather
than replacing the transport.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

21 of 23 new or added lines in 1 file covered. (91.3%)

12 existing lines in 4 files now uncovered.

69045 of 103032 relevant lines covered (67.01%)

63.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
74.28
1.59% pkg/vmcp/client/client.go

Coverage Regressions

Lines Coverage ∆ File
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
2
81.13
-0.47% pkg/transport/proxy/httpsse/http_proxy.go
2
57.89
-3.51% pkg/transport/session/sse_session.go
2
94.77
-1.31% pkg/vmcp/composer/dag_executor.go
Jobs
ID Job ID Ran Files Coverage
1 27706585515.1 17 Jun 2026 05:18PM UTC 761
67.01
GitHub Action Run
Source Files on build 27706585515
  • Tree
  • List 761
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27706585515
  • 7d0d996d on github
  • Prev Build on main (#27705496567)
  • Next Build on main (#27706615925)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc