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

stacklok / toolhive / 27239275345
67%

Build:
DEFAULT BRANCH: main
Ran 09 Jun 2026 10:19PM UTC
Jobs 1
Files 751
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

09 Jun 2026 10:12PM UTC coverage: 66.287% (+0.07%) from 66.217%
27239275345

push

github

web-flow
Send OTLP export headers delivered via EnvVars (#5474)

The POST /api/v1/workloads path calls BuildTelemetryConfigFromAppConfig
with no header flags, so headers configured through an
OTEL_EXPORTER_OTLP_HEADERS entry in the config's EnvVars never reached
cfg.Headers — the single field the OTLP exporter sends via WithHeaders.
That entry was only copied into the workload's EnvironmentVariables, so
every configured header (auth, tenant routing, env tags) was silently
dropped on the API path, and an auth-gated collector rejected every
export with 401.

Parse OTEL_EXPORTER_OTLP_HEADERS out of EnvVars into the structured
Headers map, splitting on the first '=' only so values containing '='
(base64 padding) or spaces ("Basic <token>") survive intact. Explicit
--otel-headers flags still take precedence.

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

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

9 existing lines in 2 files now uncovered.

67259 of 101467 relevant lines covered (66.29%)

64.02 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
20.11
-3.45% pkg/client/manager.go
3
70.0
-3.33% pkg/state/local.go
Jobs
ID Job ID Ran Files Coverage
1 27239275345.1 09 Jun 2026 10:19PM UTC 751
66.29
GitHub Action Run
Source Files on build 27239275345
  • Tree
  • List 751
  • Changed 9
  • Source Changed 1
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27239275345
  • a42c0b68 on github
  • Prev Build on main (#27238132481)
  • Next Build on main (#27240917404)
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