Skip to content

Local chat sessions cannot be opened anymore when entering workspace #289653

@bpasero

Description

@bpasero

Steps to Reproduce:

  1. be in an empty window
  2. say "hi" to a local chat
  3. verify you see a session entry you can click to open that session
  4. add a folder to the workspace from the "File" menu
  5. reload the window
  6. click on the session card entry for the "hi" chat

=> it no longer opens

If you debug this you can see what we try to load the chat history JSON file from disk from a location that belonged to the empty window state. But when you add a folder to a workspace, the workspace ID changes. We need to migrate the chat sessions folder over in that case.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugchatchat-agents-viewimportantIssue identified as high-priority

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions