Skip to content

Document Durable Task Scheduler client integration for Azure Functions#1160

Open
Copilot wants to merge 3 commits into
mainfrom
copilot/add-client-side-integration-docs
Open

Document Durable Task Scheduler client integration for Azure Functions#1160
Copilot wants to merge 3 commits into
mainfrom
copilot/add-client-side-integration-docs

Conversation

Copilot AI commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

This updates Azure Functions docs to cover the new Durable Task Scheduler client package introduced upstream, including the public client/worker registration APIs and configuration model. It also links host-side DTS setup guidance to the new client-side wiring documentation.

  • Client integration coverage (azure-functions-connect.mdx)

    • Added a new Durable Task Scheduler client integration section for Aspire.Microsoft.DurableTask.AzureManaged.
    • Documented the client/worker extension surface:
      • AddDurableTaskSchedulerWorker
      • AddKeyedDurableTaskSchedulerWorker
      • AddDurableTaskSchedulerClient
      • AddKeyedDurableTaskSchedulerClient
    • Added guidance on when to use this client integration vs AppHost resource modeling.
    • Included package install block and keyed registration examples.
  • Configuration + operational behavior

    • Documented DurableTaskSchedulerSettings and supported config paths:
      • ConnectionStrings:{connectionName}
      • Aspire:Microsoft:DurableTask:AzureManaged
      • Aspire:Microsoft:DurableTask:AzureManaged:{name}
    • Covered DisableHealthChecks and DisableTracing behavior for health/telemetry control.
  • End-to-end wiring + cross-link

    • Added a minimal AppHost + Program.cs flow showing AddDurableTaskScheduler(...) resource setup and client-side consumption.
    • Added a host-page cross-link from azure-functions-host.mdx DTS section to the new client integration section.
// Program.cs
builder.AddDurableTaskSchedulerWorker("taskhub", worker =>
{
    worker.AddTasks(tasks =>
    {
        tasks.AddOrchestrator<MyOrchestrator>();
        tasks.AddActivity<MyActivity>();
    });
});

// Client-only scenario:
builder.AddDurableTaskSchedulerClient("taskhub");

Copilot AI and others added 2 commits June 2, 2026 02:48
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Copilot AI changed the title [WIP] Add documentation for client-side integration package in Durable Task Scheduler Document Durable Task Scheduler client integration for Azure Functions Jun 2, 2026
Copilot AI requested a review from IEvangelist June 2, 2026 02:51
@IEvangelist IEvangelist marked this pull request as ready for review June 30, 2026 08:38
@IEvangelist IEvangelist requested a review from eerhardt as a code owner June 30, 2026 08:38
Copilot AI review requested due to automatic review settings June 30, 2026 08:38

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 Azure Functions integration documentation to include client/worker registration guidance for Durable Task Scheduler (DTS) via the new Aspire client integration package, and cross-links host-side DTS setup to this new client-facing section.

Changes:

  • Added a new “Durable Task Scheduler client integration” section to the Azure Functions runtime configuration page, including install instructions, end-to-end wiring, keyed registrations, and configuration options.
  • Documented configuration paths for DurableTaskSchedulerSettings, including connection string conventions and named/keyed overrides.
  • Added a cross-link from the Azure Functions AppHost page’s DTS section to the new client integration section.

Reviewed changes

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

File Description
src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx Adds a cross-link from host-side DTS setup to the new client/worker registration documentation.
src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-connect.mdx Adds the new DTS client integration documentation, including install and configuration guidance plus examples.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Durable Task Scheduler: add docs related to new client-side integration package

3 participants