Pulse/internal/websocket
pulse-triage[bot] 901274ee92 Reduce snapshot and clone allocations without trusting ID hints
Batch WebSocket identity decoding from the encoded arrays and retain decoder-owned entry buffers. Keep canonical metadata refresh on every resource clone while replacing membership maps with small scope slices and a single sensitivity-tag scan. Preserve delta identity, scope ordering, policy precedence and clone isolation with reference/fuzz and transition tests.

Adapt the remaining performance work proposed in Pulse PR #2342 for issue #2199. The contributor's first-ID check cannot verify a stale tail; this candidate uses standard JSON decoding for every encoded identity instead. Keep the imported contributor history and branch unchanged.

Co-authored-by: Andy Prosser <andy.prosser@icloud.com>
Based-on: https://github.com/rcourtman/Pulse/pull/2342
Original-Commit: 0cbfa43186c82675115ee40858764b534176d9a0
Change-source: pulse-maintainer
2026-09-30 13:21:56 +01:00
..
concurrency_test.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
hub.go Space websocket state broadcasts at least 2s apart per audience 2026-09-24 11:21:20 +01:00
hub_alert_tenant_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
hub_client_frame_limit_test.go fix(websocket): keep oversized recovery baseline-free 2026-08-08 01:35:49 +01:00
hub_concurrency_test.go refactor: use strconv.Itoa instead of string(rune()) in test 2025-10-20 15:12:14 +00:00
hub_more2_test.go Require explicit websocket origin continuity 2026-04-22 04:46:13 +01:00
hub_more_test.go Bound state refresh and recovery ingest ownership 2026-07-23 22:24:52 +01:00
hub_multitenant_test.go Harden remaining CodeQL security boundaries 2026-07-09 19:46:40 +01:00
hub_observability_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
hub_tenant_test.go Fix websocket state broadcast retention 2026-06-24 11:16:27 +01:00
hub_test.go Space websocket state broadcasts at least 2s apart per audience 2026-09-24 11:21:20 +01:00
state_delta.go Reduce snapshot and clone allocations without trusting ID hints 2026-09-30 13:21:56 +01:00
state_delta_bench_test.go fix(perf): compare registry generations without deep clones 2026-09-24 07:44:36 +01:00
state_delta_test.go Reduce snapshot and clone allocations without trusting ID hints 2026-09-30 13:21:56 +01:00