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

stacklok / toolhive / 18912579892
51%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2025 03:12PM UTC
Jobs 1
Files 312
Run time 1min
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

29 Oct 2025 03:07PM UTC coverage: 47.041% (-0.006%) from 47.047%
18912579892

push

github

web-flow
Fix server port when network mode is `host` (#2353)

Docker networking works differently depending on whether it's running
inside a VM or on the (linux) host itself, with VM-based installations
like Docker Desktop not supporting `host` network. What happens is
that the port is exposed on the VM rather than the actual host. Note
that this is the case for linux running Docker Desktop.

On the other hand, Docker Engine installations work just fine on
linux, but we were still configuring the Proxy to try to connect to
the wrong port.

This is PR assumes that
* all linux installations run docker engine
* all non-linux installations run on VMs

Fixes #2317

10 of 22 new or added lines in 3 files covered. (45.45%)

2 existing lines in 1 file now uncovered.

19289 of 41005 relevant lines covered (47.04%)

15.15 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
60.0
pkg/container/docker/client_final_port_linux.go
4
54.31
0.03% pkg/container/docker/client.go
6
0.0
0.0% pkg/transport/http.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
81.62
-0.56% pkg/transport/proxy/httpsse/http_proxy.go
Jobs
ID Job ID Ran Files Coverage
1 18912579892.1 29 Oct 2025 03:12PM UTC 312
47.04
GitHub Action Run
Source Files on build 18912579892
  • Tree
  • List 312
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18912579892
  • a3199a6b on github
  • Prev Build on main (#18910702901)
  • Next Build on main (#18913164026)
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

© 2025 Coveralls, Inc