Commit 59517fd
committed
Fix live activity replay expiry and same-identity registration retry
- Skip replay delivery when the aggregate is null but non-terminal rows
remain: an all-expired row set is ambiguous (dead environment vs. a
healthy long-running agent whose meaningful state has not changed), so
ending the Live Activity on foreground could kill a healthy activity.
- Only skip device re-registration for an unchanged identity when the
previous attempt actually registered with the relay, so failed or
stalled registrations retry when the auth effect re-runs.1 parent 5086c14 commit 59517fd
2 files changed
Lines changed: 15 additions & 1 deletion
File tree
- apps/mobile/src/features/agent-awareness
- infra/relay/src/agentActivity
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
190 | 194 | | |
191 | 195 | | |
192 | 196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
122 | 132 | | |
123 | 133 | | |
124 | 134 | | |
| |||
0 commit comments