Skip to content

Manually created chat/agent session groups disappear after restart/update #340106

Agent suggestions

Public preview

Description

@chiragiter

Environment:

  • VS Code version: 1.140.0 (commit 07f806f), x64
  • OS: Windows
  • Feature area: Chat / Agent Sessions view

Steps to reproduce:

  1. Open the Chat/Agent Sessions view in VS Code.
  2. Manually organize chat sessions into custom folders/groups.
  3. Update VS Code and/or restart it after some time.
  4. Reopen the Chat/Agent Sessions view.

Expected behavior:
Previously created groups/folders persist across restarts and updates.

Actual behavior:
All manually created groupings are gone; sessions revert to a flat, ungrouped list.

Additional notes:
Inspected %APPDATA%\Code\User\globalStorage\state.vscdb and the matching workspace-storage DB directly (keys: chat.ChatSessionStore.index, localAgentHost.cachedSessions.v2, agentSessions.*) and found no key that stores a group/folder association for chat or agent sessions - only flat session metadata (id, title, timestamps, working directory). This suggests the grouping UI state either isn't persisted at all, or is stored somewhere that doesn't survive update/restart. A .vscdb.backup snapshot taken a few minutes earlier already showed the same flat, groupless data, so the loss predates that backup.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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