gsxdsm
5b9ff047d3
FN-6599: preserve chat thread during streaming attach
Keep existing chat history visible when attaching to an in-flight streaming response.
- Commit attach-triggered message loads for the streaming session before active session refs settle.
- Avoid clearing cached main chat messages on attach cache misses while fetching prior thread history.
- Add regression coverage for main chat and QuickChat streaming thread visibility, plus quarantine ledger updates.
Files changed:
.changeset/fn-6599-chat-streaming-thread.md | 5 +
docs/architecture.md | 1 +
docs/dashboard-guide.md | 2 +-
packages/core/vitest.config.ts | 1 +
.../__tests__/ChatView.streaming-thread.test.tsx | 168 +++++++++++++++++++++
.../dashboard/app/hooks/__tests__/useChat.test.ts | 51 +++++++
.../app/hooks/__tests__/useQuickChat.test.ts | 39 +++++
packages/dashboard/app/hooks/useChat.ts | 37 +++--
packages/dashboard/app/hooks/useQuickChat.ts | 27 ++--
scripts/lib/test-quarantine.json | 5 +
10 files changed, 307 insertions(+), 29 deletions(-)
Fusion-Task-Id: FN-6599
Fusion-Task-Lineage: b2c94391-6a5b-4048-836d-e4bc56e16786
2026-06-17 17:49:20 -07:00
..
2026-06-16 15:08:24 -07:00
2026-06-17 17:49:20 -07:00
2026-06-03 17:36:35 -07:00
2026-05-13 17:44:46 -07:00
2026-04-27 08:21:48 -07:00
2026-05-12 07:47:11 -07:00
2026-05-12 17:04:33 -07:00
2026-05-14 05:07:03 -07:00
2026-05-29 13:58:13 -07:00
2026-06-05 13:58:34 -07:00
2026-05-13 22:41:30 -07:00
2026-05-23 19:51:36 -07:00
2026-05-19 17:19:03 -07:00
2026-06-14 15:29:35 -07:00
2026-06-14 15:29:35 -07:00
2026-04-27 08:21:48 -07:00
2026-06-13 19:22:00 -07:00
2026-06-13 15:44:28 -07:00
2026-04-27 08:21:48 -07:00
2026-05-11 09:52:23 +02:00
2026-05-11 13:36:51 +02:00
2026-04-27 08:21:48 -07:00
2026-05-11 13:36:51 +02:00
2026-06-03 21:03:38 -07:00
2026-06-16 18:03:41 -07:00
2026-05-12 17:04:33 -07:00
2026-05-20 02:46:49 -07:00
2026-05-11 06:47:43 -07:00
2026-05-23 03:33:53 -07:00
2026-05-20 22:25:15 -07:00
2026-04-27 08:21:48 -07:00
2026-06-16 15:08:24 -07:00
2026-05-23 03:09:00 -07:00
2026-05-14 11:15:47 -07:00
2026-05-09 13:21:47 -07:00
2026-05-27 21:31:12 -07:00
2026-03-30 23:56:01 -07:00
2026-03-26 01:03:16 -04:00
2026-05-23 04:18:55 -07:00
2026-04-27 08:21:48 -07:00
2026-06-03 17:57:29 -07:00
2026-04-29 08:15:38 -07:00
2026-06-17 17:13:13 -07:00
2026-06-07 18:51:46 -07:00
2026-05-03 05:47:11 -07:00