Skip to content

Automated sync from private repo (2026-06-22)#786

Merged
foundry-samples-repo-sync[bot] merged 2 commits into
mainfrom
sync/private-to-public-20260622-081213
Jun 22, 2026
Merged

Automated sync from private repo (2026-06-22)#786
foundry-samples-repo-sync[bot] merged 2 commits into
mainfrom
sync/private-to-public-20260622-081213

Conversation

@foundry-samples-repo-sync

Copy link
Copy Markdown
Contributor

Automated sync from private repo.

Synced commits: 2
Authors: Yulin Li,vtrika

Validation gate: mode=none; tracked=47; blocked=11.

Rollback point: f52562ba0885b329cce8dd9b2440ac79dd77932e — 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/27938777654

vtrika and others added 2 commits June 21, 2026 20:42
* Add diagnostic-agent hosted sample

Adds a new Python invocations sample named diagnostic-agent for private VNet diagnostics in hosted-agent runtimes. This is isolated from existing PR work and includes sample code, container config, and customer documentation.

Model: GPT-5.3-Codex

Authored-by: vtrika

* Make diagnostic-agent README placeholders generic

Model: GPT-5.4
Authored-by: vtrika

* refactor(diagnostic-agent): Convert to BYO infrastructure model with both container and ZIP deployment modes

Changes:
- Remove infra/ directory (no provisioning for BYO scenarios)
- Remove infra provider from azure.yaml (clean configuration)
- Update .env.example with comprehensive BYO variable documentation
- Add .env.e2e-tests for testing against existing infrastructure
- Add .gitignore for local test files
- Update README with:
  * Getting Started section for BYO deployments
  * Step-by-step instructions for both container and ZIP modes
  * Deployment modes comparison table
  * Clear CLI commands for token acquisition and invocation

Testing:
✅ Verified on e2e-tests-canadacentral Foundry project
✅ Container mode: agent version 3 deployed successfully (27s)
✅ ZIP mode: agent version 4 deployed successfully (29s)
✅ Both modes support 'azd deploy --no-prompt' (no infra provisioning)
✅ No Microsoft internal references in code or documentation

The sample is now a pure BYO pattern that works with existing Foundry infrastructure.

Model: Claude Haiku 4.5
Authored-by: Vipin Koottayi

* refactor(diagnostic-agent): remove IMDS and MSI support

Remove IMDS metadata and MSI token probing from the diagnostic agent, update the manifest and README to match, and record local container/ZIP validation.

Testing: container-mode local invocation returned HTTP 200 with status ok; ZIP-mode local invocation returned HTTP 200 with status ok.

Model: GPT-5.4 mini

Authored-by: Vipin Koottayi

* docs(diagnostic-agent): add ACR network troubleshooting fallbacks

Model: GPT-5.3-Codex

Authored-by: Vipin Koottayi

* chore(diagnostic-agent): sanitize internal network wording

Model: GPT-5.3-Codex

Authored-by: Vipin Koottayi

---------

Co-authored-by: Vipin Koottayi <vkoottayi@microsoft.com>
Co-authored-by: vtrika <vtrika@users.noreply.github.com>
)

The hosted-agent WebSocket data-plane route now carries the project and
agent as URL path segments (mirroring the HTTP /invocations route) instead
of query parameters:

  before: /api/projects/agents/endpoint/protocols/invocations_ws?project_name=P&agent_name=A
  after:  /api/projects/P/agents/A/endpoint/protocols/invocations_ws

- Python (hello-world, duplex-live-agent, pipecat-ws-server, pipecat-webrtc,
  livekit-server): move project/agent into the URL path (urllib quote), drop
  project_name/agent_name query params; keep api-version & agent_session_id.
- C# (HelloWorld proxy + e2e): same, using Uri.EscapeDataString.
- READMEs updated to document the path-based route.
- Local container /invocations_ws routes are unchanged.

Co-authored-by: Yulin Li <yulili@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ctx = ssl.create_default_context()
try:
with socket.create_connection((ip, port), timeout=timeout_sec) as raw:
with ctx.wrap_socket(raw, server_hostname=host) as tls:
return result
# For ACR-shaped hosts, /v2/ is the canonical reachability test and returns
# 401 with a useful WWW-Authenticate header. For everything else hit /.
path = "/v2/" if host.endswith(".azurecr.io") or ".data.azurecr.io" in host else "/"
@foundry-samples-repo-sync foundry-samples-repo-sync Bot merged commit e5ec085 into main Jun 22, 2026
6 of 7 checks passed
@foundry-samples-repo-sync foundry-samples-repo-sync Bot deleted the sync/private-to-public-20260622-081213 branch June 22, 2026 08:16
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