You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(webui): archived session "flashes back" due to SSE race condition #7882
When archiving a session in WebUI sidebar, the session briefly disappears then reappears (~100ms later).
Possible Cause
The session.archive API may trigger a session.updated SSE event before archive completes. The optimistic update removes the session, but then the stale event re-adds it.
Suggestion
Use the same logic as TUI - call session.delete API instead, which sends a session.deleted event and avoids confusion with update events.
All three share the core pattern of WebUI/sidebar state being out of sync with backend state. Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Jan 11, 2026
This issue might be a duplicate of existing issues. Please check:
All three share the core pattern of WebUI/sidebar state being out of sync with backend state. Feel free to ignore if none of these address your specific case.
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.
test(app): sleep/resume and archive-vs-reconnect race state-gate jour…