github / github/copilot-cli

CLI seems to drop out in powershell session

未關閉
#1,364 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:platform-windows area:sessions
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

I run the cli in Powershell (in windows terminal) with multiple tabs open, sometimes the cli seems to drop out and print odd chars on the prompt, but the tab still thinks it is going (progress spinner on the tab title)

Image

I don't know if it is still running or not.

**Update**
One of the copilot cli crashed to this:

Image

```
#
# Fatal error in , line 0
# Check failed: backing_store->ByteLength() != 0 implies backing_store->Data() != nullptr.
#
#
#
#FailureMessage Object: 000000D0277F7770
----- Native stack trace -----

1: 00007FF7D04CD52D node::MultiIsolatePlatform::DisposeIsolate+5341
2: 00007FF7D191C79F V8_Fatal+287
3: 00007FF7D11E543D v8::ArrayBuffer::New+301
4: 00007FF7D063C72E node::SetCppgcReference+106718
5: 00000288BB04F77E
```

### Affected version

GitHub Copilot CLI 0.0.406.

### Steps to reproduce the behavior

I can not reproduce every time, but it is generally when I have more than one cli executing at the same time.

### Expected behavior

It stays in session.

### Additional context

```
Windows Terminal
Version: 1.23.20211.0
```

```
$PSVersionTable in pwsh at 13:14:36

Name Value
---- -----
PSVersion 7.6.0-preview.6
PSEdition Core
GitCommitId 7.6.0-preview.6
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
```

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。