Support DTS consumption plan and remove preview flag#4951
Merged
Conversation
- Add DurableTaskSchedulerSku enum (Consumption/Dedicated) - Add SKU prompt step to scheduler creation wizard (defaults to Consumption) - Pass SKU to createScheduler client method - Remove enablePreviewFeatures setting and all preview flag checks - Remove Preview label from DTS storage type picker Closes #4881
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Durable Task Scheduler (DTS) creation flow to support both Consumption and Dedicated SKUs (favoring Consumption), and removes the preview feature flag so DTS is broadly available.
Changes:
- Added a DTS SKU concept (
Consumption/Dedicated) and plumbed it into scheduler creation requests. - Added a SKU selection prompt step to the DTS “create scheduler” wizard and removed the preview-gate setting/checks.
- Updated UI/config contributions by removing the preview flag setting and related
whenconditions.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/tree/durableTaskScheduler/DurableTaskSchedulerClient.ts | Adds SKU enum + optional sku param and maps it to ARM request sku.name/capacity. |
| src/commands/durableTaskScheduler/createScheduler.ts | Adds SKU prompt step and removes preview feature gating logic. |
| src/commands/createFunction/durableSteps/DurableStorageTypePromptStep.ts | Removes preview labeling for the DTS durable storage option. |
| package.json | Removes preview setting + command visibility gating based on that setting. |
| package.nls.json | Removes localized string for the deleted preview setting. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
bwateratmsft
approved these changes
Mar 31, 2026
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.
Closes #4881
Summary
Adds a Consumption vs Dedicated SKU prompt when creating a Durable Task Scheduler, and removes the preview feature flag so DTS is available to all users.
Changes
DurableTaskSchedulerClient.ts— AddedDurableTaskSchedulerSkuenum (Consumption,Dedicated).createSchedulernow accepts an optionalskuparam (defaults toConsumption). Capacity is set to 0 for Consumption, 1 for Dedicated.createScheduler.ts— AddedSchedulerSkuStepprompt step that asks users to pick Consumption (default) or Dedicated. RemovedisDtsPreviewFeaturesEnabled()and the preview gate check.DurableStorageTypePromptStep.ts— Removed(Preview)label from the DTS option in the durable storage type picker.package.json— RemovedazureFunctions.durableTaskScheduler.enablePreviewFeaturessetting. Removed previewwhenconditions from the create scheduler command.package.nls.json— Removed the preview setting description string.