Should default to last session or ask if you want to resume last session
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Descrição
### Describe the bug
I needed to restart the computer. After restart, it doesn't appear to have the last session and I cannot tell between them easily because there are several from "2 min" ago and several from "2 days" ago. It would be most helpful to just resume back to where I was. In addition, perhaps it should checkpoint at that point to ensure it can resume properly.
### Affected version
GitHub Copilot CLI 0.0.410.
### Steps to reproduce the behavior
1. Have a long Github Copilot CLI session.
2. Restart the computer. (really just close the CLI)
3. Run Github Copilot again.
### Expected behavior
It should ask `Do you want to resume session {guid} {One line summary}?` when you restart, and Y should resume it.
### Additional context
_No response_
Guia de contribuição
Direção de pesquisa
Reproduza o problema executando uma sessão longa do GitHub Copilot CLI, fechando a CLI e iniciando-a novamente após a reinicialização. Inspecione o fluxo de retomada da sessão na inicialização e os resumos de sessão existentes; considera-se concluído quando a CLI oferece a sessão recente com seu GUID e um resumo de uma linha, e confirmá-la com Y a retoma de forma confiável.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- shell
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Ativa
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 48/100