Automated sync from private repo (2026-06-20)#785
Merged
foundry-samples-repo-sync[bot] merged 3 commits intoJun 20, 2026
Conversation
* Add ACR with managed VNet support to template 18 Add Azure Container Registry (Premium SKU) to the managed virtual network template with: - New container-registry.bicep module with private endpoint, DNS zone, and VNet link in the customer VNet - Managed network outbound PE rule for ACR so hosted agents can pull images privately - Contributor role on ACR for the AI account identity to approve managed PE connections (Network Connection Approver role does not cover ACR) - AcrPull role assignment for the project managed identity - Optional developer IP CIDR allowlist for push access - enableContainerRegistry parameter (default: true) to toggle ACR creation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Automatic fixes --------- Co-authored-by: Karthik Saligrama <ksaligrama@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: foundry-samples automation <foundry-samples@noreply.github.com>
* Switch hosted-agent samples to agent-framework-foundry (microsoft/agent-framework#6271) Replace the agent-framework meta-package (which pulls in the full agent-framework-core[all] set, including Linux-x86_64-only packages like agent-framework-hyperlight) with the narrow agent-framework-foundry package across all Python hosted-agent samples. Additional runtime deps that no longer come in transitively: - mcp>=1.24.0 for every Responses sample, because agent_framework_foundry_hosting._responses imports `from mcp import McpError` unconditionally - agent-framework-declarative for 09-declarative-customer-support (WorkflowFactory) - mcp>=1.24.0 already noted for MCPStreamableHTTPTool in 04, 06, and 07-teams-activity Verified with fresh-venv installs and import smoke tests covering each unique dependency shape: 01-basic, 05-workflows, 06-files, 07-skills, 09-declarative, invocations/01-basic. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Simplify requirements.txt comments in hosted-agent samples Replace the verbose per-file comments about pip resolution failures and agent-framework-core[all] extras with a single concise line explaining the intent: keep dependencies light by referencing only the packages needed. Apply the same style consistently across all 15 sample requirements files (including the pre-existing 11/12/13 comments). Also adds mcp>=1.24.0 to 12-foundry-skills, which was missing it — agent_framework_foundry_hosting._responses imports `from mcp import McpError` unconditionally, so every Responses sample needs it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add upper bound to mcp dependency in hosted-agent samples Pin mcp to `<2,>=1.24.0` (matching the upstream agent-framework-core[all] extra constraint) to prevent a future mcp v2 release with breaking changes from silently breaking the samples. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Remove duplicate mcp dependency in 03-mcp/requirements.txt The original file already declared `mcp>=1.24.0,<2`; the agent-framework-foundry switch inadvertently left it in alongside the newly added `mcp<2,>=1.24.0` entry. Drop the duplicate. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Skipping code-deploy based ci tests. --------- Co-authored-by: alliscode <25218250+alliscode@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Automated sync from private repo.
Synced commits: 3
Authors: Ben Thomas,Copilot Karthik Saligrama
Validation gate: mode=
none; tracked=47; blocked=11.Rollback point:
dff071d3ea1212bf37ab23d0cc9aa8a93404903a— to revert, force-push this SHA tomainand clear the sync-marks cache.Triggered by:
scheduleRun: https://github.com/microsoft-foundry/foundry-samples-pr/actions/runs/27864221401