github / github/copilot-cli

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

オープン
#4,165 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る
area:platform-windows area:sessions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### 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

```text
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

- OS: Microsoft Windows 11 Enterprise, version 10.0.26200, build 26200
- CPU architecture: x86_64
- Terminal: Windows Terminal
- Shell: PowerShell 7.4.17
- No visible error is shown. The status line remains at `Resuming session...` indefinitely.
- Possibly related to #3458, which reported a previous Windows cold-start resume failure. That issue exited silently on version 1.0.51, whereas version 1.0.72-0 reaches the TUI and then hangs.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

PowerShell から `copilot --resume` を使用してコールドスタートの経路を再現し、その後 `copilot` を起動して CLI 内で `/resume` を使用する場合と比較します。これらのエントリーポイント間で異なる resume フローを調査します。完了条件は、選択したセッションが `Resuming session...` のままにならず、インタラクティブになることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
powershell
領域
cli, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。