- Add dismissal tombstone tracking in useBackgroundSessions to ignore stale refresh, sync, and SSE updates for dismissed session IDs - Treat terminal session states consistently and broadcast completion on dismiss so local/session-sync state remains converged - Keep lock-conflicted planning cancellations visible instead of falsely dismissing the session when another tab owns the lock - Expand useBackgroundSessions regression tests to cover stale sync/SSE resurrection, refresh behavior, lock-conflict handling, and newer-authoritative restore paths
12 KiB
12 KiB