github / github/copilot-cli

No active shell session

Open
#2,822 0 comments 1 reaction 0 assignees View on GitHub
area:platform-linux area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.