Skip to content

sessions - allow --sessions even for existing windows#297955

Merged
bpasero merged 2 commits intomainfrom
ben/copilot-worktree-2026-02-26T10-16-45
Feb 26, 2026
Merged

sessions - allow --sessions even for existing windows#297955
bpasero merged 2 commits intomainfrom
ben/copilot-worktree-2026-02-26T10-16-45

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Feb 26, 2026

No description provided.

@bpasero bpasero added this to the February 2026 milestone Feb 26, 2026
@bpasero bpasero self-assigned this Feb 26, 2026
Copilot AI review requested due to automatic review settings February 26, 2026 10:42
@bpasero bpasero enabled auto-merge (squash) February 26, 2026 10:42
Copy link
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 pull request enables the --sessions flag to work when there are existing VS Code windows, not just on initial startup. Previously, the sessions window could only be opened on first launch; this change allows it to be opened from a second instance as well.

Changes:

  • Added support for launching sessions window from secondary instances using the --sessions flag
  • Injected IProductService dependency to check product quality (sessions flag only works in non-stable builds)
  • Positioned the sessions window handling early in the window opening logic, before other window types

@bpasero bpasero merged commit 248b17d into main Feb 26, 2026
24 checks passed
@bpasero bpasero deleted the ben/copilot-worktree-2026-02-26T10-16-45 branch February 26, 2026 10:58
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