You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: update connect URL to target correct geo - #676
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Negotiation URL handling can alter query values and leave the transport reporting CONNECTING with accepting enabled after startup fails on a malformed URL.
No open issues 🎉
2 previously missed issues
In code that hasn't changed since last review
Malformed negotiate URL leaves transport stuck connecting
If negotiate_base_url is malformed (for example, https://[botapi.example), urlsplit() raises after the transport has entered CONNECTING. Startup then fails with no sockets, but status still reports CONNECTING and accepting remains true. Resolve all negotiate URLs before changing the stop event or lifecycle.
For a custom base URL ending in a query value such as https://botapi.example/ring?route=/, trimming the entire URL before parsing changes the query from route=/ to route=. The negotiate request therefore receives a different parameter value despite the intended query preservation. Parse base_url directly and trim only parsed.path, which is already handled below.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Mocked tests cannot verify live Teams DNS, routing, and token acceptance for the new Socket Mode hosts, and the change also narrows supported geos and negotiate_base_url values.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The implementation and tests use a different regional hostname than the PR summary, leaving unclear whether live verification covered the endpoint being shipped.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed to evaluate the compatibility impact of removing negotiate_base_url, which breaks existing callers and removes the documented backend-ring selection mechanism.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
A moderate-severity geo-validation regression was omitted from the published review and needs human assessment of its compatibility impact.
No open issues 🎉
Review effort: Max
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
related issue: microsoft/teams.ts#985
Summary
https://{geo}.botapi.skype.com/v3/websockets/connect.amer,emea, andapac.Validation
readyforamer,emea, andapac.