github / github/copilot-cli

Session token expiry stops works flows, resuming fixes issue.

Offen
#3,763 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
area:authentication
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
powershell, shell
Bereich
authentication, cli
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 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.