Commit Graph

1 Commits

Author SHA1 Message Date
Pascal André
c526287b2f fix(ui): reconnect closed SSE streams (#362)
## Summary
- Reconnect the UI event stream when a runtime surfaces an SSE close
notification, not only on EventSource errors.
- Avoid scheduling duplicate reconnect loops when close/error
notifications arrive together.
- Add a targeted EventSource handler test for the close paths described
in #207.

## Validation
- node --experimental-strip-types --test
"packages/ui/src/lib/event-source-handlers.test.ts"
- npm run build --workspace @codenomad/ui

Closes #207
2026-04-26 16:29:18 +01:00