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

stacklok / toolhive / 20149729129
59%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2025 10:41PM UTC
Jobs 1
Files 402
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

11 Dec 2025 10:39PM UTC coverage: 49.593% (+0.03%) from 49.563%
20149729129

push

github

web-flow
Simplify the registry auto-detection (#2976)

* Clear cached registry

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>

* Simplify auto-detect logic for registry types

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>

* Use a minimal GET call instead of HEAD

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>

* Respect the insecure flag when building an HTTP client for the registry

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>

* Add validation that the file (local and remote) is in the toolhive format

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>

* Respect URL encoded server names

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>

* Update the TestRegistryAPI_PutEndpoint test

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>

* Use remote_servers instead of remoteServers

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>

* Use the actual registry type to validate the format

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>

---------

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>

88 of 130 new or added lines in 6 files covered. (67.69%)

13 existing lines in 2 files now uncovered.

26962 of 54366 relevant lines covered (49.59%)

56.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
13.61
0.0% cmd/thv/app/config.go
2
41.38
0.64% pkg/registry/provider_remote.go
5
0.0
0.0% pkg/registry/provider_api.go
6
0.0
0.0% pkg/registry/api/client.go
9
26.25
2.01% pkg/api/v1/registry.go
18
63.04
3.3% pkg/config/registry.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% pkg/registry/provider_api.go
12
63.04
3.3% pkg/config/registry.go
Jobs
ID Job ID Ran Files Coverage
1 20149729129.1 11 Dec 2025 10:41PM UTC 402
49.59
GitHub Action Run
Source Files on build 20149729129
  • Tree
  • List 402
  • Changed 7
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20149729129
  • 6355e135 on github
  • Prev Build on main (#20148699186)
  • Next Build on main (#20149805679)
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