android: harden realtime heartbeat and reconnect reconcile
Some checks failed
CI / test (push) Failing after 2m10s
Some checks failed
CI / test (push) Failing after 2m10s
This commit is contained in:
@@ -136,3 +136,9 @@
|
||||
- Added domain model/use-cases for invite-link creation and join-by-invite.
|
||||
- Extended chat repository with invite operations and local chat upsert on successful join.
|
||||
- Added minimal Chat List UI flow for join-by-invite token input with loading/error handling and auto-open of joined chat.
|
||||
|
||||
### Step 22 - Sprint P0 / 5) Realtime stability and reconcile
|
||||
- Added heartbeat in WebSocket manager (`ping` interval + `pong` timeout detection) with forced reconnect on stale link.
|
||||
- Improved socket lifecycle hygiene by cancelling heartbeat on close/failure/disconnect paths.
|
||||
- Added `connect` event mapping and centralized reconcile trigger in realtime handler.
|
||||
- On realtime reconnect, chat repository now refreshes `all` and `archived` snapshots to reduce stale state after transient disconnects.
|
||||
|
||||
Reference in New Issue
Block a user