Skip to content

sessions: sort tunnel picker by name - #333463

Merged
Dmitriy Vasyura (dmitrivMS) merged 3 commits into
mainfrom
agents/fix-tunnel-picker-sorting
Aug 31, 2026
Merged

sessions: sort tunnel picker by name#333463
Dmitriy Vasyura (dmitrivMS) merged 3 commits into
mainfrom
agents/fix-tunnel-picker-sorting

Conversation

@dmitrivMS

@dmitrivMS Dmitriy Vasyura (dmitrivMS) commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

The tunnel picker previously preserved the arbitrary order returned by tunnel discovery. Sort a copy of the discovered tunnels by display name before creating the picker items, while leaving the original discovery result unchanged.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

Review tier: Balanced
Findings: 1 Low severity

New issues introduced by this change (1)
Severity Finding
Low severity src/​vs/​sessions/​contrib/​providers/​remoteAgentHost/​browser/​remoteAgentHostActions.ts — This helper is only used within this module, so exporting it unnecessarily expands the module's…
What changed in this PR

Sorts discovered Dev Tunnels by display name without mutating discovery results.

Changes:

  • Adds a copy-and-sort helper.
  • Applies sorting before creating tunnel picker items.
File Description
remoteAgentHostActions.ts Sorts Dev Tunnel picker entries alphabetically.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@dmitrivMS
Dmitriy Vasyura (dmitrivMS) merged commit b3b70ae into main Aug 31, 2026
37 checks passed
@dmitrivMS
Dmitriy Vasyura (dmitrivMS) deleted the agents/fix-tunnel-picker-sorting branch August 31, 2026 08:35
@vs-code-engineering vs-code-engineering Bot added this to the 1.137.0 milestone Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants