[Bug]: Mobile: message queued while agent is working is never sent if the app goes to background — only delivered on next app open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 23k
- Forks
- 5.9k
- Avg merge
- 11h 14m
- Merged PRs (30d)
- 357
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
- Start a thread and wait for the agent to be actively working on a turn.
- Send a follow-up message while the turn is in progress — it gets queued (locally, it seems).
- Lock the phone or switch to another app.
- Wait for the agent to finish its turn.
Expected behavior
The queued message is delivered to the agent once the current turn settles, regardless of whether the mobile app is foregrounded. Queuing should be owned by the server/backend, not the client.
Actual behavior
The queued message stays pending indefinitely. It is only actually sent when I reopen the app. If queuing happens client-side, it silently defeats the purpose of queuing on mobile: you queue a follow-up, put your phone away, and come back later to find the agent idle and the message never delivered.
Related
Not a duplicate of #231 / #4550 (those are feature requests for Queue/Steer modes) — this is about delivery reliability of the existing queue behavior when the mobile app is backgrounded.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in apps/mobile by tracing how follow-up messages are queued and delivered when the app is backgrounded, then inspect the related backend delivery path. Reproduce the steps with the app backgrounded and verify that a queued message is delivered when the agent turn settles without reopening the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100