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

stacklok / toolhive / 22944131400

11 Mar 2026 08:44AM UTC coverage: 63.934% (+0.04%) from 63.899%
22944131400

push

github

web-flow
Fix validateOCITag to accept full OCI references (#4088)

The --tag flag in `thv skill build` accepts both bare tags (v1.0) and
full OCI references (ghcr.io/org/repo:v1.0) to match `docker build -t`
semantics. The CI workflow passes full references but validateOCITag()
rejected them because it prepended a dummy host, producing an invalid
double-reference.

Rename to validateOCITagOrReference with two-branch validation: if the
input contains /:@ characters, validate as a full reference via
ParseReference; otherwise validate as a bare tag via NewTag with a
dummy prefix. This reuses the same heuristic from parseOCIReference().

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

13 of 13 new or added lines in 1 file covered. (100.0%)

8 existing lines in 4 files now uncovered.

47585 of 74428 relevant lines covered (63.93%)

73.33 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

79.79
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

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