Skip to content

GitHub Mobile (Android): cloud session drops when app is backgrounded or idle 2-3 min; Retry often fails until app restart #5553

Backlog

Description

@littlemangokivi

Describe the bug

On GitHub Mobile (Android), the live connection to a Copilot cloud sandbox session drops whenever the app leaves the foreground, and frequently cannot be restored without force-closing the app.

Steps to reproduce

  1. Open a Copilot cloud session in GitHub Mobile on Android (mobile data + VPN).
  2. Do any of: switch to another app, use split screen, tap + to attach a photo/file, or simply stay on the chat screen without sending a message for 2–3 minutes.

Actual behavior

  • The banner "Live connection unavailable. Session history is still readable." appears.
  • Sometimes it reconnects on its own after a few seconds.
  • Often Retry never succeeds; the only fix is to force-close and reopen the app.
  • Battery optimization for the GitHub app is set to "Unrestricted"; no change.

Expected behavior

  • The client keeps the connection alive while idle in the foreground (e.g. heartbeat/keepalive).
  • After returning from background or a file picker, it reconnects automatically, and Retry works without restarting the app.

Environment

  • GitHub Mobile, Android
  • Copilot in the cloud (cloud sandbox) session
  • After any disconnect, MCP tools return "MCP tool is not registered" for the rest of the session.
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

    triage:needs-humanAuto-triage could not classify this issue confidently. Remove the label to re-queue it.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions