Skip to content

Refactor findFreePort to support maxRetries - #328311

Open
denizguney wants to merge 1 commit into
microsoft:mainfrom
denizguney:patch-5
Open

Refactor findFreePort to support maxRetries#328311
denizguney wants to merge 1 commit into
microsoft:mainfrom
denizguney:patch-5

Conversation

@denizguney

Copy link
Copy Markdown

Enhanced findFreePort function to include maxRetries parameter for better error handling.

Enhanced findFreePort function to include maxRetries parameter for better error handling.
Copilot AI review requested due to automatic review settings July 30, 2026 23:09

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.

Pull request overview

Adds bounded retry handling when selecting the Component Explorer development server port.

Changes:

  • Adds a configurable maxRetries parameter.
  • Rejects when no open port is found within the retry limit.

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