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

stacklok / toolhive / 23187776639
64%

Build:
DEFAULT BRANCH: main
Ran 17 Mar 2026 09:41AM UTC
Jobs 1
Files 563
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

17 Mar 2026 09:37AM UTC coverage: 64.771% (+0.06%) from 64.714%
23187776639

push

github

web-flow
Add Skills API client for registry extension (#4173)

The toolhive-registry-server exposes a Skills API as a ToolHive-specific
extension under /v0.1/x/dev.toolhive/skills. This adds an HTTP client
to query that API, following the same patterns as the existing server
client.

- Extract shared HTTP client builder and error types into shared.go
  so both the server client and new skills client reuse the same
  security controls (private IP policy, auth token injection, error
  handling with LimitReader)
- Add SkillsClient interface with GetSkill, GetSkillVersion,
  ListSkills, SearchSkills, and ListSkillVersions methods
- Add RegistryHTTPError with Unwrap() for structured 401/403 handling
- Migrate existing server client to use the shared error type
- Add comprehensive table-driven tests with httptest

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

138 of 174 new or added lines in 3 files covered. (79.31%)

62 existing lines in 4 files now uncovered.

49249 of 76036 relevant lines covered (64.77%)

217.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
92.59
pkg/registry/api/shared.go
5
0.0
0.0% pkg/registry/api/client.go
29
79.58
pkg/registry/api/skills_client.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
79.79
-0.52% pkg/transport/proxy/httpsse/http_proxy.go
2
57.89
-3.51% pkg/transport/session/sse_session.go
2
71.43
-1.68% pkg/vmcp/k8s/manager.go
56
0.0
0.0% pkg/registry/api/client.go
Jobs
ID Job ID Ran Files Coverage
1 23187776639.1 17 Mar 2026 09:41AM UTC 563
64.77
GitHub Action Run
Source Files on build 23187776639
  • Tree
  • List 563
  • Changed 11
  • Source Changed 1
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23187776639
  • 79a2e6c3 on github
  • Prev Build on main (#23187458259)
  • Next Build on main (#23188812116)
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