Skip to content

cherry-pick socket mode base URL & geos fix - #677

Merged
Lily Du (lilyydu) merged 2 commits into
release/v2.2from
lilyydu/python-2-2-1-backport
Nov 10, 2026
Merged

Lily Du (lilyydu) merged 2 commits into
release/v2.2from
lilyydu/python-2-2-1-backport

Conversation

@lilyydu

Copy link
Copy Markdown
Collaborator

No description provided.

Lily Du (lilyydu) and others added 2 commits November 9, 2026 18:12
related issue: microsoft/teams.ts#985

## Summary
- Route Socket Mode negotiation through
`https://{geo}.botapi.skype.com/v3/websockets/connect`.
- Remove configurable negotiate base URLs.
- Default empty geo configurations to `amer`, `emea`, and `apac`.
- Accept custom non-empty geo values while rejecting empty strings and
duplicates.
- Add secret-safe request URL diagnostics.
- Update Socket Mode tests and documentation.

## Validation
- Ruff and Pyright pass.
- 118 Socket Mode tests pass.
- Live validation reached `ready` for `amer`, `emea`, and `apac`.

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
(cherry picked from commit 5935996)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@lilyydu
Lily Du (lilyydu) merged commit 8e17783 into release/v2.2 Nov 10, 2026
5 checks passed
@lilyydu
Lily Du (lilyydu) deleted the lilyydu/python-2-2-1-backport branch November 10, 2026 02:28
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.

2 participants