Skip to content

fix(assistant): harden conversation identity and pre-SSE errors - #118

Merged
vitorhugo-dotnet merged 6 commits into
mainfrom
fix/96-assistant-conversation-guard
Sep 18, 2026
Merged

vitorhugo-dotnet merged 6 commits into
mainfrom
fix/96-assistant-conversation-guard

Conversation

@vitorhugo-dotnet

@vitorhugo-dotnet vitorhugo-dotnet commented Sep 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

Companion frontend fix for vitorhugo-dotnet/SpringBoot-JobApplyTracker#96.

Root cause / production investigation

Changes

  • centralize assistant conversation UUID creation/validation
  • revalidate and self-heal the conversation ID immediately before every request
  • recover from IndexedDB/open/read/decryption failures with a fresh UUID
  • keep replacement IDs persisted through assistant history
  • send Accept: text/event-stream, application/problem+json, application/json
  • parse structured non-2xx JSON/problem responses before touching the SSE parser
  • reject successful non-SSE responses as typed AssistantRequestError
  • preserve conversation ID on retry and generate a fresh ID on Clear
  • add Playwright regression coverage for request headers, IndexedDB failure recovery, Clear identity rotation, and JSON-vs-SSE handling

Backend issue: vitorhugo-dotnet/SpringBoot-JobApplyTracker#96

@vitorhugo-dotnet
vitorhugo-dotnet merged commit dec00a9 into main Sep 18, 2026
6 checks passed
@vitorhugo-dotnet
vitorhugo-dotnet deleted the fix/96-assistant-conversation-guard branch September 18, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant