Skip to content

Some chat sessions are emptied out, but remain in history and in workspaceStorage #313236

@gh-andre

Description

@gh-andre

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.118.0
  • OS Version: Windows_NT x64 10.0.26200 (Windows 11 Pro)

Steps to Reproduce:

I don't have steps to reproduce. This just happens once in a while. In the latest case, this is what I observed, although I cannot say that this is what triggered it.

I started a code review session yesterday night. The chat was running in a separate window to keep the font readable. Next morning I noticed a VSCode update, so I installed it and restarted VSCode. When it started, the chat history showed all chats, but selecting the last two of them shows just an empty chat window.

I can piece together the last Copilot response from the .jsonl file below.

%APPDATA%\Code\User\workspaceStorage{id1}\chatSessions{id-2}.jsonl

I can also see the input I started typing for this chat in the empty chat window and I can find it in workspaceStorage{id-1}\state.vscdb.

I started 5 chats yesterday and I can see the chat text for the two of them in the middle (in history order) and empty chats for the first 2 and the last one for that day.

This is not a new problem - I saw the same a few weeks ago, just not at this scale. It was perhaps one or two chats emptied out in a couple of months. Having a few of them disappear in one day, especially the ones that still have active chats is more disruptive than not being able to see older chats.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions