Skip to content

fix: Enable session affinity to handle load accross multiple replicas#1067

Merged
Avijit-Microsoft merged 3 commits into
microsoft:devfrom
chaudhariniraj:dev
Jun 26, 2026
Merged

fix: Enable session affinity to handle load accross multiple replicas#1067
Avijit-Microsoft merged 3 commits into
microsoft:devfrom
chaudhariniraj:dev

Conversation

@chaudhariniraj

Copy link
Copy Markdown

Purpose

Fix intermittent MCP session failures in WAF deployments by enabling sticky session affinity for the MCP Container App. This ensures requests belonging to the same MCP session are consistently routed to the same replica, preventing agent initialization failures during team switching in scaled deployments.

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@Avijit-Microsoft Avijit-Microsoft merged commit a4cbfc1 into microsoft:dev Jun 26, 2026
3 checks passed
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