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
OPE-216: Session Chat skips history catch-up after BackgroundStop #500
On resume from inactivity, Session Chat can skip REST history catch-up and leave a stale timeline. Last-turn Review Changes then never loads because the turn stays busy.
User outcome: Coming back to an open Session Chat REST-catches up missed messages even when iOS goes idle-timeout → BackgroundStop without a Background signal.
Cause (device logs): First resume is BackgroundStop then Foreground with no Background. marksStale only treats Background and PathLost, so health stays healthy. fullReload skip reason=stream.reconnected fires 14ms later. History only landed later via pull-to-refresh (40 → 46 → 56 messages). Reconnect catch-up failed (stream.reconnected 8.7s, overflow-recovery 42s / 58s).
Remaining:
Treat BackgroundStop as stale (iOS + Android)
Regression: BackgroundStop then Foreground refreshes history
Keep Foreground-without-background from refetching
Docs: docs/features/message-store/
Imported from Linear OPE-216. Linear status: Done. Priority: High. Created 2026-08-31. Completed 2026-08-31.
Related: OPE-234.
Activity