Skip to content

exp (iac): [foundry-deployment-agents] multi-version deployments and traffic routing#89

Draft
ferantivero wants to merge 2 commits intoAzure-Samples:mainfrom
ferantivero:test/patch/538619_port-basic-website
Draft

exp (iac): [foundry-deployment-agents] multi-version deployments and traffic routing#89
ferantivero wants to merge 2 commits intoAzure-Samples:mainfrom
ferantivero:test/patch/538619_port-basic-website

Conversation

@ferantivero
Copy link
Contributor

@ferantivero ferantivero commented Feb 6, 2026

WHY

While working on agent publishing (#87), we wanted to experiment with multi-version agent deployments and understand how Foundry Agent Service handles traffic routing between them. The goal was to discover if and how we can control which agent version serves traffic from a single stable endpoint — useful for gradual rollouts and version management scenarios.

WHAT

  • Multi-version deployment support via agentVersion parameter with auto-suffix naming (agentdeploychatv{version})
  • Agent v2 definition (chat-with-bing-v2.json) with concise response instructions
  • README steps to verify deployments, invoke agents, and route traffic to a specific version
  • Documented traffic routing via trafficRoutingPolicy with explicit deploymentId (control plane PUT)
  • Documented current limitations: no A/B split, no path/header routing, no PATCH support

REVIEW

This PR includes commits from #87. Reviewers should focus on these two commits:

  • d558733 — support multi-version agent deployments with auto-suffix naming
  • 7f4f72f — document traffic routing for multi-version agent deployments

TEST

  • Deployed v1 and v2 agent deployments to a test environment
  • Confirmed routing flip via trafficRoutingPolicy PUT with explicit deploymentId
  • v1 returns verbose responses, v2 returns concise (2-3 sentences)
  • Stable endpoint URL unchanged across routing changes

DEPENDS ON


Co-authored-by: GitHub Copilot (Claude Sonnet 4) noreply@github.com

@ferantivero ferantivero force-pushed the test/patch/538619_port-basic-website branch from f71e2f1 to 7f4f72f Compare February 7, 2026 00:00
ferantivero and others added 2 commits March 3, 2026 11:17
- add auto-suffix to deployment name (agentdeploychatv{version})
- add chat-with-bing-v2.json with concise response instructions
- update README with v1/v2 deployment and persist commands

Co-authored-by: GitHub Copilot (Claude Sonnet 4) <noreply@github.com>
- add optional step to route traffic to a specific deployment via trafficRoutingPolicy
- document PUT with explicit deploymentId to control which deployment receives traffic
- note control plane vs data plane separation (no jump box required)
- document current limitations: no A/B split, no path/header routing, PUT required

Co-authored-by: GitHub Copilot (Claude Sonnet 4) <noreply@github.com>
@ferantivero ferantivero force-pushed the test/patch/538619_port-basic-website branch from 7f4f72f to f99dded Compare March 3, 2026 14:17
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.

1 participant