DurableTask: Fix class naming#53622
Merged
berndverst merged 7 commits intoAzure:mainfrom Oct 31, 2025
Merged
Conversation
added 6 commits
October 31, 2025 14:51
This was referenced Oct 31, 2025
Contributor
There was a problem hiding this comment.
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.,
SchedulerResource→DurableTaskSchedulerResource) - Renamed model/data types consistently (e.g.,
SchedulerData→DurableTaskSchedulerData) - Renamed enum types (e.g.,
ProvisioningState→DurableTaskProvisioningState)
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 |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
kaibocai
approved these changes
Oct 31, 2025
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.