Scope durable task IDs by hosted session GUID - #48776
Conversation
Read FOUNDRY_AGENT_SESSION_GUID in hosted configuration and use it as the private durable task namespace while preserving public conversation chain identity. Reuse active pre-rollout multi-turn tasks through a legacy-ID lookup and keep one-shot task IDs unchanged. Authored-by: GitHub Copilot CLI v1.0.81-9 Model: GPT-5.6 Sol (gpt-5.6-sol) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762
Remove the session GUID task namespace implementation from the routines branch. The change now lives in users/naman/session-guid-task-namespace and PR #48776. Authored-by: GitHub Copilot CLI v1.0.81-9 Model: GPT-5.6 Sol (gpt-5.6-sol) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762
|
Azure Pipelines: Successfully started running 1 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
Scopes hosted durable multi-turn task IDs by session incarnation GUID while preserving public conversation identities and legacy task recovery.
Changes:
- Adds hosted session GUID configuration and propagation.
- Introduces GUID-scoped task IDs with legacy active-task lookup.
- Adds migration tests and documentation.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
responses/tests/unit/test_task_id.py |
Tests GUID-based task scoping. |
responses/tests/unit/test_resilient_input.py |
Tests GUID serialization. |
responses/tests/unit/test_conversation_lock.py |
Tests legacy task migration. |
responses/tests/unit/test_conversation_chain_id.py |
Clarifies public chain identity. |
responses/docs/responses-resilience-spec.md |
Documents task ID migration. |
responses/CHANGELOG.md |
Records the fix. |
responses/hosting/_task_id.py |
Adds private task scope. |
responses/hosting/_resilient_orchestrator.py |
Selects compatible physical task IDs. |
responses/hosting/_resilient_input.py |
Persists session GUIDs. |
responses/hosting/_execution_context.py |
Carries session GUID context. |
responses/hosting/_endpoint_handler.py |
Reads hosted GUID configuration. |
responses/hosting/_chain_id.py |
Updates identity documentation. |
core/tests/test_config.py |
Tests environment parsing and validation. |
core/CHANGELOG.md |
Records the configuration feature. |
core/tasks/_decorator.py |
Exposes internal task lookup. |
core/_constants.py |
Adds the environment variable constant. |
core/_config.py |
Adds validated session GUID configuration. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
This comment has been minimized.
This comment has been minimized.
Regenerate the Core API snapshot for AgentConfig.session_guid and require Core 2.2.0b1 from the Responses package so the configuration and legacy lookup APIs are always available. Authored-by: GitHub Copilot CLI v1.0.81-9 Model: GPT-5.6 Sol (gpt-5.6-sol) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 20 out of 20 changed files in this pull request and generated 1 comment.
Suppressed comments (3)
sdk/agentserver/azure-ai-agentserver-core/CHANGELOG.md:3
- This new release entry is not reflected in the package version:
pyproject.toml:61reads the dynamic version fromcore/_version.py, which still declares2.1.0. Consequently a core wheel built from this PR is still version 2.1.0 and cannot satisfy the Responses package's newazure-ai-agentserver-core>=2.2.0b1requirement. Update_version.pyto2.2.0b1alongside this changelog.
## 2.2.0b1 (Unreleased)
sdk/agentserver/azure-ai-agentserver-responses/CHANGELOG.md:3
- The Responses package still builds as version
2.1.0:pyproject.toml:35-36sources its dynamic version fromresponses/_version.py, which was not updated. This makes the new2.2.0b1changelog section disagree with the wheel metadata and would attempt to publish the changes under the already-released version. Update_version.pyto2.2.0b1.
## 2.2.0b1 (Unreleased)
sdk/agentserver/azure-ai-agentserver-responses/azure/ai/agentserver/responses/hosting/_task_id.py:54
- The new private scope makes the existing return documentation inaccurate: when
task_session_iddiffers fromsession_id, the result is explicitly not the handler-facing conversation chain ID (as the new tests assert). Update the return clause to state that equality holds only when the private scope is omitted or equals the public session scope.
:keyword task_session_id: Private task namespace. Defaults to
``session_id`` for compatibility.
:paramtype task_session_id: str | None
This comment has been minimized.
This comment has been minimized.
Build Core and Responses as 2.2.0b1 so the coupled dependency resolves, and compose physical task scope from both the hosted session GUID and resolved public session ID. Correct the task-ID return contract and extend migration coverage for the composite scope. Authored-by: GitHub Copilot CLI v1.0.81-9 Model: GPT-5.6 Sol (gpt-5.6-sol) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762
Integrate concurrent upstream changes before publishing the review fixes. Authored-by: GitHub Copilot CLI v1.0.81-9 Model: GPT-5.6 Sol (gpt-5.6-sol) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762
[Pilot] PR Pipeline Failure AnalysisWhat failedPipeline: python - pullrequest (Build Analyze) — Build ID 6752307 Both packages failed There is also a secondary issue for Relevant pipeline outputRecommended next steps
Automated fix: Requested
|
Set both 2.2.0b1 packages to the Beta development classifier so sdist verification accepts their prerelease versions. Authored-by: GitHub Copilot CLI v1.0.81-9 Model: GPT-5.6 Sol (gpt-5.6-sol) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762
Resolve the Responses 2.2.0b2 release conflicts while preserving the session GUID task namespace notes and Core dependency. Authored-by: GitHub Copilot CLI v1.0.81-9 Model: GPT-5.6 Sol (gpt-5.6-sol) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762
Use the GUID-scoped task immediately when it exists and query the legacy ID only on a miss, avoiding unnecessary steady-state I/O and failure coupling. Clarify that conversation_chain_id is the public chain identity and can differ from the physical task ID. Authored-by: GitHub Copilot CLI v1.0.81-9 Model: GPT-5.6 Sol (gpt-5.6-sol) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762
Clarify that hosted deployments may use a private physical task ID while exposing a stable public conversation chain ID to handlers. Update the worked recovery timeline to use both identities consistently. Authored-by: GitHub Copilot CLI v1.0.82-0 Model: GPT-5.6 Sol (gpt-5.6-sol) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 59ebcaa5-079e-433c-8dbe-9eaeffa0f32f
* [azure-ai-evaluation] Release 1.18.4 (#48782) * Release azure-ai-evaluation-1.19.0 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 479d3ec4-1f89-49b1-bf00-5cecaf3c98b7 * Correct azure-ai-evaluation release to 1.18.4 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 479d3ec4-1f89-49b1-bf00-5cecaf3c98b7 --------- Co-authored-by: Rabah B <rboubchir+microsoft@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 479d3ec4-1f89-49b1-bf00-5cecaf3c98b7 * Increment package version after release of azure-ai-agentserver-responses (#48785) Co-authored-by: azure-sdk <azuresdk@microsoft.com> * Populate measurements on telemetry from the `microsoft.custom_measurements` attribute (#48750) * Populate measurements on telemetry from the microsoft.custom_measurements attribute * Update CHANGELOG * Address feedback * Address feedback * Address feedback * Add samples for custom measurements attributes * Rename sample file to fix mypy errors * Fix format * Prepare azure-postgresql-auth 1.1.0 for release (#48762) Bump the package version to 1.1.0 and stamp the CHANGELOG's Unreleased section with the 2026-08-26 release date. The minor bump reflects the new public `create_asyncpg_engine` API added since 1.0.2. Co-authored-by: Matthew Boentoro <mboentoro@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Scope durable task IDs by hosted session GUID (#48776) * Scope durable task IDs by session GUID Read FOUNDRY_AGENT_SESSION_GUID in hosted configuration and use it as the private durable task namespace while preserving public conversation chain identity. Reuse active pre-rollout multi-turn tasks through a legacy-ID lookup and keep one-shot task IDs unchanged. Authored-by: GitHub Copilot CLI v1.0.81-9 Model: GPT-5.6 Sol (gpt-5.6-sol) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762 * fix(agentserver): address session GUID review feedback Regenerate the Core API snapshot for AgentConfig.session_guid and require Core 2.2.0b1 from the Responses package so the configuration and legacy lookup APIs are always available. Authored-by: GitHub Copilot CLI v1.0.81-9 Model: GPT-5.6 Sol (gpt-5.6-sol) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762 --------- Co-authored-by: Naman Tyagi <namantyagi@microsoft.com> Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762 * [Storage Blob] Migrating to TypeSpec (#45133) * [Search] Include Issue Cleanup starting 2026-08-01-preview release (#48767) * Fix issue in python Collection * Fix serialization perf regression * Include issue in changelog * Address copilot comments * Revert generated skill documentation edits Co-authored-by: efrainretana <141282336+efrainretana@users.noreply.github.com> * Update API surface * Fix accidental change --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * Configure Agent Server trace sampling and instrumentation defaults (#48753) * Sync eng/common directory with azure-sdk-tools for PR 16660 (#48799) * Add Get-PackageApprovalStatus script. * Add Create-APIViewRevision.ps1 script * Add Mark-PackageReleased.ps1 script. * Update proposoal and scripts. Add step templates. * Updates. * Code review feedback. * Feedback. * Update get-package-approval-status condition. * Updates. * Ensure Get-PackageApprovalStatus does not fail for packages that aren't ready for release. * Code review feedback. * Code review feedback. * Validate SDK language for package approval --------- Co-authored-by: Travis Prescott <trpresco@microsoft.com> * [AutoPR azure-mgmt-cloudhealth]-generated-from-SDK Generation - Python-6742947 (#48727) * Configurations: 'specification/cloudhealth/resource-manager/Microsoft.CloudHealth/CloudHealth/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: 'ef5352bc9eb986c683703bc0f7907804837a1e00' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6742947 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com> * Bump Vally CLI to 0.14.0 (#48813) Co-authored-by: helen229 <gaoh@microsoft.com> * Update Python release pipelines for API Review Hub integration (#48711) * Update Python release pipelines for API Review Hub integration * Fix indentation. * Code review feedback. * [ARH] Fix Review Hub Artifact Generation (#48816) * Replace script expansions with environment variables. * Fix version parsing. * Fix compile-time expansions in base templates. (#48818) Co-authored-by: Travis Prescott <trpresco@microsoft.com> * Sync eng/common directory with azure-sdk-tools repository for Tools PR 16806 (#48811) Co-authored-by: azure-sdk <azuresdk@microsoft.com> * Conda Release 2026.09.01 (#48796) * Update conda files for 2026.09.01 release * Address PR review comments: update stale Conda release version pins Fixes stale version pins flagged in PR review comments on #48790: - azure-storage-blob: 12.30.0 -> 12.30.1 - azure-ai-projects: 2.4.0 -> 2.5.0 - azure-mgmt-compute: 38.2.0 -> 38.3.0 - azure-mgmt-containerservice: 41.5.0 -> 41.6.0 - azure-mgmt-containerservicefleet: 3.1.0 -> 4.0.0 - azure-mgmt-network: 31.0.1 -> 32.0.0 - azure-mgmt-recoveryservices: 4.1.0 -> 4.2.0 - azure-mgmt-storagesync: 2.0.0 -> 2.1.0 - azure-ai-voicelive: 1.2.0 -> 1.3.0 - azure-iot-deviceupdate: 1.0.0 -> 1.1.0 - azure-keyvault-secrets: 4.11.0 -> 4.11.2 Updated both the pipeline checkout pins in conda-sdk-client.yml and the corresponding conda release log entries for the 2026.09.01 release. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use SQL release tag for Conda build Source azure-mgmt-sql 4.0.0 from its repository tag so the network-isolated Conda build does not depend on CFS upstream ingestion. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Remove Azure AI Evaluation Conda release log The Azure AI Evaluation package is not built or shipped as part of the Conda release. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * [Evaluation] Make App Insights export best effort for managed identity (#48805) * fix(evaluation): make App Insights export best effort Keep managed-identity evaluation results when Application Insights export fails or times out, while preserving strict credential validation and failure logs. Authored-by: GitHub Copilot for VS Code Model: GitHub Copilot (copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix(evaluation): bump version to 1.18.5 to match the Unreleased changelog entry Verify ChangeLogEntries failed: _version.py still read 1.18.4, so the validator picked up the 1.18.4 entry and rejected its 2026-08-27 date for no longer being the latest in the file, now that a 1.18.5 (Unreleased) section sits above it. _version.py represents the upcoming version and has to match the Unreleased heading. This is the repository convention: of the packages currently carrying an (Unreleased) top entry, 71 have a matching _version.py and 2 do not. Authored-by: GitHub Copilot for VS Code Model: Claude Opus 5 (claude-opus-5) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * [AutoPR azure-mgmt-newrelicobservability]-generated-from-SDK Generation - Python-6685273 (#48531) * Configurations: 'specification/newrelic/NewRelicObservability.Management/tspconfig.yaml', SDK Release Type: stable, and CommitSHA: 'c8e1ea0817257e22c9bea05882feecdb78a3ef96' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6685273 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e079040f-c7f0-4ce9-ace2-24de36265fd7 --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e079040f-c7f0-4ce9-ace2-24de36265fd7 * Add support to the exporter for Availability Data telemetry (#48812) * Add support to the exporter for Availability Data telemetry * Update CHANGELOG * Address feedback * Honor the python 3.10 timestamp style * Fix format * [AutoPR azure-mgmt-cognitiveservices]-generated-from-SDK Generation - Python-6755272 (#48662) * Configurations: 'specification/cognitiveservices/CognitiveServices.Management/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: 'd8ae42826a35b0973ff1bb7900328c5063698a81' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6726122 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix cognitiveservices generated pylint errors * Configurations: 'specification/cognitiveservices/CognitiveServices.Management/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '3644d9bb0870c79641abbd0caa6f440051afb727' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6748588 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Restore permission-safe compute polling * Configurations: 'specification/cognitiveservices/CognitiveServices.Management/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '6e058a0a22c828ca0ebfd5a4826a72addc44f909' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6755272 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Restore compute polling customizations --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: M-Hietala <78813398+M-Hietala@users.noreply.github.com> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com> * Update CHANGELOG.md (#48828) * Configurations: 'specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/tspconfig.yaml', API Version: 2026-03-01, SDK Release Type: stable, and CommitSHA: '3fbff828a405632668f197b4c30466a0b8dc2cef' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6756615 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. (#48789) Co-authored-by: azure-sdk <azuresdk@microsoft.com> * Add troubleshotoing. (#48832) * [AutoPR azure-mgmt-resource-policy]-generated-from-SDK Generation - Python-6767339 (#48752) * Configurations: 'specification/resources/resource-manager/Microsoft.Authorization/policy/tspconfig.yaml', API Version: 2026-01-01-preview, SDK Release Type: beta, and CommitSHA: 'befd1687368facdf2e5f0878725c66107c2cd8d5' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6745144 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Configurations: 'specification/resources/resource-manager/Microsoft.Authorization/policy/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: 'e97a33424f6e7bce32dfc0b5d989a7485d586853' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6756037 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Configurations: 'specification/resources/resource-manager/Microsoft.Authorization/policy/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: 'fb93aacb4b6f5bcd058e6730b113f1fcdcba8157' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6767339 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> * Update otel dependencies (#48823) * Update otel dependencies * Align with upstream * Fix lint * Add CHANGELOG * Update CHANGELOG * [AutoPR azure-mgmt-computerecommender]-generated-from-SDK Generation - Python-6760677 (#48781) * Configurations: 'specification/compute/resource-manager/Microsoft.Compute/Recommender/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: 'e86fadcae9dc3552bf56d669d43716419080317e' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6754980 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Configurations: 'specification/compute/resource-manager/Microsoft.Compute/Recommender/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '3fbff828a405632668f197b4c30466a0b8dc2cef' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6756573 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Update CHANGELOG.md * Configurations: 'specification/compute/resource-manager/Microsoft.Compute/Recommender/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '397bf665c4d649b98bcfaf239c4b0a526301a03a' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6760677 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com> * Exporter release 1.0.0b57 (#48835) * [CI] Skip managment plane SDKs (#48836) * Skip managment plane SDKs. * Code review feedback. * Update apistub (#48839) * Cosmos: GA throughput buckets (#48838) * Update CHANGELOG.md * GA throughput buckets remove preview label on README * Update CHANGELOG.md * Update CHANGELOG.md * Pin GitHub Actions to full-length commit SHAs (#48801) * [AutoPR azure-mgmt-containerservice]-generated-from-SDK Generation - Python-6768970 (#48779) * Configurations: 'specification/containerservice/resource-manager/Microsoft.ContainerService/aks/tspconfig.yaml', API Version: 2026-06-02-preview, SDK Release Type: beta, and CommitSHA: 'fbe52aa85adfd4b8cdaf711e5a768e3107882b85' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6752501 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Configurations: 'specification/containerservice/resource-manager/Microsoft.ContainerService/aks/tspconfig.yaml', and CommitSHA: '036696689876be9b9eb9680494011244e41950d8' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6768970 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: FumingZhang <81607949+FumingZhang@users.noreply.github.com> Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com> * Sync .github/workflows directory with azure-sdk-tools for PR 16880 (#48846) * Sync .github/workflows directory with azure-sdk-tools repository for Tools PR 16880 * Pin SHA to azure-sdk-actions repo --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: Mike Harder <mharder@microsoft.com> * Reuse staged wheels and fail on input prompts. (#48840) * Remove the _MICROSOFT_AVAILABILITY_TEST_TIMESTAMP and rely on the LogRecord timestamp instead for Availability Data (#48841) * Remove the _MICROSOFT_AVAILABILITY_TEST_TIMESTAMP and rely on the LogRecord timestamp instead for Availability Data * Update CHANGELOG * Increment package version after release of azure-cosmos (#48850) Co-authored-by: azure-sdk <azuresdk@microsoft.com> * Install deps if needed. (#48851) * [ARH] Authorize package registry (#48852) * Install deps if needed. * Auth dev pipeline * Replace quoting with env variables. (#48855) * [Evaluation] Prepare azure-ai-evaluation 1.18.5 release (#48853) Stamp the 2026-09-02 release date and fold the unpublished 1.18.4 change into 1.18.5 so the notes cover the cumulative update from PyPI version 1.18.3. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * [identity] pin msal to < 1.38.0 (#48863) * pin msal * changelog * Sync .github/workflows directory with azure-sdk-tools repository (#48861) Co-authored-by: azure-sdk <azuresdk@microsoft.com> * Use 'none' environment for auto-release publish to skip manual approval gate (#48235) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c896e16a-4a37-45eb-9f29-3b5d0cf3375b * Howie/release (#48866) * Update version * Restore tsp-location.yaml * Update emitter skill for Python to deal with prerequisites (#47878) * change log (#47916) * [azure-ai-projects] Emit SDK from TypeSpec (commit fca510e0) (#47914) * Fix TypeSpec paths (#47959) * Remove sample_agent_toolbox_skill.py per bakcned folks and Linda request, add new hosted agent samples for Teams message trigger and reminder preview (#48234) * Remove sample_agent_toolbox_skill.py per bakcned folks and Linda request, add new hosted agent samples for Teams message trigger and reminder preview * change log * Re-emit from latest TypeSpec and do required updates (#48216) * Re-emit, to remove WebIQ tools (#48240) * update report * Updates in prep for a release of 2.4.0 (#48248) * Update rename tsp-location.yaml, so it does not break release build * change log (#48246) * Add sample toolboxes for synchronous and asynchronous AIProjectClient usage; update assets.json tag * Comment out additional sample tests in TestSamples class * Update to version 2.5.0 * Howie/sample 35 (#48310) * Refactor agent name retrieval to use a fallback mechanism - Updated multiple sample scripts to change the way the agent name is retrieved from environment variables. - Replaced the default value assignment using `os.environ.get("FOUNDRY_AGENT_NAME", "MyAgent")` with a more concise approach using `os.environ.get("FOUNDRY_AGENT_NAME") or "MyAgent"`. - This change ensures that if the environment variable is not set, the fallback value "MyAgent" is still used, while improving code readability. - The affected files include various agent tools and hosted agent samples across the project. * rever dataset generation job polling and update assistant prompt * change log (#48427) * Custom LRO pollers to enable easy access to Job ID (#48468) * Re-emit from latest TypeSpec commit (8-10-2026 17:16) (#48526) * update api.md files * Update public methods report. Delete other old report * Howie/reemit (#48608) * Add A2A protocol support and update related models - Introduced A2ATool and A2AToolboxTool classes for A2A protocol implementation. - Added A2AProtocolVersion enum to define supported A2A protocol versions. - Updated DataGenerationJobOptions to include SimulationSeedDataGenerationJobOptions and removed TaskGenerationDataGenerationJobOptions. - Modified existing models and enums to accommodate new A2A features. - Updated sample agent to utilize the new A2ATool class. - Adjusted beta routines API to remove unsupported parameters and enhance pagination handling. - Updated YAML configuration to reflect repository changes. * Update tsp-location.yaml with latest commit and repository details * Update sample_agent_to_agent.py skip reason in test_samples.py * Update CHANGELOG.md to include new A2A tools and breaking changes (#48626) * Remove deprecated multi-agent workflow samples and update evaluation … (#48795) * Add BetaAgentInsightMonitorsOperations and related functionality - Introduced `BetaAgentInsightMonitorsOperations` for managing agent insight monitors. - Updated `BetaOperations` to include the new agent insight monitors operations. - Removed outdated sample scripts for multi-agent workflows and MCP approval. - Updated evaluation samples to reflect changes in Azure SDK and improve functionality. - Adjusted role assignment parameters in evaluation samples for better clarity and structure. - Updated `tsp-location.yaml` to include new directories for agent insights and voice agents. * refactor: remove unnecessary RoleAssignmentProperties import in evaluation samples * refactor: remove VoiceAgents from agent feature headers in tests and implementation * refactor: remove VoiceAgents from non-beta optional test cases * feat: add new features for agent insight monitors and Microsoft 365 publishing * refactor: update RoleAssignment import and parameters format in evaluation samples * refactor: update RoleAssignment parameters to use dictionary format in RBAC assignment * feat: add multi-agent workflow samples with synchronous and asynchronous clients * feat: update CHANGELOG and public methods documentation for AgentInsight monitors and Microsoft 365 publishing --------- Co-authored-by: Darren Cohen <39422044+dargilco@users.noreply.github.com> * Sync .github/workflows directory with azure-sdk-tools for PR 16886 (#48864) * Only trigger on pull_request - Allows for simpler and more efficient checkout * Change runner from ubuntu-latest to ubuntu-slim --------- Co-authored-by: Mike Harder <mharder@microsoft.com> * Update npm lockfiles (#48871) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com> * Delete .github/workflows/typespec-python-regenerate.yml (#48874) * Bump version & changelog update (#48808) * Bump version to 1.36.0 * Update CHANGELOG for version 1.36.0 Updated version number from 1.35.0 to 1.36.0 and added release notes for features and bug fixes. * Prepare azure-ai-agentserver-invocations 1.2.0b1 release (#48877) Co-authored-by: Jin-Wu <wujin@microsoft.com> * [azure-ai-ml] Store tenant id in JobOperations to speed up jobs.list() iteration (#48760) * [azure-ai-ml] Cache tenant id in JobOperations to speed up jobs.list() iteration Fixes #48415. _append_tid_to_studio_url called credential.get_token() on every job during list() iteration to decode the tenant id from a JWT. TokenCredential.get_token is not cached, so AzureCliCredential shelled out to 'az account get-access-token' per job (~77s for 100 jobs in the issue vs ~13s without). The tenant id is stable for a JobOperations instance, so cache it on self._tid_cache after the first decode and reuse for subsequent jobs. No public API or wire change. * Add regression test for JobOperations tenant id cache Addresses Copilot review feedback on PR: asserts _append_tid_to_studio_url populates both jobs' Studio URLs with the tenant id while credential.get_token() is called exactly once. Existing tests only covered the no-services no-op path. * Apply black formatting to tid cache regression test Collapses the multi-line function signature and AccessToken constructor to single lines at the repo's 120-char line length, matching what black in the CI pipeline expects. * Rename tid_cache * [AutoPR azure-mgmt-servicefabricmanagedclusters]-generated-from-SDK Generation - Python-6768562 (#48819) * Configurations: 'specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/tspconfig.yaml', and CommitSHA: '44920c2ab894014c26ce4a61b0eb5483ecf48280' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6767794 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Update Service Fabric Managed Clusters changelog Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2e3615d9-62b8-4494-a517-9932780acb81 * Configurations: 'specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/tspconfig.yaml', and CommitSHA: 'f4d16444c4bf911d8017bfa1b92365aacef0d130' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6768562 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Update Service Fabric Managed Clusters changelog Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2e3615d9-62b8-4494-a517-9932780acb81 --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: Evan Waldmann <Waldmannevan@gmail.com> Co-authored-by: Evan Waldmann (from Dev Box) <evanwaldmann@microsoft.com> Copilot-Session: 2e3615d9-62b8-4494-a517-9932780acb81 * Fix issue where package info is missing or empty. (#48872) * Updating App Config test resources (#48769) * Updating App Config test resources * Update test_readiness.py * Apply batched suggestions from code review Co-authored-by: Yuan Qu <yuanqu@microsoft.com> * updating from review comments * Apply batched suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Updating samples * review items * Fixing provider tests * Update conftest.py * Fixing tests --------- Co-authored-by: Yuan Qu <yuanqu@microsoft.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Prepare azure-ai-agentserver-core 2.2.0b1 release (#48826) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix issue with filtering (#48884) * Code review feedback. * Code review feedback. * Add fix to skip marking management plane SDKs released. * Update otel dependencies (#48834) * Update otel dependencies * Bump min exporter version * Add shell toolbox sample (#48870) * feat: Enhance Agent Insights with content moderation and shell toolbox support - Added content-safety moderation support for custom request, response, and streaming invocation body formats. - Introduced `external_web_access` property to `WebSearchTool` and `WebSearchToolboxTool` for controlling internet access. - Implemented new `RaiInvocationModeration`, `RaiInvocationContentType`, and `RaiInvocationMode` models for enhanced invocation control. - Updated `BetaAgentInsightMonitorsOperations` to include an optional `operation_id` for idempotent retries. - Added sample demonstrating the use of a shell tool in a toolbox with a Prompt Agent. - Fixed Responses API instrumentation for streaming calls. - Updated changelog and API metadata for version 2.6.0. * fix: Update asset tag to reflect the latest version in assets.json * fix: Update agents header value to include ModelRouterControls in tests * fix: Update asset tag to reflect the latest version in assets.json * fix: Remove Foundry-Features header from toolbox creation * Update all eval models to GPT-5.4 (#48891) Co-authored-by: helen229 <gaoh@microsoft.com> --------- Co-authored-by: Rabah B <134166186+RabsB@users.noreply.github.com> Co-authored-by: Rabah B <rboubchir+microsoft@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: azure-sdk-automation[bot] <191533747+azure-sdk-automation[bot]@users.noreply.github.com> Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: Radhika Gupta <guptaradhika@microsoft.com> Co-authored-by: Matthew Boentoro <mattboentoro@yahoo.com> Co-authored-by: Matthew Boentoro <mboentoro@microsoft.com> Co-authored-by: Nathandrake229 <39689729+Nathandrake229@users.noreply.github.com> Co-authored-by: Naman Tyagi <namantyagi@microsoft.com> Co-authored-by: Libba Lawrence <llawrence@microsoft.com> Co-authored-by: efrainretana <141282336+efrainretana@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Travis Prescott <trpresco@microsoft.com> Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com> Co-authored-by: helen229 <gaoh@microsoft.com> Co-authored-by: Travis Prescott <tjprescott@users.noreply.github.com> Co-authored-by: jenny <63012604+JennyPng@users.noreply.github.com> Co-authored-by: Mohamed Hessien <mohessie@microsoft.com> Co-authored-by: M-Hietala <78813398+M-Hietala@users.noreply.github.com> Co-authored-by: Simon Moreno <30335873+simorenoh@users.noreply.github.com> Co-authored-by: Dan Fiedler <151573964+danfiedler-msft@users.noreply.github.com> Co-authored-by: FumingZhang <81607949+FumingZhang@users.noreply.github.com> Co-authored-by: Mike Harder <mharder@microsoft.com> Co-authored-by: Sydney Lister <103153180+slister1001@users.noreply.github.com> Co-authored-by: Ray Chen <raychen@microsoft.com> Co-authored-by: Darren Cohen <39422044+dargilco@users.noreply.github.com> Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: Chakradhar886 <v-cchakradha@microsoft.com> Co-authored-by: knit <knitvoger@gmail.com> Co-authored-by: Jin-Wu <wujin@microsoft.com> Co-authored-by: saanikaguptamicrosoft <gsaanika@gmail.com> Co-authored-by: Evan Waldmann <Waldmannevan@gmail.com> Co-authored-by: Evan Waldmann (from Dev Box) <evanwaldmann@microsoft.com> Co-authored-by: Matthew Metcalf <mrm9084@gmail.com> Co-authored-by: Yuan Qu <yuanqu@microsoft.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Shiva S <shivakishore14@gmail.com> Copilot-Session: 479d3ec4-1f89-49b1-bf00-5cecaf3c98b7 Copilot-Session: 6d678f27-b33c-41af-b188-c852375a8762 Copilot-Session: e079040f-c7f0-4ce9-ace2-24de36265fd7 Copilot-Session: c896e16a-4a37-45eb-9f29-3b5d0cf3375b Copilot-Session: 2e3615d9-62b8-4494-a517-9932780acb81
Summary
FOUNDRY_AGENT_SESSION_GUIDin hosted AgentServer configurationconversation_chain_idMotivation
Deleting a hosted session tombstones its durable task documents. Recreating the
same public session name currently derives the same task ID, so task creation can
return HTTP 409 while the prior tombstone remains. Agents Service now supplies a
new system-generated session GUID for each session incarnation.
Compatibility
Validation
Service dependency
Agents Service implementation: Vienna PR 2267233