copilot --resume or /resume should prefer the copilot sessions spawned by the parent process / tree
- 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 feature or problem you'd like to solve
When copilot crashes and doesn't emit a sessionId, copilot --resume lists all sessions for that folder, but if there are others running, the right session might not be obvious.
### Proposed solution
If you record the process (tree?) that created the session and prioritize those in the session list, it will make resuming failed sessions easier.
### Example prompts or workflows
_No response_
### Additional context
_No response_
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by tracing the --resume and /resume entry points, then follow session creation and the code that builds the session list. Determine how the process or parent relationship can be recorded and used for ordering; done means sessions spawned by the relevant parent process tree are prioritized when resuming.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- cli
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 50/100