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

stacklok / toolhive / 17488624050

05 Sep 2025 08:57AM UTC coverage: 35.737% (-0.2%) from 35.965%
17488624050

push

github

web-flow
Refactor session management to support multiple storage backends (#1677)

Unified session management across all transport types by migrating
HTTPSSEProxy from direct map storage to use the centralized session
manager. Extended the session interface to support type differentiation
and metadata storage, enabling future support for distributed session
storage backends like Redis/Valkey.

Key changes:
- Added session types (MCP, SSE, Streamable) for better session handling
- Created SSESession type with SSE-specific functionality
- Migrated HTTPSSEProxy to use session manager with proper TTL
- Updated factory pattern to support different session types
- Fixed all tests to work with the new session management
- Maintained backward compatibility with existing code

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

68 of 237 new or added lines in 4 files covered. (28.69%)

25 existing lines in 4 files now uncovered.

9921 of 27761 relevant lines covered (35.74%)

16.6 hits per line

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

82.77
/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