FN-7497: keep accepted chat streams waiting
Keep accepted-but-silent chat streams waiting so late responses can reconcile without false timeout failures.
- Stop aborting accepted chat streams when the first SSE event timer fires without content.
- Cover desktop, mobile, planner chat, reattach, hook, and SSE parser paths for late accepted responses.
- Add a patch changeset for the chat first-event timeout fix.
Files changed:
.changeset/fn-7497-chat-first-event-timeout.md | 7 +++
.../app/api/__tests__/legacy-chat-stream.test.ts | 27 ++++++--
packages/dashboard/app/api/legacy.ts | 8 ++-
.../__tests__/ChatView.core-interactions.test.tsx | 41 +++++++++++++
.../__tests__/TaskPlannerChatTab.test.tsx | 71 ++++++++++++++++++++++
.../dashboard/app/hooks/__tests__/useChat.test.ts | 41 +++++++++++++
6 files changed, 188 insertions(+), 7 deletions(-)
Fusion-Task-Id: FN-7497
Fusion-Task-Lineage: bb53793d-dc78-4a25-af22-ed1c62b73094
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>