github / github/copilot-cli

It takes a long time to recover from a network outage

未关闭
#543 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:networking area:sessions
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

When I have a session running and then close my laptop to move to a different location, it takes a really long time to recover from that and reconnect. If an existing command was running, it does not seem to recover at all. If the connection was idle then it takes a while before the cli has reconnected and i can start typing commands again.

A cold start of the cli works, but I am trying to not lose my thread and context. It would be nice if the cli was more resilient to these kind of network changes.

### Affected version

0.0.354 Commit: 076bd172b

### Steps to reproduce the behavior

While working, close laptop, wait a minute to let WiFi expire, open laptop and try to continue working.

### Expected behavior

State is saved, cli remembers what it was doing and reconnects after a network failure. WIthout a need to restart.

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。