github / github/copilot-cli

No active shell session

Abierto
#2,822 0 comentarios 1 reacción 0 asignados Ver en GitHub
area:platform-linux area:tools
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Reproduce el problema con `copilot --log-interactive-shells` e inspecciona el archivo adjunto `shell-0-1776516585182.log` en busca del tiempo de espera agotado durante la inicialización. Rastrea el inicio del shell interactivo y la ruta de ejecución de comandos; se considera completado cuando `echo hello` termina rápidamente sin un ID de shell no válido ni un error de salida del shell.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
bash, shell
Área
cli
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.