You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[critical] new GitHub Copilot sessions never appear in list and are irretrievable if Copilot enabled after workspace opened #312610
In v1.117, my new session never shows up in the "Sessions" list. If I click on one of the existing sessions, there appears to be no way to get the first session back!
This is critical! I just lost an entire session with a lot of context because I clicked on another session. Now the the original session with all the context is gone!
changed the title [-][critical] GitHub Copilot session disappears and is irretrievable[/-][+][critical] GitHub Copilot session never appears in list and is irretrievable[/+]on Apr 26, 2026
In my session storage directory C:\Users\user\AppData\Roaming\Code\User\workspaceStorage\…\chatSessions, I can see the {uuid}.jsonl file containing the session.
In C:\Users\user\AppData\Roaming\Code\User\workspaceStorage\…\chatEditingSessions, there is a folder matching the {uuid} of that chat session.
Nevertheless the chat session never showed up in the chat sessions list, and I see no way to make it appear so it can be selected again.
After restarting VS Code, all my files with in-progress edits (just modified in the disappeared session, waiting for my approval) no longer are marked as pending! It's as if they have all been accepted.
Apparently the new chat sessions was somehow ephemeral, and never got saved. Selecting another session made the new session disappear forever, and even removed the ability to accept/reject pending changes. Not it seems it's as if the session never existed.
Justin Chen (@justschen) There is a severe bug here somewhere that results in information loss; it should get high priority.
I found a deeper cause!! Here is what happens: if GitHub Copilot is not enabled upon VS Code startup (but enabled for the workspace after VS Code is already started), then chat sessions never appear in the chat sessions!
If instead I enable GitHub Copilot across the entire system (a security risk), then even the old session I lost reappears!
So there is some sort of race condition: if GitHub Copilot is enabled after the workspace is loaded, the more recent chat sessions never show up.
(This is particularly onerous because of the severe bug #311898 which doesn't persist the per-workspace GitHub Copilot enabling.)
changed the title [-][critical] GitHub Copilot session never appears in list and is irretrievable[/-][+][critical] new GitHub Copilot sessions never appear in list and are irretrievable if Copilot enabled after workspace opened[/+]on Apr 26, 2026
Activity
garretwilson commentedon Apr 26, 2026
Could this be related to #311898? I'm just grasping at straws here. I don't know how I can emphasize this more. I just lost an entire session.
[-][critical] GitHub Copilot session disappears and is irretrievable[/-][+][critical] GitHub Copilot session never appears in list and is irretrievable[/+]garretwilson commentedon Apr 26, 2026
C:\Users\user\AppData\Roaming\Code\User\workspaceStorage\…\chatSessions, I can see the{uuid}.jsonlfile containing the session.C:\Users\user\AppData\Roaming\Code\User\workspaceStorage\…\chatEditingSessions, there is a folder matching the{uuid}of that chat session.Nevertheless the chat session never showed up in the chat sessions list, and I see no way to make it appear so it can be selected again.
garretwilson commentedon Apr 26, 2026
After restarting VS Code, all my files with in-progress edits (just modified in the disappeared session, waiting for my approval) no longer are marked as pending! It's as if they have all been accepted.
Apparently the new chat sessions was somehow ephemeral, and never got saved. Selecting another session made the new session disappear forever, and even removed the ability to accept/reject pending changes. Not it seems it's as if the session never existed.
Justin Chen (@justschen) There is a severe bug here somewhere that results in information loss; it should get high priority.
garretwilson commentedon Apr 26, 2026
I can confirm: in v1.117, my new chat sessions never appear in the list. The only thing I see in the list are a button and two collapsible categories:
New Session(button)Both "Older" and "Archived" can be opened or close, and have sessions within them. My new sessions do not show up anywhere.
garretwilson commentedon Apr 26, 2026
I found a deeper cause!! Here is what happens: if GitHub Copilot is not enabled upon VS Code startup (but enabled for the workspace after VS Code is already started), then chat sessions never appear in the chat sessions!
If instead I enable GitHub Copilot across the entire system (a security risk), then even the old session I lost reappears!
So there is some sort of race condition: if GitHub Copilot is enabled after the workspace is loaded, the more recent chat sessions never show up.
(This is particularly onerous because of the severe bug #311898 which doesn't persist the per-workspace GitHub Copilot enabling.)
[-][critical] GitHub Copilot session never appears in list and is irretrievable[/-][+][critical] new GitHub Copilot sessions never appear in list and are irretrievable if Copilot enabled after workspace opened[/+]