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-03 19:12:28 -07:00
2026-06-14 15:29:35 -07:00
2026-05-04 14:35:23 -07:00
2026-06-16 15:08:24 -07:00
2026-06-15 02:30:41 -07:00
2026-06-13 15:21:00 -07:00
2026-06-03 19:12:28 -07:00
2026-06-16 19:25:32 -07:00
2026-06-14 15:29:35 -07:00