Skip to content

Migrate DurableTask module to TypeSpec - #29971

Draft
JiaSeng-v wants to merge 1 commit into
Azure:mainfrom
JiaSeng-v:jiaseng/main/typespec-DurableTask
Draft

Migrate DurableTask module to TypeSpec#29971
JiaSeng-v wants to merge 1 commit into
Azure:mainfrom
JiaSeng-v:jiaseng/main/typespec-DurableTask

Conversation

@JiaSeng-v

@JiaSeng-v JiaSeng-v commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Co-authored-by: Copilot <[REDACTED:email_address]>

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 53a680b3-e007-4d4d-9fd2-448f9dd96b4f
@JiaSeng-v JiaSeng-v added the TypeSpec Module generated from TypeSpec label Aug 7, 2026
Copilot AI lite review requested due to automatic review settings August 7, 2026 06:41
@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 1 pipeline(s).
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.

Pull request overview

This PR updates the Az.DurableTask module to support TypeSpec-based generation (replacing/removing prior AutoRest configuration artifacts) and refreshes associated generated metadata (manifest, solution references, and docs) accordingly.

Changes:

  • Added TypeSpec generation configuration (tspconfig.yaml, tsp-location.yaml) for DurableTask.
  • Updated module packaging/metadata files (module manifest, solution project GUID, generate-info).
  • Removed the prior AutoRest configuration block from the module README and updated help metadata.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/DurableTask/DurableTask/ChangeLog.md Adds an Upcoming Release entry noting the generator migration.
src/DurableTask/DurableTask/Az.DurableTask.psd1 Updates manifest metadata (generation date, Az.Accounts requirement, tags formatting, etc.).
src/DurableTask/DurableTask.sln Updates the Az.DurableTask project GUID references in the solution.
src/DurableTask/DurableTask.Autorest/tspconfig.yaml Introduces TypeSpec emitter configuration and generation directives.
src/DurableTask/DurableTask.Autorest/tsp-location.yaml Pins the TypeSpec source location (repo/commit/directory).
src/DurableTask/DurableTask.Autorest/README.md Removes the AutoRest YAML configuration section (needs TypeSpec-aligned replacement).
src/DurableTask/DurableTask.Autorest/Properties/AssemblyInfo.cs Updates assembly metadata but introduces license/header inconsistencies.
src/DurableTask/DurableTask.Autorest/generate-info.json Updates generation identifier.
src/DurableTask/DurableTask.Autorest/docs/Az.DurableTaskCmdlet.Design.md Removes the cmdlet design doc.
src/DurableTask/DurableTask.Autorest/docs/Az.DurableTask.md Updates help metadata (Module Guid).

Comment on lines 1 to 5
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the ""License"");
Comment on lines +25 to +27
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - MicrosoftDurableTask")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.1")]
Comment on lines +6 to +9
azure: true
module-version: 0.2.0
prefix: "Az"
subject-prefix: "DurableTask"
Comment on lines +17 to +23
directive:
- where:
parameter-name: SubscriptionId
set:
default:
script: "(Get-AzContext).Subscription.Id"
- where:
Comment on lines 22 to 24
## Development
For information on how to develop for `Az.DurableTask`, see [how-to.md](how-to.md).
<!-- endregion -->
Comment on lines 1 to 4
---
Module Name: Az.DurableTask
Module Guid: e19fbc46-d4cc-4da2-81d0-45535b1de2a0
Module Guid: 486f71cd-8f5a-4d18-b828-e0fd16915a6f
Download Help Link: https://learn.microsoft.com/powershell/module/az.durabletask
@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: email address
  • Replaced with typed [REDACTED:category] placeholders in: PR description
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@azure-client-tools-agent azure-client-tools-agent Bot added the azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent label Aug 7, 2026
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 3 pipeline(s).

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

Labels

azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent TypeSpec Module generated from TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants