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

stacklok / toolhive / 24445492145
66%

Build:
DEFAULT BRANCH: main
Ran 15 Apr 2026 08:59AM UTC
Jobs 1
Files 630
Run time 2min
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

15 Apr 2026 08:53AM UTC coverage: 65.695% (+0.02%) from 65.68%
24445492145

push

github

web-flow
Add GetContent API for on-the-fly SKILL.md retrieval from OCI and git sources (#4810)

* Add GetContent method to SkillService for on-the-fly SKILL.md retrieval

Add ContentOptions, SkillContent, and SkillFileEntry types to the skills
package and extend the SkillService interface with GetContent. Regenerate
the mock to match.

* Implement GetContent with OCI, git, and registry name resolution

GetContent resolves skill content without installing by trying, in order:
git:// and https:// references via the git resolver, the local OCI store
and remote OCI pull, and finally a registry catalog name lookup that
handles both plain names and qualified namespace/name identifiers.

Also fixes resolveRegistryPackages to append Subfolder as a #path
fragment to git URLs, and updates resolveFromRegistry to support
qualified namespace/name references.

* Add tests for GetContent git resolution and registry fallback

Cover git reference dispatch, git resolver failures, nil resolver guard,
registry name fallback to git, qualified namespace/name filtering,
splitQualifiedName, and resolveRegistryPackages subfolder handling.

* Update swagger.json with GetContent endpoint and schemas

* Fix gci import ordering, line length, and regenerate swagger docs

* Address code review: guard registry lookup, fix doc comment, add 502 to swagger

Skip registry name lookup for refs containing : or @ to avoid a wasted
network round-trip when a fully-qualified OCI reference fails. Fix the
GetContent doc comment to reflect the actual resolution order. Document
the 502 Bad Gateway response in the swagger annotation.

* Fix gci import grouping to match project config

138 of 196 new or added lines in 4 files covered. (70.41%)

3 existing lines in 1 file now uncovered.

57397 of 87369 relevant lines covered (65.69%)

61.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
31
85.14
-0.7% pkg/skills/skillsvc/skillsvc.go
16
89.77
-8.97% pkg/api/v1/skills.go
11
90.43
-9.57% pkg/skills/mocks/mock_service.go

Coverage Regressions

Lines Coverage ∆ File
3
79.38
-0.77% pkg/transport/proxy/httpsse/http_proxy.go
Jobs
ID Job ID Ran Files Coverage
1 24445492145.1 15 Apr 2026 08:59AM UTC 630
65.69
GitHub Action Run
Source Files on build 24445492145
  • Tree
  • List 630
  • Changed 8
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24445492145
  • 2fd2d3bf on github
  • Prev Build on main (#24444473875)
  • Next Build on main (#24450804087)
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