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

stacklok / toolhive / 26227770935
66%

Build:
DEFAULT BRANCH: main
Ran 21 May 2026 01:11PM UTC
Jobs 1
Files 735
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

21 May 2026 01:05PM UTC coverage: 65.71% (+0.2%) from 65.495%
26227770935

push

github

web-flow
Remove unreachable functions identified by deadcode analysis (#5355)

* Remove unreachable functions identified by deadcode analysis

Strips 100 unreachable functions across production and test helpers,
identified via `golang.org/x/tools/cmd/deadcode -test ./...`. These
are mostly speculative API surface (builder options, functional
options, convenience constructors) and stale test scaffolding that
no caller exercises.

Highlights:
- pkg/api/server.go: drop 7 unused ServerBuilder.With* options and
  the standalone Serve helper
- pkg/json/any.go: drop NewData/MustParse/FromRawExtension/
  MapFromRawExtension convenience constructors
- pkg/state/runconfig.go: drop ReadRunConfigJSON, LoadRunConfigOfType,
  LoadRunConfigWithFunc, and the now-orphaned RunConfigReadJSONFunc
  type
- pkg/vmcp/composer/workflow_errors.go: drop unused WorkflowError
  type; keep package-level sentinels and ValidationError
- Trim unused test helpers in cmd/thv-operator/test-integration/
  mcp-registry/, test/e2e/, and test/integration/authserver/helpers/
- Remove imports orphaned by deletions

Excludes cmd/thv/app/ui/ dead code (kept intentionally, may be
revived for a TUI). ~1,176 LOC removed across 38 files. `task build`
and `task test` pass.

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

* Strip trailing blank lines left by dead code removal

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

* Strip remaining trailing blank lines flagged by gci

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

---------

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

64833 of 98665 relevant lines covered (65.71%)

63.69 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
2
96.46
0.0% pkg/authserver/storage/memory.go
Jobs
ID Job ID Ran Files Coverage
1 26227770935.1 21 May 2026 01:11PM UTC 735
65.71
GitHub Action Run
Source Files on build 26227770935
  • Tree
  • List 735
  • Changed 28
  • Source Changed 22
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26227770935
  • 5540b3d1 on github
  • Prev Build on main (#26190207318)
  • Next Build on main (#26231991634)
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