Skip to content

[Error] unhandlederror-Session file is corrupted (line 51: ephemeral: Invalid literal value, expected true) #317566

Closed

Description

@vs-code-engineering

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

  1. added
    bug
    error-telemetry
    ai-generated
    *fix
    ai-analyzed
    on May 20, 2026
  2. added a commit that references this issue on May 20, 2026
    48ed5a6
  3. removed
    *fix
    on May 20, 2026
  4. added a commit that references this issue on May 20, 2026
    382e40a
  5. added
    unreleased
    insiders-released
    and removed
    unreleased
    on May 20, 2026
  6. locked and limited conversation to collaborators on Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ai-analyzedai-generatedbugerror-telemetryinsiders-released

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions