-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Failed to resume session: Error: Session file is corrupted #1864
Copy link
Copy link
Open
Labels
area:sessionsSession management, resume, history, session picker, and session stateSession management, resume, history, session picker, and session state
Description
Describe the bug
I have had a powe-loss during an active copilot session now it can't be resumed:
Failed to resume session: Error: Session file is corrupted (line 7103: SyntaxError: Unexpected token '', ""... is not valid JSON)
Only think one can do is to ESC but there is no recovery possible!
Affected version
No response
Steps to reproduce the behavior
No response
Expected behavior
Copilot uses some kind of protect the file from corruption in such cases, e.g. first writing a new file before deleting the existing one and a way to recover from such failures by fallback to a backup copy.
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:sessionsSession management, resume, history, session picker, and session stateSession management, resume, history, session picker, and session state
Type
Fields
Give feedbackNo fields configured for Bug.