Resuming a session is extremely slow, does not display UI that would indicate loading
未关闭
还没有人认领这个 Issue。
area:sessions
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
Describe the bug
When I have several sessions in the left pane, even on the same device after restarting the CLI, resuming the session from the left pane is unbearably slow and has no loading UI. This is aggravating to use when I cannot tell if loading the session just isn't going to work at all or if it's slow. I've had it take up to a minute before.
Affected version
GitHub Copilot CLI 1.0.82
Steps to reproduce the behavior
- Have multiple sessions present in the left pane
- Restart CLI
- Try to resume session, then try to resume another one
- Notice severe delays between each of them being opened with 0 loading UI
Expected behavior
Expected sessions with fresh data to load quickly and with UX that distinguishes loading from a broken CLI
Additional context
No response
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在重启 CLI 后,按照描述使用多个会话,通过左侧窗格的会话恢复流程重现延迟。跟踪恢复路径,并观察何时缺少加载反馈;当恢复的会话不再显示为无响应,并且能够将加载状态与 CLI 损坏区分开来时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli, performance
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100