Skip to content

copilot --resume hangs at Resuming session on cold start in Windows #4165

Description

@asalcedo29

Describe the bug

On Windows, running copilot --resume directly from PowerShell starts the Copilot CLI TUI but remains indefinitely at Resuming session.... The resumed session never becomes interactive and no visible error is displayed.

The same sessions can be resumed successfully by first starting copilot normally and then running /resume from inside the active CLI. This appears specific to the cold-start command-line resume path.

Affected version

GitHub Copilot CLI 1.0.72-0

Installed through WinGet.

Steps to reproduce the behavior

  1. Have at least one existing Copilot CLI session available to resume.
  2. Exit Copilot CLI completely.
  3. From PowerShell, run copilot --resume.
  4. Select a session if the session picker is displayed.
  5. Observe that the TUI remains at Resuming session... and never becomes usable.
  6. Terminate the hung process.
  7. Run copilot without the resume flag.
  8. From inside the running CLI, use /resume and select the same session.
  9. Observe that the session resumes successfully.

Expected behavior

copilot --resume should resume the selected session and become interactive, matching the behavior of /resume inside an already-running CLI.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions