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

stacklok / toolhive / 22666181436

04 Mar 2026 10:52AM UTC coverage: 63.759% (-0.02%) from 63.777%
22666181436

push

github

web-flow
Fix nil pointer panic in resolveTransportType for protocol scheme images (#3944)

Guard against typed nil pointers wrapped in non-nil ServerMetadata
interfaces across all call sites. Protocol scheme images (npx://,
uvx://, go://) returned nil *ImageMetadata from handleProtocolScheme,
which when converted to a ServerMetadata interface became non-nil,
causing panics on method calls like GetTransport().

Fixes #3940

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

13 of 33 new or added lines in 4 files covered. (39.39%)

42 existing lines in 7 files now uncovered.

46524 of 72968 relevant lines covered (63.76%)

76.21 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