-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Describe the bug
I have a session that is >255MB with over 96K lines. As soon as you open the Chat in VSCode and try to attach the session VSCode refuses to attach:
Failed to open chat session: Session file is corrupted (line 69686: Unknown event type: "session.context_changed")
Asked the CLI what's up:
255MB session file, 96K lines — that's the problem. It's grown massive and contains an event type (session.context_changed) that the VS Code extension doesn't recognize.
Note that I have been using autopilot extensively, which is the context change it does not like. I have been reusing the same session to do a lot of lengthy work (with autopilot). Fixed it by having it export its TODO and PLAN and import into a fresh new session, but the bug is a bit hard to follow and may confuse folks.
Affected version
GitHub Copilot CLI 0.0.411-0.
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
No response