github / github/copilot-cli

No active shell session

Offen
#2,822 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
area:platform-linux area:tools
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduce the problem with `copilot --log-interactive-shells` and inspect the attached `shell-0-1776516585182.log` for the initialization timeout. Trace the interactive shell startup and command execution path; done means `echo hello` completes promptly without an invalid shell ID or shell-output error.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
bash, shell
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.