Session token expiry stops works flows, resuming fixes issue.
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### 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
贡献指南
调研方向
首先,在使用 PowerShell 的 Windows 11 长时间运行 CLI 会话中复现该问题,然后检查活动任务期间如何处理已过期的会话令牌。完成的标准是令牌自动刷新,并且当前任务无需重启 CLI 或再次登录即可恢复。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- powershell, shell
- 领域
- authentication, cli
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100