pingdotgg / pingdotgg/t3code

[Bug]: Mobile: message queued while agent is working is never sent if the app goes to background — only delivered on next app open

Open
#5,436 6 comments 3 reactions 0 assignees View on GitHub

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
  1. Start a thread and wait for the agent to be actively working on a turn.
  2. Send a follow-up message while the turn is in progress — it gets queued (locally, it seems).
  3. Lock the phone or switch to another app.
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.