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

stacklok / toolhive / 24469088566
66%

Build:
DEFAULT BRANCH: main
Ran 15 Apr 2026 05:45PM UTC
Jobs 1
Files 631
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 05:38PM UTC coverage: 65.763% (-0.04%) from 65.8%
24469088566

push

github

web-flow
Split OTLP endpoint path to fix Langfuse/LangSmith integration (#4815)

* Split OTLP endpoint path to fix Langfuse/LangSmith integration

The OTLP HTTP SDK's WithEndpoint() only accepts host:port, but users
need to include a path for platforms like Langfuse and LangSmith. The
path component was being URL-encoded, breaking requests. Parse the
endpoint into host:port and path, using WithURLPath() for the path.

Fixes #4811

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Address review feedback on OTLP endpoint path fix

- Strip http:// and https:// prefixes defensively in splitEndpointPath
  so the CLI path (which skips NormalizeTelemetryConfig) works correctly
- Extract "/v1/traces" and "/v1/metrics" as package-level constants
- Add test cases: bare trailing slash, scheme-prefixed endpoints
- Restore error-path coverage for metrics exporter (invalid CA cert)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Document OTLP path suffix constants with spec reference

Link to the OTLP/HTTP spec and explain why we need to append
these suffixes manually when a custom base path is provided.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

21 of 21 new or added lines in 3 files covered. (100.0%)

44 existing lines in 6 files now uncovered.

57228 of 87021 relevant lines covered (65.76%)

62.7 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
74.44
-5.19% pkg/client/config.go
11
68.83
-14.29% pkg/client/discovery.go
8
23.56
-4.6% pkg/client/manager.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
3
79.38
-0.77% pkg/transport/proxy/httpsse/http_proxy.go
2
90.32
8.84% pkg/telemetry/providers/otlp/metrics.go
Jobs
ID Job ID Ran Files Coverage
1 24469088566.1 15 Apr 2026 05:45PM UTC 631
65.76
GitHub Action Run
Source Files on build 24469088566
  • Tree
  • List 631
  • Changed 8
  • Source Changed 2
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24469088566
  • 2ce25094 on github
  • Prev Build on main (#24467007760)
  • Next Build on main (#24469361499)
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