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