github / github/copilot-cli

Session data loss when agency copilot closes

Đang mở
#3,553 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:sessions
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.