Skip to content

DurableTask release 1.0.0b7 : Add experimental scheduler attach command#9677

Merged
necusjz merged 9 commits intoAzure:mainfrom
berndverst:schedulerAttach
Mar 15, 2026
Merged

DurableTask release 1.0.0b7 : Add experimental scheduler attach command#9677
necusjz merged 9 commits intoAzure:mainfrom
berndverst:schedulerAttach

Conversation

@berndverst
Copy link
Member


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Copilot AI review requested due to automatic review settings March 12, 2026 00:52
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Mar 12, 2026

⚠️Azure CLI Extensions Breaking Change Test
⚠️durabletask
rule cmd_name rule_message suggest_message
⚠️ 1001 - CmdAdd durabletask scheduler attach cmd durabletask scheduler attach added

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 12, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Contributor

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@github-actions
Copy link
Contributor

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

@github-actions
Copy link
Contributor

@berndverst
Copy link
Member Author

Could someone help merge and release this beta release please? It is ready for release any time.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR bumps the DurableTask extension to 1.0.0b7 and introduces an experimental az durabletask scheduler attach command to connect a Durable Task scheduler to an Azure Function App or Container App, along with improved table output formatting for scheduler/taskhub commands.

Changes:

  • Add experimental durabletask scheduler attach command (role assignment + app/env configuration).
  • Add custom table formatters for scheduler/taskhub create/show/list/update output.
  • Refactor custom command implementations into dedicated modules and bump extension version/history.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
src/durabletask/setup.py Bumps extension version to 1.0.0b7.
src/durabletask/HISTORY.rst Adds release notes for 1.0.0b7 (attach command + table output).
src/durabletask/azext_durabletask/custom.py Refactors custom command exports into separate modules.
src/durabletask/azext_durabletask/commands.py Wires up scheduler show/list + attach command and applies table transformers; adds taskhub command table formatting.
src/durabletask/azext_durabletask/_scheduler.py Implements attach_scheduler and scheduler create/update customizations.
src/durabletask/azext_durabletask/_retention_policy.py Moves retention-policy customizations into dedicated module.
src/durabletask/azext_durabletask/_params.py Adds CLI arguments for durabletask scheduler attach.
src/durabletask/azext_durabletask/_help.py Adds help text/examples for durabletask scheduler attach.
src/durabletask/azext_durabletask/_format.py Introduces table output formatters for scheduler/taskhub commands.

You can also share your feedback on Copilot code review. Take the survey.

@yonzhan yonzhan requested a review from necusjz March 12, 2026 03:03
@yonzhan yonzhan requested a review from jsntcy March 12, 2026 03:08
@necusjz
Copy link
Member

necusjz commented Mar 12, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Bernd Verst and others added 8 commits March 12, 2026 09:15
@berndverst
Copy link
Member Author

berndverst commented Mar 12, 2026

@necusjz can you rerun this? Previously this showed an azdev style error - but I cannot reproduce this locally and the failure also does not indicated what exactly is failing.

I rebase this PR to make sure to pick up the latest src/index.json just in case.

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 12, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@berndverst
Copy link
Member Author

@yonzhan can you please approve / merge and release :)

@necusjz necusjz merged commit b042454 into Azure:main Mar 15, 2026
24 checks passed
@azclibot
Copy link
Collaborator

[Release] Update index.json for extension [ durabletask-1.0.0b7 ] : https://dev.azure.com/msazure/One/_build/results?buildId=156850766&view=results

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.

6 participants