Skip to content

chore(cli): do not pick legacy sessions, list all sessions#39146

Merged
pavelfeldman merged 1 commit intomicrosoft:mainfrom
pavelfeldman:legacy_fix
Feb 5, 2026
Merged

chore(cli): do not pick legacy sessions, list all sessions#39146
pavelfeldman merged 1 commit intomicrosoft:mainfrom
pavelfeldman:legacy_fix

Conversation

@pavelfeldman
Copy link
Member

No description provided.

@pavelfeldman pavelfeldman changed the title chore(cli): do not pick legacy sessions chore(cli): do not pick legacy sessions, list all sessions Feb 5, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

Test results for "MCP"

40 failed
❌ [chrome] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-ubuntu-latest
❌ [chrome] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-ubuntu-latest
❌ [chrome] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile=

@mcp-ubuntu-latest
❌ [chromium] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-ubuntu-latest
❌ [chromium] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-ubuntu-latest
❌ [chromium] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-ubuntu-latest
❌ [firefox] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-ubuntu-latest
❌ [firefox] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-ubuntu-latest
❌ [firefox] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-ubuntu-latest
❌ [webkit] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-ubuntu-latest
❌ [webkit] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-ubuntu-latest
❌ [webkit] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-ubuntu-latest
❌ [chrome] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-windows-latest
❌ [chrome] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-windows-latest
❌ [chrome] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-windows-latest
❌ [chromium] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-windows-latest
❌ [chromium] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-windows-latest
❌ [chromium] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-windows-latest
❌ [firefox] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-windows-latest
❌ [firefox] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-windows-latest
❌ [firefox] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-windows-latest
❌ [webkit] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-windows-latest
❌ [webkit] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-windows-latest
❌ [webkit] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-windows-latest
❌ [msedge] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-windows-latest
❌ [msedge] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-windows-latest
❌ [msedge] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-windows-latest
❌ [chrome] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-macos-15
❌ [chrome] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-macos-15
❌ [chrome] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-macos-15
❌ [chromium] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-macos-15
❌ [chromium] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-macos-15
❌ [chromium] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-macos-15
❌ [chromium] › mcp/config.spec.ts:23 › config user data dir @mcp-macos-15
❌ [firefox] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-macos-15
❌ [firefox] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-macos-15
❌ [firefox] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-macos-15
❌ [webkit] › mcp/cli-isolated.spec.ts:21 › should not save user data by default (in-memory mode) @mcp-macos-15
❌ [webkit] › mcp/cli-isolated.spec.ts:38 › should save user data with --persistent flag @mcp-macos-15
❌ [webkit] › mcp/cli-isolated.spec.ts:53 › should use custom user data dir with --profile= @mcp-macos-15

4622 passed, 135 skipped


Merge workflow run.


for (const workspace of sortedWorkspaces) {
const sessions = sessionsByWorkspace.get(workspace)!;
// Only print workspace folder if it's set
Copy link
Contributor

Choose a reason for hiding this comment

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

Useless comment!

if (!canConnect) {
console.log(` ${name} (stale)`);
} else {
const restartMarker = !isCompatible ? ` - v${config.version}, please reopen` : '';
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure we should suggest please reopen when listing all sessions. It is probably working fine with some other client.

Copy link
Member Author

@pavelfeldman pavelfeldman Feb 5, 2026

Choose a reason for hiding this comment

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

client is always global - cant be another client

@pavelfeldman pavelfeldman merged commit 5db56c1 into microsoft:main Feb 5, 2026
3 of 6 checks passed
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.

2 participants