github / github/copilot-cli

No active shell session

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

OS: Pop OS LTS 22.04
Shell: /bin/bash 5.1.16(1)-release
Copilot: GitHub Copilot CLI 1.0.32

Copilot doesn't seem able to execute shell commands. It took about two minutes to generate this output. The log indicates initialization timed out.

### Affected version

GitHub Copilot CLI 1.0.32

### Steps to reproduce the behavior

`copilot --log-interactive-shells`

[shell-0-1776516585182.log](https://github.com/user-attachments/files/26854973/shell-0-1776516585182.log)

```
❯ run echo hello using your bash shell tool

● Running a quick shell command to print "hello" using bash. Reported intent alongside the command.

● Print hello to stdout (shell)
│ echo hello
└ 1 line...

✗ Read shell output Waiting up to 2 seconds for command output
└ Invalid shell ID: 0. Please supply a valid shell ID to read output from.

● hello
```

### Expected behavior

"hello" appears in a timely manner without errors

### Additional context

_No response_

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

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

Hướng nghiên cứu

Tái hiện sự cố bằng `copilot --log-interactive-shells` và kiểm tra `shell-0-1776516585182.log` đính kèm để tìm thời gian chờ khởi tạo. Theo dõi quá trình khởi động shell tương tác và đường dẫn thực thi lệnh; được coi là hoàn tất khi `echo hello` hoàn thành nhanh chóng mà không có ID shell không hợp lệ hoặc lỗi đầu ra shell.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
bash, shell
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

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.