Skip to content

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

Open

Description

@xiaoxuesheng123467

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.

Activity

  1. added
    bug
    app
    connectivity
    on Jul 30, 2026
  2. github-actions commented on Jul 30, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. xiaoxuesheng123467 commented on Jul 30, 2026

    @xiaoxuesheng123467
    Author

    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.

  4. AminDhouib commented on Aug 1, 2026

    @AminDhouib

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugconnectivityremote

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions