github / github/copilot-cli

New rendering makes it hard to determine what agent was last doing when copilot crashes

Aperta
#2,324 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:agents area:terminal-rendering
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### Describe the bug

I keep seeing copilot crash across my tabs. This is annoying, but in the past, I could scroll up to see what was last going on to simplify figuring out which session to use with copilot --resume. With the new rendering, there is nothing useful in my terminal output.

### Affected version

GitHub Copilot CLI 1.0.11

### Steps to reproduce the behavior

Run copilot, do a bunch of work, copilot crashes, nothing useful in terminal output.

### Expected behavior

Ideally, I'd like to see the copilot --resume hint when copilot crashes. Could this be modified to output this to the original stdOut when the sessionId is decided or updated?

### Additional context

I appreciate that with the new rendering the constant redraw issue hasn't been occurring anymore, but getting back to my sessions is harder.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by tracing the Copilot CLI rendering and crash-handling entry points, focusing on when the sessionId is decided or updated and how output reaches the original stdout. Reproduce the crash after using --resume and verify that the terminal retains a useful copilot --resume hint without disrupting the new rendering.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
50/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.