Skip to content

Transfer chat session only works on new workspace #247486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
roblourens opened this issue Apr 26, 2025 · 0 comments
Closed

Transfer chat session only works on new workspace #247486

roblourens opened this issue Apr 26, 2025 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug chat insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Milestone

Comments

@roblourens
Copy link
Member

  • From a workspace with files in it, ask Copilot Chat to create a new project
  • Go through the new workspace flow- it asks you to open an empty folder
  • Pick an empty folder that has never been opened in vscode before
  • New workspace flow works, continues setting up project 👍
  • But, if you pick an empty folder that you have used before, chat view is broken and empty

When switching to use the ChatSessionStore, I didn't store transferred chat sessions here, they stay in the storage service. I thought this worked by falling back to the migrated session (see migrateDataIfNeeded). But this only happens the first time the workspace is opened, otherwise the session isn't transferred at all.

@roblourens roblourens added bug Issue identified by VS Code Team member as probable bug chat labels Apr 26, 2025
@roblourens roblourens added this to the April 2025 milestone Apr 26, 2025
@roblourens roblourens self-assigned this Apr 26, 2025
roblourens added a commit that referenced this issue Apr 26, 2025
Transferred chat session is only in _persistedSessions, for now
@vs-code-engineering vs-code-engineering bot added the unreleased Patch has not yet been released in VS Code Insiders label Apr 26, 2025
bhavyaus pushed a commit that referenced this issue Apr 27, 2025
Transferred chat session is only in _persistedSessions, for now
@vs-code-engineering vs-code-engineering bot added insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Apr 28, 2025
NikolaRHristov pushed a commit to CodeEditorLand/Editor that referenced this issue Apr 30, 2025
Transferred chat session is only in _persistedSessions, for now
@amunger amunger added the verified Verification succeeded label Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug chat insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants