Skip to content

[AutoPR azure-mgmt-durabletask]-generated-from-SDK Generation - Python-6977093 - #49563

Open
azure-sdk-automation[bot] wants to merge 4 commits into
mainfrom
sdkauto/azure-mgmt-durabletask-6962944
Open

azure-sdk-automation[bot] wants to merge 4 commits into
mainfrom
sdkauto/azure-mgmt-durabletask-6962944

Conversation

@azure-sdk-automation

@azure-sdk-automation azure-sdk-automation Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

SDK generation details

Note

This pull request was generated automatically.

Detail Value
TypeSpec source specification/durabletask/resource-manager/Microsoft.DurableTask/DurableTask/tspconfig.yaml at f1f7965
Pipeline run SDK Generation #6977093
Release plan Release plan #36992
Submitted by Bernd.Verst@microsoft.com

Important

Complete the SDK release prerequisites before release.

Copilot AI balanced review requested due to automatic review settings October 15, 2026 18:22
@azure-sdk-automation azure-sdk-automation Bot added the auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. label Oct 15, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
8 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The broad generated API expansion and serialization changes need human validation before approval.

2 open findings
What changed in this PR

Regenerates azure-mgmt-durabletask as version 1.2.0b1 for the 2026-07-01-preview management API.

Changes:

  • Adds diagnostics, failover, task queues, encryption management, and scheduler capabilities.
  • Refreshes generated clients, models, samples, and test scaffolding.
  • Requires Python 3.10+ and updates preview-release metadata.

Paths below are relative to sdk/durabletask/azure-mgmt-durabletask/.

File Description
tsp-location.yaml Updates TypeSpec source and commit.
README.md Updates Python requirements and Entra terminology.
pyproject.toml Sets beta status and Python 3.10 minimum.
generated_tests/​test_durable_task_mgmt_transparent_data_encryptions_operations.py Adds encryption test scaffolding.
generated_tests/​test_durable_task_mgmt_transparent_data_encryptions_operations_async.py Adds async encryption scaffolding.
generated_tests/​test_durable_task_mgmt_task_queues_operations.py Adds queue test scaffolding.
generated_tests/​test_durable_task_mgmt_task_queues_operations_async.py Adds async queue scaffolding.
generated_tests/​test_durable_task_mgmt_task_hubs_operations.py Adds capabilities to test payloads.
generated_tests/​test_durable_task_mgmt_task_hubs_operations_async.py Updates async capabilities payloads.
generated_tests/​test_durable_task_mgmt_schedulers_operations.py Adds identity and restart scaffolding.
generated_tests/​test_durable_task_mgmt_schedulers_operations_async.py Adds async identity and restart scaffolding.
generated_tests/​test_durable_task_mgmt_failover_instances_operations.py Adds failover test scaffolding.
generated_tests/​test_durable_task_mgmt_failover_instances_operations_async.py Adds async failover scaffolding.
generated_tests/​test_durable_task_mgmt_detectors_operations.py Adds detector test scaffolding.
generated_tests/​test_durable_task_mgmt_detectors_operations_async.py Adds async detector scaffolding.
generated_samples/​transparent_data_encryptions_list_by_scheduler_maximum_set_gen.py Adds encryption listing example.
generated_samples/​transparent_data_encryptions_get_maximum_set_gen.py Adds encryption retrieval example.
generated_samples/​transparent_data_encryptions_delete_maximum_set_gen.py Adds encryption deletion example.
generated_samples/​transparent_data_encryptions_create_or_replace_maximum_set_gen.py Adds encryption configuration example.
generated_samples/​task_queues_update.py Adds queue update example.
generated_samples/​task_queues_list_by_task_hub.py Adds queue listing example.
generated_samples/​task_queues_get.py Adds queue retrieval example.
generated_samples/​task_queues_delete.py Adds queue deletion example.
generated_samples/​task_queues_create_or_update.py Adds queue creation example.
generated_samples/​task_queues_create_or_update_minimum_set.py Adds minimal queue creation example.
generated_samples/​task_hubs_list_by_scheduler.py Updates source-version comment only.
generated_samples/​task_hubs_get.py Updates source-version comment only.
generated_samples/​task_hubs_delete.py Updates source-version comment only.
generated_samples/​task_hubs_create_or_update.py Demonstrates task-hub capabilities.
generated_samples/​schedulers_update.py Adds identity update payload.
generated_samples/​schedulers_restart.py Adds scheduler restart example.
generated_samples/​schedulers_list_by_subscription.py Updates source-version comment only.
generated_samples/​schedulers_list_by_resource_group.py Updates source-version comment only.
generated_samples/​schedulers_get.py Updates source-version comment only.
generated_samples/​schedulers_delete.py Updates source-version comment only.
generated_samples/​schedulers_create_or_update.py Demonstrates user-assigned identity.
generated_samples/​retention_policies_update_maximum_set_gen.py Updates source-version comment only.
generated_samples/​retention_policies_list_by_scheduler_maximum_set_gen.py Updates source-version comment only.
generated_samples/​retention_policies_get_maximum_set_gen.py Updates source-version comment only.
generated_samples/​retention_policies_delete_maximum_set_gen.py Updates source-version comment only.
generated_samples/​retention_policies_create_or_replace_maximum_set_gen.py Updates source-version comment only.
generated_samples/​private_link_resources_list_maximum_set_gen.py Updates source-version comment only.
generated_samples/​private_link_resources_get_maximum_set_gen.py Updates source-version comment only.
generated_samples/​private_endpoint_connections_update.py Updates source-version comment only.
generated_samples/​private_endpoint_connections_list_maximum_set_gen.py Updates source-version comment only.
generated_samples/​private_endpoint_connections_get_maximum_set_gen.py Updates source-version comment only.
generated_samples/​private_endpoint_connections_delete_maximum_set_gen.py Updates source-version comment only.
generated_samples/​private_endpoint_connections_create_maximum_set_gen.py Updates source-version comment only.
generated_samples/​operations_list.py Updates source-version comment only.
generated_samples/​failover_instances_list_by_scheduler_maximum_set_gen.py Adds failover listing example.
generated_samples/​failover_instances_get_maximum_set_gen.py Adds failover retrieval example.
generated_samples/​failover_instances_force_failover_allow_data_loss.py Adds forced failover example.
generated_samples/​failover_instances_failover.py Adds failover example.
generated_samples/​failover_instances_delete_maximum_set_gen.py Adds failover deletion example.
generated_samples/​failover_instances_create_or_replace_maximum_set_gen.py Adds failover configuration example.
generated_samples/​detectors_list_by_scheduler.py Adds detector listing example.
generated_samples/​detectors_get.py Adds detector retrieval example.
CHANGELOG.md Documents preview feature additions.
azure/​mgmt/​durabletask/​types.py Adds typed request dictionaries.
azure/​mgmt/​durabletask/​operations/​_patch.py Removes a blank line.
azure/​mgmt/​durabletask/​operations/​__init__.py Exports new operation groups.
azure/​mgmt/​durabletask/​models/​_patch.py Removes a blank line.
azure/​mgmt/​durabletask/​models/​_models.py Adds preview resource models and properties.
azure/​mgmt/​durabletask/​models/​_enums.py Adds preview feature enums.
azure/​mgmt/​durabletask/​models/​__init__.py Exports new models and enums.
azure/​mgmt/​durabletask/​aio/​operations/​_patch.py Removes a blank line.
azure/​mgmt/​durabletask/​aio/​operations/​__init__.py Exports new async operation groups.
azure/​mgmt/​durabletask/​aio/​_patch.py Removes a blank line.
azure/​mgmt/​durabletask/​aio/​_configuration.py Updates async API-version default.
azure/​mgmt/​durabletask/​aio/​_client.py Exposes new async operation groups.
azure/​mgmt/​durabletask/​_version.py Sets version 1.2.0b1.
azure/​mgmt/​durabletask/​_utils/​serialization.py Refreshes duration and scalar serialization.
azure/​mgmt/​durabletask/​_utils/​model_base.py Refreshes defaults, duration, and XML handling.
azure/​mgmt/​durabletask/​_patch.py Removes a blank line.
azure/​mgmt/​durabletask/​_configuration.py Updates API-version default.
azure/​mgmt/​durabletask/​_client.py Exposes new synchronous operation groups.
apiview-properties.json Updates cross-language API mappings.
api.metadata.yml Records API snapshot metadata.
_metadata.json Records preview API and generator versions.

