Before submitting
Area
apps/mobile (root cause is in infra/relay)
Steps to reproduce
- Link an environment through T3 Connect with agent activity publishing enabled.
- On iOS, enable Live Activity Updates.
- Start a new task from the iOS app and lock the phone.
- Watch the Live Activity while the agent works.
Expected behavior
The card moves from Connecting to Working once the provider session is running.
Actual behavior
The card stays on Connecting for the whole turn. It only changes at the next phase transition (approval, input, done, failed) or when the app is foregrounded and re-registers its activity token.
Cause
The server publishes starting when the session boots and running a few seconds later, then stays silent while the phase holds (apps/server/src/relay/AgentAwarenessRelay.ts dedupes by state identity).
The relay throttles Live Activity updates to one per 15 seconds when activeCount is unchanged and no row needs attention (shouldUpdateLiveActivity in infra/relay/src/agentActivity/ApnsDeliveries.ts). The running update lands inside that window and is dropped. Nothing retries it, so the card keeps the starting content.
Not the same as #4950, where no update arrives because publishing is disabled.
Proposed fix
Exempt phase changes from the throttle in shouldUpdateLiveActivity, alongside the existing activeCount, attention, and terminal-row exemptions. Timestamp and ordering churn stays throttled. A relay test that delivers a starting aggregate and then a running aggregate four seconds later fails on main and passes with that change.
Impact
Major degradation or frequent failure
Version or commit
main @ d6f2913, iOS 1.2.1
Notes
Investigation was LLM assisted (Claude Fable 5.1 in T3 Code).
Before submitting
Area
apps/mobile (root cause is in
infra/relay)Steps to reproduce
Expected behavior
The card moves from
ConnectingtoWorkingonce the provider session is running.Actual behavior
The card stays on
Connectingfor the whole turn. It only changes at the next phase transition (approval, input, done, failed) or when the app is foregrounded and re-registers its activity token.Cause
The server publishes
startingwhen the session boots andrunninga few seconds later, then stays silent while the phase holds (apps/server/src/relay/AgentAwarenessRelay.tsdedupes by state identity).The relay throttles Live Activity updates to one per 15 seconds when
activeCountis unchanged and no row needs attention (shouldUpdateLiveActivityininfra/relay/src/agentActivity/ApnsDeliveries.ts). Therunningupdate lands inside that window and is dropped. Nothing retries it, so the card keeps thestartingcontent.Not the same as #4950, where no update arrives because publishing is disabled.
Proposed fix
Exempt phase changes from the throttle in
shouldUpdateLiveActivity, alongside the existingactiveCount, attention, and terminal-row exemptions. Timestamp and ordering churn stays throttled. A relay test that delivers astartingaggregate and then arunningaggregate four seconds later fails onmainand passes with that change.Impact
Major degradation or frequent failure
Version or commit
main @ d6f2913, iOS 1.2.1
Notes
Investigation was LLM assisted (Claude Fable 5.1 in T3 Code).