Skip to content

Conversation

@TingluoHuang
Copy link
Member

@TingluoHuang TingluoHuang commented Oct 22, 2025

#3326

Credit goes to @alixinne

@TingluoHuang TingluoHuang requested a review from a team as a code owner October 22, 2025 00:29
Copilot AI review requested due to automatic review settings October 22, 2025 00:29
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 PR improves the logic for determining whether a runner is operating on a hosted server by implementing a more sophisticated decision cascade in the IsHostedServer property getter.

Key Changes:

  • Replaces simple null-coalescing logic with a three-tier fallback strategy
  • Adds inference capability using UrlUtil.IsHostedServer() when the property isn't explicitly set
  • Reorganizes imports to follow alphabetical ordering convention

@TingluoHuang TingluoHuang merged commit bca18f7 into main Oct 22, 2025
10 checks passed
@TingluoHuang TingluoHuang deleted the users/tihuang/fixishosted branch October 22, 2025 04:00
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