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

stacklok / toolhive / 23335544920
64%

Build:
DEFAULT BRANCH: main
Ran 20 Mar 2026 08:52AM UTC
Jobs 1
Files 570
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

20 Mar 2026 08:48AM UTC coverage: 64.733% (-0.04%) from 64.775%
23335544920

push

github

web-flow
feat(session): implement Redis storage backend (RC-6) (#4233)

Add RedisStorage as a distributed Storage implementation for the
transport/session package, enabling horizontal scaling of the vMCP
component by externalising session state to a shared Redis/Sentinel
backend.

- Add RedisConfig, SentinelConfig, and RedisTLSConfig structs with
  configurable timeouts (defaults: dial 5s, read 3s, write 3s)
- Implement RedisStorage with Store (SET+EX TTL refresh), Load
  (ErrSessionNotFound on miss), Delete (no-op on missing key),
  DeleteExpired (no-op; Redis TTL handles expiry), and Close
- Support standalone and Sentinel modes; optional TLS with system
  or custom CA roots
- Add unit tests using miniredis covering all methods, TTL refresh,
  idempotent upsert, key format, and all three session types
- Remove nolint:unused annotations from serializeSession/deserializeSession
  now that they are consumed by RedisStorage

Closes #4205

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

67 of 138 new or added lines in 1 file covered. (48.55%)

22 existing lines in 3 files now uncovered.

50113 of 77415 relevant lines covered (64.73%)

131.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
71
48.55
pkg/transport/session/storage_redis.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
82.98
-0.26% pkg/vmcp/composer/workflow_engine.go
4
80.76
-0.85% pkg/transport/proxy/transparent/transparent_proxy.go
16
75.61
-18.33% pkg/transport/session/serialization.go
Jobs
ID Job ID Ran Files Coverage
1 23335544920.1 20 Mar 2026 08:52AM UTC 570
64.73
GitHub Action Run
Source Files on build 23335544920
  • Tree
  • List 570
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23335544920
  • 4d4fbe21 on github
  • Prev Build on main (#23334526557)
  • Next Build on main (#23344701518)
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