github / github/copilot-cli

CLI seems to drop out in powershell session

Đang mở
#1,364 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:platform-windows area:sessions
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 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
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.