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

stacklok / toolhive / 24506764464

16 Apr 2026 11:04AM UTC coverage: 65.812% (-0.001%) from 65.813%
24506764464

push

github

web-flow
Persist restored session metadata to Redis in loadSession (#4842)

After a successful RestoreSession call, write the restored session's
metadata back to Redis so per-backend session IDs stay current.
Backends that ignore Mcp-Session-Id hints (e.g. SSE transports) assign
a fresh ID on every restore; without this write the stale IDs persisted
in Redis indefinitely.

With Redis kept consistent, revert checkSession's comparison from the
narrowed MetadataKeyBackendIDs-only workaround (introduced in #4724)
back to maps.Equal, restoring full cross-pod consistency detection for
any metadata drift.

Closes #4836

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

16 of 19 new or added lines in 1 file covered. (84.21%)

5 existing lines in 2 files now uncovered.

57289 of 87050 relevant lines covered (65.81%)

62.33 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

79.38
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

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