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

stacklok / toolhive-studio / 25042344164 / 1
70%
main: 70%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 08:32AM UTC
Files 468
Run time 14s
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

28 Apr 2026 08:28AM UTC coverage: 66.508% (+0.01%) from 66.497%
25042344164.1

push

github

web-flow
fix(skills): split version from OCI reference when opening install dialog from registry (#2122)

* feat(skills): accept defaultVersion in DialogInstallSkill
Add an optional defaultVersion prop alongside the existing
defaultReference, wired into the version form field's default value.
Prepares the dialog to be prefilled from a structured
{ reference, version } pair instead of a single conjoined string.

* fix(skills): split version from OCI reference when opening install dialog from registry

Previously the helper that derived the install-dialog defaults returned
the full OCI ref (e.g. ghcr.io/org/skill:v1.2.3) into the Name or
reference field, leaving the dedicated Version field empty. Submitting
the form baked the version into name and the API received only a
conjoined string.

Replace getSkillInstallReference with getSkillInstallDefaults, which
splits an OCI identifier on its tag (:) or digest (@), or falls back to
the package ref field when the identifier is bare. The three registry
entry points (card, table, detail page) now pass both the bare
reference and the version into DialogInstallSkill so each value lands
in its own field. Unit tests cover the tag/digest/ref/non-OCI cases and
the registry table tests assert the Version input is prefilled.

* refactor: remove unused export

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

3904 of 6382 branches covered (61.17%)

6009 of 9035 relevant lines covered (66.51%)

132.07 hits per line

Source Files on job 25042344164.1
  • Tree
  • List 468
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25042344164
  • 82ef3a7b on github
  • Prev Job for on main (#25042288466.1)
  • Next Job for on main (#25043900771.1)
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