Repository navigation
Description
Error Message
unhandlederror-Session file is corrupted (line 51: ephemeral: Invalid literal value, expected true)
Stack Trace
at sxt.getSession (extensions/copilot/node_modules/@github/copilot/sdk/index.js:5148:13387) [not deminified]
at process.processTicksAndRejections (node:internal/process/task_queues:103:5) [not deminified]
at async eW.getChatHistoryImpl (../src/extension/chatSessions/copilotcli/node/copilotcliSessionService.ts:1030:20)
at async eW.getChatHistory (../src/extension/chatSessions/copilotcli/node/copilotcliSessionService.ts:1004:22)
at async _le.getSessionHistory (../src/extension/chatSessions/vscode-node/copilotCLIChatSessionsContribution.ts:857:19)
at async _le.provideChatSessionContentForExistingSession (../src/extension/chatSessions/vscode-node/copilotCLIChatSessionsContribution.ts:759:59)
at async _le.provideChatSessionContent (../src/extension/chatSessions/vscode-node/copilotCLIChatSessionsContribution.ts:666:11)
at async yf.$provideChatSessionContent (./src/vs/workbench/api/common/extHostChatSessions.ts:681:18)
Raw Stack Trace (minified)
Error: Session file is corrupted (line 51: ephemeral: Invalid literal value, expected true) at sxt.getSession (extensions/copilot/node_modules/@github/copilot/sdk/index.js:5148:13387) at process.processTicksAndRejections (node:<REDACTED: user-file-path>:103:5) at async eW.getChatHistoryImpl (\extensions\copilot\dist\extension.js:2557:26062) at async eW.getChatHistory (\extensions\copilot\dist\extension.js:2557:25547) at async _le.getSessionHistory (\extensions\copilot\dist\extension.js:2849:15369) at async Promise.all (index 0) at async _le.provideChatSessionContentForExistingSession (\extensions\copilot\dist\extension.js:2849:13496) at async _le.provideChatSessionContent (\extensions\copilot\dist\extension.js:2849:11559) at async yf.$provideChatSessionContent (out/vs/workbench/api/node/extensionHostProcess.js:530:39388)
Details
| Property | Value |
|---|---|
| Bucket ID | 820581a2-24e5-6528-4a02-cd71cf914682 |
| Version | 1.121.0 |
| Commit | f6cfa2ea |
| Last Seen | Tue May 19 2026 23:57:56 GMT+0000 (Coordinated Universal Time) |
| Platforms | Windows, Mac |
| Product | VSCode |
This issue was automatically created from the VS Code Errors Dashboard
Activity
fix: handle corrupted session files gracefully in getChatHistoryImpl (f…
fix: handle corrupted session files gracefully in getChatHistoryImpl (f…