🧠 Review effort: Balanced

Comment thread sdk/durabletask/azure-mgmt-durabletask/CHANGELOG.md
@ChenxiJiang333 Chenxi Jiang (ChenxiJiang333) added the mgmt-review-needed PR for Mgmt SDK is ready to review label Oct 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Management SDK PR review

Review completeness: complete. Advisory only; not approval to merge.

Findings: None.

Unverified checks

Unverified checks: None.

Breaking-change attribution

Package: sdk/durabletask/azure-mgmt-durabletask | Release: 1.2.0b1 (2026-10-15)

Breaking-change attribution: No newly added or modified entries.

Review summary

Package Completed checks
sdk/durabletask/azure-mgmt-durabletask Management package discovery; Version consistency _version.py
CHANGELOG.md; Preview version _version.py
_metadata.json; Changelog date CHANGELOG.md; Stability flags _version.py
pyproject.toml; Initial client name (not applicable: The trusted release baseline confirms a previously released package.) CHANGELOG.md; Client signature _client.py
_client.py; Client name consistency _client.py
_client.py
README.md
pyproject.toml; README snippets README.md
_client.py; API-version drift

Copilot AI balanced review requested due to automatic review settings October 16, 2026 06:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The preview API expansion and substantial generated runtime changes require human validation.

0 open findings

2 resolved since last review

🧠 Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 20, 2026 02:15
@azure-sdk-automation azure-sdk-automation Bot changed the title [AutoPR azure-mgmt-durabletask]-generated-from-SDK Generation - Python-6962944 [AutoPR azure-mgmt-durabletask]-generated-from-SDK Generation - Python-6977093 Oct 20, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The async client documentation advertises an API-version value that causes request serialization to fail.

No open issues 🎉

1 previously missed issue

In code that hasn't changed since last review

Medium severity Document the actual API version default

sdk/​durabletask/​azure-mgmt-durabletask/​azure/​mgmt/​durabletask/​aio/​_client.py:75

The async client documents None as the default API version, but aio/_configuration.py:52 defaults to "2026-07-01-preview" and preserves an explicitly supplied None. With api_version=None, iterating client.operations.list() passes that value to query serialization and raises ValueError: No value for given attribute before sending a request. Correct the documentation through the generation source and regenerate: state the actual default and do not advertise None as supported.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 20, 2026 02:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The async client documentation recommends an API-version value that causes operations to fail before sending requests.

No open issues 🎉

1 previously missed issue

In code that hasn't changed since last review

Medium severity Fix generated api_version documentation and regenerate

sdk/​durabletask/​azure-mgmt-durabletask/​azure/​mgmt/​durabletask/​aio/​_client.py:75

Passing the documented api_version=None preserves None in the async configuration. Calls such as await client.detectors.get(...) then raise ValueError in the API-version validator before sending a request. Omitting the option instead selects "2026-07-01-preview". Correct the generated docstring to state that default and remove None from the supported values; apply the correction through the generator and regenerate.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. mgmt-review-needed PR for Mgmt SDK is ready to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants