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

stacklok / toolhive / 21939531670

12 Feb 2026 08:44AM UTC coverage: 61.908% (+0.05%) from 61.859%
21939531670

push

github

web-flow
Resolve OTel serviceVersion at runtime instead of persisting it (#3789)

The serviceVersion field was set at config creation time and persisted in
the runconfig and export output. This caused stale versions to be
reported after upgrading ToolHive and restarting workloads.

Now serviceVersion is resolved in NewProvider() at runtime using the
current binary version. The field is no longer populated in
DefaultConfig(), MaybeMakeConfig(), createTelemetryConfig(), or
NormalizeTelemetryConfig(). Existing configs with an explicit
serviceVersion (e.g., from the K8s operator CRD) are still honored.

Closes #2296

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

6 of 9 new or added lines in 2 files covered. (66.67%)

4 existing lines in 2 files now uncovered.

43792 of 70737 relevant lines covered (61.91%)

77.11 hits per line

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

79.58
/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