Automated sync from private repo (2026-06-06)#760
Merged
foundry-samples-repo-sync[bot] merged 6 commits intoJun 6, 2026
Conversation
* Adding back the logs missing in pytthon BYO. * Fixing the logging issues in the BYO tool. * updating end session emoji.
Replaces the prior foundry-local sample set with the current 53 samples
sourced from microsoft/Foundry-Local. Each sample gets a sample.yaml and
README.md so the central validation pipeline can discover and build it.
Layout
- samples/csharp/foundry-local/ — 13 samples (incl. workspace nuget.config,
Directory.Packages.props, Shared/Utils.cs)
- samples/javascript/foundry-local/ — 15 samples
- samples/python/foundry-local/ — 14 samples
- samples/rust/foundry-local/ — 11 samples (workspace Cargo.toml)
sample.yaml validation commands
- C#: dotnet restore && dotnet build --no-restore
- JS: npm install
- Python: pip install -r requirements.txt
- Rust: cargo build --verbose
Samples marked SKIP in sample.yaml (Windows-only or native audio deps —
PortAudio / naudiodon2 / pyaudio / cpal / NAudio):
- {csharp,javascript,python,rust}/foundry-local/verify-winml
- {csharp,javascript,python,rust}/foundry-local/live-audio-transcription
- javascript/foundry-local/copilot-sdk-foundry-local
- javascript/foundry-local/electron-chat-application
Dependency hygiene
- C# nuget.config now points only at nuget.org (no internal feed)
- Rust Cargo.toml files use the published foundry-local-sdk = "1.2" from
crates.io instead of a local path dependency
Top-level READMEs
Each samples/<lang>/foundry-local/README.md gets Learn-compatible
frontmatter (page_type: sample) per CONTRIBUTING.md §Discoverability and
links to https://github.com/microsoft-foundry/foundry-samples.
Governance
- .github/CODEOWNERS: placeholder @microsoft-foundry/foundry-local for each
/samples/<lang>/foundry-local/ root — TODO replace with real team slug.
- .github/sync-mailmap: adds entry for samkemp@microsoft.com.
Validation pipeline gap (flag for DevX)
.azure-pipelines/validation.yml only fans out for csharp/python/java/
typescript/go/REST/cli. The new JavaScript and Rust samples will be
discovered by the layout but not gated by the central pipeline until that
list is extended.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fixing 503's and Live view URLs in the responses. * removing dep fields. * pr comments. * small nitt.
) Template 15 (private-network-standard-agent-setup) was unconditionally provisioning the account-level capability host twice: 1. Implicitly, server-side: when the account is created with networkInjections.scenario='agent', the platform auto-provisions a capability host named '<account>@aml_aiagentservice'. 2. Explicitly: add-account-capability-host.bicep then PUT a second caphost ('caphostacct') against the same account. Only one capability host per account is allowed. The second PUT is rejected by agent-management, ARM keeps polling, and the deployment fails after the 1h resource-provisioning timeout. This change makes the explicit caphost opt-in via a new boolean parameter 'createAccountCapabilityHost' (default false). The module is preserved for two legitimate scenarios: - BYO existing account that has no capability host yet (original use case of the module added in #261). - Recovery: after running deleteCapHost.sh, redeploy with the flag set to recreate the capability host declaratively. When the flag is true, the module defaults the resource name to '<accountName>@aml_aiagentservice' so the caphost matches the platform convention regardless of how it was created. createCapHost.sh is removed: a user-named curl script that PUTs an account caphost competes with the implicit one in the default path and is fully superseded by the new flag. Changes: - main.bicep: add 'createAccountCapabilityHost' bool (default false); conditionally invoke add-account-capability-host; keep it in the project caphost's dependsOn (no-op when condition is false). - modules-network-secured/add-account-capability-host.bicep: restored; default 'accountCapHost' is now '${accountName}@aml_aiagentservice'. - createCapHost.sh: deleted (replaced by the flag). - README.md: document the flag, the BYO/recovery scenarios, the platform convention for the implicit caphost name; fix deleteCaphost.sh casing; update module-structure listing. - azuredeploy.json: regenerated via 'az bicep build'. Model: Claude Opus 4.7 Authored-by: vtrika Co-authored-by: vtrika <6207700+vtrika@users.noreply.github.com>
…#455) Hosted agents running in Microsoft-managed VNet could not connect to Foundry project resources (Storage, Cosmos DB, AI Search) because no outbound private endpoint rules were configured on the managed network. Changes: - Add outbound PE rules for Storage (blob), Cosmos DB (Sql), and AI Search (searchService) in managed-network.bicep with sequential dependsOn to avoid API conflicting state errors - Add network-connection-approver-role.bicep module for cross-RG role assignments when BYO resources are in different resource groups - Update main.bicep to pass resource IDs to managed network module, add conditional cross-RG role assignments, and fix dependency chain - Change location parameter to default to resourceGroup().location instead of hardcoding eastus2 Co-authored-by: Karthik Saligrama <ksaligrama@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… runner (#461) Co-authored-by: copilot-swe-agent[bot] <198982749+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: 6
Authors: Copilot,Karthik Saligrama Mohit Pavan Kumar Gadamsetty,Samuel Kemp vtrika
Validation gate: mode=
none; tracked=46; blocked=11.Rollback point:
f58bdd888b30fba7ab611accc6b2cbccae23177a— 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/27055805672