Skip to content

DurableTask: Fix class naming#53622

Merged
berndverst merged 7 commits intoAzure:mainfrom
berndverst:fixDurableTaskClassNaming
Oct 31, 2025
Merged

DurableTask: Fix class naming#53622
berndverst merged 7 commits intoAzure:mainfrom
berndverst:fixDurableTaskClassNaming

Conversation

@berndverst
Copy link
Member

Reverts the class names back to the longer class names.

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

@berndverst berndverst requested a review from kaibocai as a code owner October 31, 2025 22:05
Copilot AI review requested due to automatic review settings October 31, 2025 22:05
@github-actions github-actions bot added Durable Task Scheduler Mgmt This issue is related to a management package. labels Oct 31, 2025
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 updates the Azure.ResourceManager.DurableTask SDK to use a new API specification from the official Azure repository. The changes primarily involve renaming types to add a "DurableTask" prefix for consistency and clarity, along with updating the TypeSpec location reference.

Key Changes:

  • Updated TypeSpec location to reference the official Azure repository instead of a personal fork
  • Renamed resource types to include "DurableTask" prefix (e.g., SchedulerResourceDurableTaskSchedulerResource)
  • Renamed model/data types consistently (e.g., SchedulerDataDurableTaskSchedulerData)
  • Renamed enum types (e.g., ProvisioningStateDurableTaskProvisioningState)

Reviewed Changes

Copilot reviewed 5 out of 75 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tsp-location.yaml Updated to point to official Azure REST API specs repository
Test files (TaskHubTests.cs, SchedulerTests.cs, RetentionPolicyTests.cs) Updated to use new type names with DurableTask prefix
Sample files Updated generated samples with new type names
Generated source files Comprehensive rename of all resource, data, and model types to include DurableTask prefix
Serialization files Updated serialization logic to work with renamed types
Extension and collection files Updated ARM extension methods and collection types

@github-actions
Copy link

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.ResourceManager.DurableTask

@berndverst berndverst merged commit 9817ff0 into Azure:main Oct 31, 2025
17 checks passed
nick863 pushed a commit that referenced this pull request Nov 5, 2025
* Revert "DurableTask: Class renaming for release (#53197)"

This reverts commit 151acd6.

* Revert "[Durable Task] Update class names for 1.0.0 release (#53192)"

This reverts commit cd5100f.

* Update Changelog

* Update TSP location

* Regenerate SDK

* Update scenario tests

* Export API

---------

Co-authored-by: Bernd Verst <beverst@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Durable Task Scheduler Mgmt This issue is related to a management package.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants