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

stacklok / toolhive / 26763112698
66%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2026 03:07PM UTC
Jobs 1
Files 741
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

01 Jun 2026 03:00PM UTC coverage: 65.89% (+0.002%) from 65.888%
26763112698

push

github

web-flow
Persist config backward-compat migrations to load path (#5416)

Loading a config from an explicit path (PathProvider, LoadOrCreate-
ConfigWithPath) that needed a backward-compatibility migration wrote
the migrated result to the default xdg path instead of the path it
was loaded from. applyBackwardCompatibility called the path-agnostic
save(), which always resolves to getConfigPath().

For tests this clobbered the developer's real config file whenever a
PathProvider loaded a temp config with a secrets provider set but
setup_completed false, defeating the isolation added for #894. It was
also a latent correctness bug for any path-based load in production.

Thread the load path through applyBackwardCompatibility and persist
via saveToPath(configPath). Remove the now-unused save() helper.

Closes #894

Co-authored-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

3 of 4 new or added lines in 1 file covered. (75.0%)

8 existing lines in 3 files now uncovered.

65753 of 99792 relevant lines covered (65.89%)

64.26 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
71.36
-1.79% pkg/config/config.go

Coverage Regressions

Lines Coverage ∆ File
3
97.36
-0.53% pkg/authz/authorizers/cedar/core.go
3
71.36
-1.79% pkg/config/config.go
2
82.29
-0.21% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 26763112698.1 01 Jun 2026 03:06PM UTC 741
65.89
GitHub Action Run
Source Files on build 26763112698
  • Tree
  • List 741
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26763112698
  • 50a6c8b6 on github
  • Prev Build on main (#26762868986)
  • Next Build on main (#26763374418)
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