No active shell session
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### 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_
貢獻指南
研究方向
使用 `copilot --log-interactive-shells` 重現問題,並檢查附加的 `shell-0-1776516585182.log` 以尋找初始化逾時。追蹤互動式 shell 的啟動和命令執行路徑;當 `echo hello` 能夠快速完成,且沒有無效的 shell ID 或 shell 輸出錯誤時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- bash, shell
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100