From 2d4036cf1ec9b9e7ef426f8b7564eda6c5b9d760 Mon Sep 17 00:00:00 2001 From: Devvyn <22340871+opticon454@users.noreply.github.com> Date: Fri, 30 Oct 2026 01:50:24 +0800 Subject: [PATCH] test(discord): give the bare cleanup server the bridge its delete path now calls --- test/agent-inbox-server-wiring.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/agent-inbox-server-wiring.test.ts b/test/agent-inbox-server-wiring.test.ts index a0987815..41963b73 100644 --- a/test/agent-inbox-server-wiring.test.ts +++ b/test/agent-inbox-server-wiring.test.ts @@ -49,6 +49,8 @@ function bareServer(live: string[] = [], persisted: string[] = []): CleanupServe stopTranscriptWatcher: () => {}, persistDeb: { cancelKey: () => {} }, sse: { cleanupSessionBatches: () => {} }, + // A real delete also tells the Discord bridge, which frees its per-tab state and may archive the thread. + discordBridge: { sessionDeleted: async () => {} }, broadcast: () => {}, }); return server;