豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Add methods to manage additional copilot cli session metadata#4300

Merged
DonJayamanne merged 2 commits intomainfrom
don/visiting-vole
Mar 10, 2026
Merged

Add methods to manage additional copilot cli session metadata#4300
DonJayamanne merged 2 commits intomainfrom
don/visiting-vole

Conversation

@DonJayamanne
Copy link
Copy Markdown
Collaborator

No description provided.

@DonJayamanne DonJayamanne self-assigned this Mar 9, 2026
@DonJayamanne DonJayamanne marked this pull request as ready for review March 9, 2026 19:29
Copilot AI review requested due to automatic review settings March 9, 2026 19:29
@DonJayamanne DonJayamanne enabled auto-merge March 9, 2026 19:30
@vs-code-engineering vs-code-engineering bot added this to the 1.112.0 milestone Mar 9, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds two new methods — getAdditionalWorkspaces and setAdditionalWorkspaces — to the IChatSessionMetadataStore interface and its implementation, enabling sessions to store and retrieve a list of secondary IWorkspaceInfo entries alongside the existing primary workspace/worktree metadata.

Changes:

  • Adds additionalWorkspaces field to the ChatSessionMetadataFile serialization format and new get/set methods to IChatSessionMetadataStore
  • Implements getAdditionalWorkspaces and setAdditionalWorkspaces in ChatSessionMetadataStore, following the existing cache + disk persistence pattern

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/extension/chatSessions/common/chatSessionMetadataStore.ts Adds the additionalWorkspaces field to ChatSessionMetadataFile and two new method signatures to IChatSessionMetadataStore
src/extension/chatSessions/vscode-node/chatSessionMetadataStoreImpl.ts Implements the two new methods in ChatSessionMetadataStore, converting between IWorkspaceInfo (URI-based) and the serializable file format

@DonJayamanne DonJayamanne marked this pull request as draft March 9, 2026 19:35
auto-merge was automatically disabled March 9, 2026 19:35

Pull request was converted to draft

@DonJayamanne DonJayamanne marked this pull request as ready for review March 9, 2026 19:59
@DonJayamanne DonJayamanne enabled auto-merge March 9, 2026 19:59
@DonJayamanne DonJayamanne added this pull request to the merge queue Mar 9, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 9, 2026
@DonJayamanne DonJayamanne added this pull request to the merge queue Mar 10, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 10, 2026
@DonJayamanne DonJayamanne added this pull request to the merge queue Mar 10, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 10, 2026
@DonJayamanne DonJayamanne added this pull request to the merge queue Mar 10, 2026
Merged via the queue into main with commit 4cdf674 Mar 10, 2026
19 checks passed
@DonJayamanne DonJayamanne deleted the don/visiting-vole branch March 10, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants