From dcd473de6c65f46e9a07a1885b11faa5396dd12f Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Fri, 27 Feb 2026 17:45:17 -0800 Subject: [PATCH] Clear raw packet ref on reconnect --- frontend/src/App.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 469f49b..461c641 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -229,6 +229,9 @@ export function App() { }); }, onReconnect: () => { + // Clear raw packets: observation_id is a process-local counter that resets + // on backend restart, so stale packets would cause new ones to be deduped away. + setRawPackets([]); // Silently recover any data missed during the disconnect window triggerReconcile(); refreshUnreads();