You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GitHub Mobile (Android): cloud session drops when app is backgrounded or idle 2-3 min; Retry often fails until app restart #5553
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
Open a Copilot cloud session in GitHub Mobile on Android (mobile data + VPN).
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.
Activity