Session token expiry stops works flows, resuming fixes issue.
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
### 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
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, shell
- Domain
- authentication, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100