From 6c46b52964571a50e204189527401085751d266f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Tue, 8 Sep 2026 23:18:26 +0100 Subject: [PATCH] chore(broker): tag stale-sweep evictions with an explicit reason evictPresenceFully(pid, "stale_sweep_flipped_live_lease") so the "ws evict full" line distinguishes reconciler evictions from grace expiry and close-while-offline in the logs. Co-Authored-By: Claude Fable 5.1 --- apps/broker/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/broker/src/index.ts b/apps/broker/src/index.ts index 3588a53..22a1a10 100644 --- a/apps/broker/src/index.ts +++ b/apps/broker/src/index.ts @@ -5826,7 +5826,7 @@ async function main(): Promise { session_pubkey: conn?.sessionPubkey?.slice(0, 12) ?? "(member-WS)", last_pong_ago_ms: conn ? Date.now() - conn.lastPongAt : -1, }); - void evictPresenceFully(pid); + void evictPresenceFully(pid, "stale_sweep_flipped_live_lease"); } }, });