github / github/copilot-cli

Session data loss when agency copilot closes

未關閉
#3,553 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:sessions
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

I'll be in the middle of an hours-long session and for one reason or another, agency closes. Maybe I close it, maybe the codespace turns off. But the result is that when I immediately try to resume, the session is wiped. This issue has been present for some time but is sporadic enough that I thought it was fixed.

### Affected version

GitHub Copilot CLI 1.0.55-7

### Steps to reproduce the behavior

1. run `agency copilot`
2. Be in any long lived session. In my case this was a fresh session from when I started copilot
3. Close agency copilot either with ctrl+c or another command. In my case copilot was actively processing a command
4. Restart agency copilot
5. /resume, observe session is gone

### Expected behavior

Session should not be deleted

### Additional context

- OS: Linux codespaces-b92d36 6.8.0-1052-azure 58~22.04.1-Ubuntu SMP Thu Mar 26 05:02:21 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
- Shell: zsh

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。