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

stacklok / toolhive / 23747991487
65%

Build:
DEFAULT BRANCH: main
Ran 30 Mar 2026 01:50PM UTC
Jobs 1
Files 586
Run time 1min
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

30 Mar 2026 01:45PM UTC coverage: 65.532% (+0.04%) from 65.492%
23747991487

push

github

web-flow
Respect global config for OTel tracing and metrics enabled (#4326)

* Respect global config for OTel tracing/metrics

thv config otel set-tracing-enabled false was silently ignored by
thv run because getTelemetryFromFlags had no fallback for these
two fields, and buildRunConfig bypassed the fallback entirely for
the proxy runner config. Users could not globally disable telemetry
without passing CLI flags on every invocation.

Fixes #4323

Signed-off-by: Greg Katz <gkatz@indeed.com>

* Add test for disabled-signals telemetry path

Cover the createTelemetryConfig early-return when both
tracing and metrics are disabled with the endpoint still
configured.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Greg Katz <gkatz@indeed.com>

* Address review feedback on OTel config PR

Fix unset guard to check nil only, not nil-or-false,
so users can unset an explicit false value. Return a
struct from getTelemetryFromFlags instead of 8 positional
values. Default tracing/metrics to false when telemetry
config is nil to avoid fragile fallback to runFlags.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Greg Katz <gkatz@indeed.com>

---------

Signed-off-by: Greg Katz <gkatz@indeed.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Muhammad Amir Ejaz <amir@stacklok.com>

22 of 57 new or added lines in 2 files covered. (38.6%)

4 existing lines in 2 files now uncovered.

52831 of 80619 relevant lines covered (65.53%)

64.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
21
31.37
4.83% cmd/thv/app/run_flags.go
14
8.16
-0.06% cmd/thv/app/otel.go

Coverage Regressions

Lines Coverage ∆ File
3
71.85
-1.11% pkg/ignore/processor.go
1
31.37
4.83% cmd/thv/app/run_flags.go
Jobs
ID Job ID Ran Files Coverage
1 23747991487.1 30 Mar 2026 01:50PM UTC 586
65.53
GitHub Action Run
Source Files on build 23747991487
  • Tree
  • List 586
  • Changed 9
  • Source Changed 3
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23747991487
  • eb0d4053 on github
  • Prev Build on main (#23747951132)
  • Next Build on main (#23748386802)
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