Skip to content

Cloud sandbox session never reconnects after a tool call: "Live connection unavailable", retry always fails #5552

Backlog

Description

@littlemangokivi

Describe the bug

A Copilot cloud sandbox session stopped accepting live connections right after a tool call finished, and has never reconnected since. Only read-only history is available.

  • Task: 15847dc9-166e-46cf-98bf-84524cdb6ea1 (session 219a46af-55de-4302-b417-c03b1d6c00ce)
  • Copilot version in the sandbox: 1.0.109
  • Session was long-running (~17h, ~8,300 events). A context compaction happened shortly before the disconnect, at roughly half of the 1M context window.

Timeline (UTC, from the session events)

  • 2026-11-22 07:32 — last normal turn ends (session.idle), PR merged successfully.
  • 07:36–07:42 — a resume/reconnect happens: managed settings resolved, MCP servers loaded (connected), tools updated.
  • After that: no further events. New user messages never reach the session.
  • Task status API reports state: idle with no recorded errors.

What the client shows

GitHub Mobile and github.com both show: "Live connection unavailable. Session history is still readable." Retry never succeeds. The session's menu only shows Pin / Rename / Copy link (Sharing settings / Archive / Delete are missing).

Expected behavior

Per the cloud sandbox docs, a stopped session should resume from its snapshot with files and progress intact. Retry should reconnect, or the UI should report a concrete error.

Additional context

The session was not archived or deleted by the user. Other new cloud sessions in the same repo/account work.

Activity

  1. added
    area:sessionsSession management, resume, history, session picker, and session state
    and removed on Nov 23, 2026
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

    area:sessionsSession management, resume, history, session picker, and session state

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions