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

stacklok / toolhive / 24442318933 / 1
65%
main: 65%

Build:
DEFAULT BRANCH: main
Ran 15 Apr 2026 07:41AM UTC
Files 630
Run time 18s
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

15 Apr 2026 07:36AM UTC coverage: 65.688% (-0.008%) from 65.696%
24442318933.1

push

github

web-flow
Add horizontal scaling tests for vmcp (#4724)

* Revert "Revert "Add LRU capacity to ValidatingCache, remove sentinel pattern, add storage Update" (#4730)"

This reverts commit acc1f6630.

* changes from review

* Add horizontal scaling tests for vmcp

Add integration and e2e tests for Redis-backed vMCP session sharing

Integration tests (pkg/vmcp/server/sessionmanager, miniredis):
- AC1: cross-pod session reconstruction via RestoreSession on cache miss
- AC2: hijack prevention — wrong/nil callers rejected after restore,
       correct caller routes successfully
- AC4: all backends unreachable on restore → empty routing table returned
- AC5: NotifyBackendExpired removes backend from Redis metadata;
       subsequent restore on a fresh pod skips the expired backend
- AC6: LocalSessionDataStorage (no Redis) → no cross-pod sharing

E2E tests (test/e2e/thv-operator/virtualmcp, Kind + real Redis):
- replicas=2 + Redis → SessionStorageWarning=False and Ready=True
- cross-pod session reconstruction: session initialized on pod A is
  usable on pod B via transport.WithSession(sessionID)

Note: AC3 (LRU eviction, RC-10) is intentionally excluded — TTL-based
Redis eviction is sufficient.

Closes #4222

* changes from review

* fixes from review

---------

Co-authored-by: taskbot <taskbot@users.noreply.github.com>

57280 of 87200 relevant lines covered (65.69%)

62.33 hits per line

Source Files on job 24442318933.1
  • Tree
  • List 630
  • Changed 27
  • Source Changed 18
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24442318933
  • 9176e93f on github
  • Prev Job for on main (#24423712742.1)
  • Next Job for on main (#24442333364.1)
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