gsxdsm
198fb17277
FN-6496: preserve chat history during streaming attach
Keep existing chat thread messages visible while reconnecting to streamed assistant responses.
- Hydrate or reload prior session messages before attaching an in-flight stream in full chat.
- Add QuickChat session-specific message loading so resumed streams do not hide earlier turns.
- Cover full chat and QuickChat streaming attach behavior with regression tests.
- Add the required patch changeset and quarantine unrelated flaky dashboard tests observed during verification.
Files changed:
.changeset/fn-6496-chat-stream-prior-thread.md | 5 +
.../dashboard/app/hooks/__tests__/useChat.test.ts | 286 ++++++++++++++++++++-
.../app/hooks/__tests__/useQuickChat.test.ts | 147 ++++++++++-
packages/dashboard/app/hooks/useChat.ts | 17 +-
packages/dashboard/app/hooks/useQuickChat.ts | 62 ++---
packages/dashboard/vitest.config.ts | 13 +-
scripts/lib/test-quarantine.json | 13 +-
7 files changed, 502 insertions(+), 41 deletions(-)
Fusion-Task-Id: FN-6496
Fusion-Task-Lineage: eb371b39-9810-48b7-a395-30066c9bc3be
2026-06-16 19:25:32 -07:00
..
2026-06-16 15:08:24 -07:00
2026-06-16 19:25:32 -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-15 12:13:40 -07:00
2026-06-07 18:51:46 -07:00
2026-05-03 05:47:11 -07:00