Skip to content

Automated sync from private repo (2026-06-20)#785

Merged
foundry-samples-repo-sync[bot] merged 3 commits into
mainfrom
sync/private-to-public-20260620-072704
Jun 20, 2026
Merged

Automated sync from private repo (2026-06-20)#785
foundry-samples-repo-sync[bot] merged 3 commits into
mainfrom
sync/private-to-public-20260620-072704

Conversation

@foundry-samples-repo-sync

Copy link
Copy Markdown
Contributor

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 to main and clear the sync-marks cache.

Triggered by: schedule
Run: https://github.com/microsoft-foundry/foundry-samples-pr/actions/runs/27864221401

karthiksaligrama and others added 3 commits June 19, 2026 08:31
* 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>
@foundry-samples-repo-sync foundry-samples-repo-sync Bot merged commit f52562b into main Jun 20, 2026
7 checks passed
@foundry-samples-repo-sync foundry-samples-repo-sync Bot deleted the sync/private-to-public-20260620-072704 branch June 20, 2026 07:30
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.

3 participants