Skip to content

Adding fix for incorrectly creating an mcs connector - #360

Merged
Axel Suárez (axelsrz) merged 1 commit into
mainfrom
users/axsuarez/mcs-connector-fix
Apr 3, 2026
Merged

Adding fix for incorrectly creating an mcs connector#360
Axel Suárez (axelsrz) merged 1 commit into
mainfrom
users/axsuarez/mcs-connector-fix

Conversation

@axelsrz

Copy link
Copy Markdown
Member

This pull request makes a small change to the logic for creating a MCSConnectorClient in the rest_channel_service_client_factory.py file. Specifically, it removes the check for service URLs starting with "https://pvaruntime", so now the client is only created when the recipient role is connector_user.

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

Note

Copilot was unable to run its full agentic suite in this review.

This PR adjusts the MCS connector client creation logic so that an MCSConnectorClient is created only when the activity recipient role is connector_user, removing a service_url.startswith("https://pvaruntime") shortcut.

Changes:

  • Remove https://pvaruntime service URL prefix check from the MCS connector creation condition.
  • Restrict MCS connector creation to the connector_user recipient role condition only.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@axelsrz
Axel Suárez (axelsrz) enabled auto-merge (squash) April 3, 2026 22:23
@axelsrz
Axel Suárez (axelsrz) merged commit fa40cb8 into main Apr 3, 2026
14 checks passed
@axelsrz
Axel Suárez (axelsrz) deleted the users/axsuarez/mcs-connector-fix branch April 3, 2026 22:24
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.

4 participants