WebSocket hub with channel-based pub/sub
Find a file
Snider da3df0077d feat(redis): add Redis pub/sub bridge for multi-instance Hub coordination
RedisBridge enables multiple Hub instances to coordinate broadcasts
and channel-targeted messages across processes via Redis pub/sub.
Uses envelope pattern with sourceID for infinite loop prevention.

Phase 3 items 1-2 complete. 15 tests including cross-bridge
messaging, loop prevention, concurrent publishes, and graceful
shutdown. Race-free under -race.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-20 11:23:37 +00:00
auth.go feat(auth): Phase 2 — token-based authentication on WebSocket upgrade 2026-02-20 08:12:45 +00:00
auth_test.go feat(auth): Phase 2 — token-based authentication on WebSocket upgrade 2026-02-20 08:12:45 +00:00
CLAUDE.md feat(auth): Phase 2 — token-based authentication on WebSocket upgrade 2026-02-20 08:12:45 +00:00
errors.go feat(auth): Phase 2 — token-based authentication on WebSocket upgrade 2026-02-20 08:12:45 +00:00
FINDINGS.md feat(ws): phase 0 coverage (98.5%) + phase 1 connection resilience 2026-02-20 01:17:56 +00:00
go.mod feat(redis): add Redis pub/sub bridge for multi-instance Hub coordination 2026-02-20 11:23:37 +00:00
go.sum feat(redis): add Redis pub/sub bridge for multi-instance Hub coordination 2026-02-20 11:23:37 +00:00
redis.go feat(redis): add Redis pub/sub bridge for multi-instance Hub coordination 2026-02-20 11:23:37 +00:00
redis_test.go feat(redis): add Redis pub/sub bridge for multi-instance Hub coordination 2026-02-20 11:23:37 +00:00
TODO.md feat(redis): add Redis pub/sub bridge for multi-instance Hub coordination 2026-02-20 11:23:37 +00:00
ws.go feat(auth): Phase 2 — token-based authentication on WebSocket upgrade 2026-02-20 08:12:45 +00:00
ws_bench_test.go test: expand Phase 0 coverage — 16 new tests, 9 benchmarks, SPDX headers 2026-02-20 05:14:11 +00:00
ws_test.go test: expand Phase 0 coverage — 16 new tests, 9 benchmarks, SPDX headers 2026-02-20 05:14:11 +00:00