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 摘要。