Cut 5118 prd03 in#97
Conversation
| { | ||
| apiHostValue = "api.in"; | ||
| consoleHostValue = "console.in"; | ||
| } |
There was a problem hiding this comment.
Substring .in match is overly broad for region detection
Medium Severity
The Contains(".in") check in the default branch and in the HostEnv translation logic can false-positive on values containing .internal, .info, .instance, etc. Unlike .eu or .stg01, .in is a very short and common substring. A user entering a custom value like console.internal.jumpcloud.com would be incorrectly routed to the India region. This affects all four copies of Module.cs.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit c3f6953. Configure here.
gweinjc
left a comment
There was a problem hiding this comment.
Looks good to me, nice job
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
Reviewed by Cursor Bugbot for commit cc0c5f8. Configure here.


Issues
What does this solve?
This release adds support for the prd03 region through the SDKs
Is there anything particularly tricky?
How should this be tested?
Screenshots
Note
Medium Risk
Adds a new regional host option that changes how SDKs select API/console endpoints, which could impact request routing if misconfigured. CI build behavior is also made conditional via a new label-controlled flag, slightly increasing workflow variability.
Overview
Adds IN/prd03 region support across the PowerShell SDKs by expanding host selection/parameterized-host enums (e.g.,
api.in/console.in) and updating user-facing environment guidance.Updates the build pipeline to allow skipping
ApiTransform.ps1during CI when the PR has theskip-api-transformlabel (plumbed through toBuildAutoRest -RunApiTransform). Also bumps module/package versions forDirectoryInsights(0.2.0),V1(0.2.0), andV2(0.3.0) and updates release notes/docs accordingly.Reviewed by Cursor Bugbot for commit cc0c5f8. Bugbot is set up for automated code reviews on this repo. Configure here.