Mobile remote control disconnects before task completion, so completion notifications are missed

Open 💬 3 comments Opened Jul 30, 2026 by xiaoxuesheng123467
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Problem

When using Codex remote control on a phone, the live connection only stays active for a few seconds. If the task runs longer than that, the connection drops before the run finishes, and the phone never receives the completion notification.

Expected behavior

The mobile remote-control session should remain connected long enough to receive task completion notifications, or Codex should deliver completion notifications independently of the live connection.

Actual behavior

After a short period, the remote connection disconnects. When the task completes later, no completion message/notification reaches the phone.

Impact

Long-running tasks become easy to miss on mobile because completion is only visible while the connection is still alive.

Related

Possibly related to #25606.

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 28 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #35727

Powered by Codex Action

xiaoxuesheng123467 · 28 days ago

Thanks for the pointer. #35727 looks related, but this report is specifically about the mobile remote-control notification path.

In my case, the phone remote-control connection disconnects after a short time during a longer task. The task still completes later, but the phone does not receive the completion notification/message once the live connection is gone.

So even if the underlying reconnect/stream issue is related, the expected behavior here is that mobile completion notifications should still be delivered independently of the live remote-control connection. Happy to consolidate if maintainers prefer tracking this under #35727.

AminDhouib · 26 days ago

An alert tied to an open socket is the one thing guaranteed to break on a phone that dozes off, so decoupling it is the right ask. That's the design we landed on for https://github.com/DevinoSolutions/ai-agent-notifier: the completion or permission event fires an ntfy push from the machine actually running the agent, so your phone holds no session and can sit locked in your pocket. It covers Codex CLI alongside Claude Code, Cursor and Gemini CLI. Doesn't fix the remote-control disconnect, but it does mean you find out the task finished.