github / github/copilot-cli

Session token expiry stops works flows, resuming fixes issue.

Aberta
#3,763 1 comentário 1 reação 0 responsáveis Ver no GitHub
area:authentication
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### Describe the bug

When the session token expires, it does not automatically refresh. This causes the CLI flow to fail, sometimes in the middle of a task. Everytime I have run into this issue, just asking the CLI to resume the current task/ToDos fixes the issues. Restarting the CLI or signing out and back in has NEVER been required.

✗ Session token expired and the request could not be retried. Please resend your message. (Request ID: 38E7::795FA4:6A2AB5BF)

### Affected version

GitHub Copilot CLI 1.0.61

### Steps to reproduce the behavior

1. Long running session
2. Keep session active with tass

### Expected behavior

Token expiry should be refreshed automatically, and resume when possible.

### Additional context

Windows 11
PowerShell
Not running within VS or Code

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by reproducing the issue in a long-running CLI session on Windows 11 with PowerShell, then examine how expired session tokens are handled during an active task. Done means the token refreshes automatically and the current task resumes without restarting the CLI or signing in again.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
powershell, shell
Domínio
authentication, cli
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
48/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.