Skip to content

feat: add 'kind' property to parent session metadata#311469

Merged
DonJayamanne merged 1 commit intomainfrom
don/required-toad
Apr 20, 2026
Merged

feat: add 'kind' property to parent session metadata#311469
DonJayamanne merged 1 commit intomainfrom
don/required-toad

Conversation

@DonJayamanne
Copy link
Copy Markdown
Contributor

Co-authored-by: Copilot copilot@github.com

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings April 20, 2026 19:47
@DonJayamanne DonJayamanne self-assigned this Apr 20, 2026
@DonJayamanne DonJayamanne marked this pull request as ready for review April 20, 2026 19:48
@DonJayamanne DonJayamanne enabled auto-merge (squash) April 20, 2026 19:48
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 updates Copilot chat session metadata writing so sessions that are assigned a parentSessionId are also tagged with a kind, enabling downstream consumers to distinguish sub-sessions from other session types.

Changes:

  • Update setSessionParentId() to persist kind: 'sub-session' alongside parentSessionId.
Show a summary per file
File Description
extensions/copilot/src/extension/chatSessions/vscode-node/chatSessionMetadataStoreImpl.ts Ensures parent-linked sessions are also marked as kind: 'sub-session' in persisted metadata.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

@github-actions
Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 11d49abc Current: d1f1653b

Changed (5)

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Light
Before After
before after
editor/inlineCompletions/other/JumpToHint/Dark
Before After
before after
agentSessionsViewer/CompletedUnread/Dark
Before After
before after
agentSessionsViewer/CompletedUnread/Light
Before After
before after

@DonJayamanne DonJayamanne merged commit ac1bfe8 into main Apr 20, 2026
30 of 31 checks passed
@DonJayamanne DonJayamanne deleted the don/required-toad branch April 20, 2026 21:22
@vs-code-engineering vs-code-engineering bot added this to the 1.118.0 milestone Apr 20, 2026
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