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

stacklok / toolhive / 17637001769
59%

Build:
DEFAULT BRANCH: main
Ran 11 Sep 2025 07:17AM UTC
Jobs 1
Files 231
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

11 Sep 2025 07:13AM UTC coverage: 40.017% (+0.6%) from 39.391%
17637001769

push

github

web-flow
Refactor `RunConfigBuilder` to Option Pattern. (#1816)

This change replaces the builder pattern used to build a `RunConfig`
with the `OptionPattern`. I haven't added any additional validation
inside the various `WithXXX` routines, but this work can be further
improved moving some of the logic written in
validateConfig out of it, further simplifying run config validation
procedures.

The resulting encapsulation is visible in `runConfigBuilder` now being
no longer accessible outside the package.

Co-authored-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com>

326 of 627 new or added lines in 6 files covered. (51.99%)

39 existing lines in 4 files now uncovered.

12170 of 30412 relevant lines covered (40.02%)

17.15 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
32.32
-0.33% pkg/mcp/server/run_server.go
10
78.25
-1.11% cmd/thv-operator/controllers/mcpserver_runconfig.go
40
29.41
-0.14% cmd/thv/app/run_flags.go
115
48.61
48.61% cmd/thv-proxyrunner/app/run.go
127
54.5
-0.24% pkg/runner/config_builder.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
92.86
-1.43% pkg/secrets/keyring/composite.go
3
48.61
48.61% cmd/thv-proxyrunner/app/run.go
13
54.5
-0.24% pkg/runner/config_builder.go
21
48.94
-15.96% pkg/secrets/keyring/keyctl_linux.go
Jobs
ID Job ID Ran Files Coverage
1 17637001769.1 11 Sep 2025 07:17AM UTC 231
40.02
GitHub Action Run
Source Files on build 17637001769
  • Tree
  • List 231
  • Changed 9
  • Source Changed 6
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17637001769
  • b838fe39 on github
  • Prev Build on main (#17619529528)
  • Next Build on main (#17640470318)
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