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

stacklok / toolhive / 18973296783
51%

Build:
DEFAULT BRANCH: main
Ran 31 Oct 2025 01:05PM UTC
Jobs 1
Files 328
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

31 Oct 2025 01:00PM UTC coverage: 47.58% (+0.1%) from 47.459%
18973296783

push

github

web-flow
vMCP: Add comprehensive tests for cache and registry components (#2407)

Add comprehensive tests for vMCP cache and registry components

Add test coverage for pre-existing vMCP infrastructure components:
- CachedToken helper methods (IsExpired, ShouldRefresh)
- ImmutableRegistry implementation (Get, List, Count, BackendToTarget)

This provides test coverage for the core vmcp types that were implemented
in previous PRs but lacked comprehensive tests.

Changes:
- Add cache_test.go with 26 test cases for CachedToken utilities
- Add registry_test.go with comprehensive registry behavior tests
- Fix linter issues (goconst, paralleltest)

Test coverage:
- pkg/vmcp/cache: 417 lines of tests
- pkg/vmcp/registry: 916 lines of tests
- Total: 1,333 lines of test coverage

All tests pass and are properly parallelized.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>

20848 of 43817 relevant lines covered (47.58%)

22.14 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
65.26
10.53% pkg/secrets/keyring/keyctl_linux.go
4
81.06
-1.11% pkg/transport/proxy/httpsse/http_proxy.go
Jobs
ID Job ID Ran Files Coverage
1 18973296783.1 31 Oct 2025 01:05PM UTC 328
47.58
GitHub Action Run
Source Files on build 18973296783
  • Tree
  • List 328
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18973296783
  • dbb36a33 on github
  • Prev Build on main (#18972917503)
  • Next Build on main (#18974066623)
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

© 2025 Coveralls, Inc