From 39573626e9730c83bd43b178c7ab5324d1a2e1a3 Mon Sep 17 00:00:00 2001 From: Igor Loskutov Date: Tue, 10 Feb 2026 20:27:34 -0500 Subject: [PATCH] fix: invalidate transcript query on STATUS websocket event Without this, the processing page never redirects after completion because the redirect logic watches the REST query data, not the WebSocket status state. Cherry-picked from feat-dag-progress (faec509a). --- www/app/(app)/transcripts/useWebSockets.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/www/app/(app)/transcripts/useWebSockets.ts b/www/app/(app)/transcripts/useWebSockets.ts index 47c036b8..7c27ed59 100644 --- a/www/app/(app)/transcripts/useWebSockets.ts +++ b/www/app/(app)/transcripts/useWebSockets.ts @@ -431,6 +431,7 @@ export const useWebSockets = (transcriptId: string | null): UseWebSockets => { ); } setStatus(message.data); + invalidateTranscript(queryClient, transcriptId as NonEmptyString); if (message.data.value === "ended") { ws.close(); }