Skip to content

Fix Durable Task emulator task hub dashboard URL - #20180

Open
Irakli Gabisonia (gabisonia) wants to merge 1 commit into
microsoft:mainfrom
gabisonia:fix/20173-durable-task-dashboard-url
Open

Irakli Gabisonia (gabisonia) wants to merge 1 commit into
microsoft:mainfrom
gabisonia:fix/20173-durable-task-dashboard-url

Conversation

@gabisonia

Copy link
Copy Markdown
Contributor

Description

Opening a Durable Task Scheduler emulator task hub from the Aspire dashboard currently redirects to an Add Endpoint dialog instead of the hub. Use the emulator's local/emulator identity and /orchestrations route so the generated link opens the task hub directly, while preserving the resolved endpoint and task hub name.

Fixes #20173

Example

For a hub named ZeusOrchestrationHub, the generated path changes from:

/subscriptions/default/schedulers/default/taskhubs/ZeusOrchestrationHub

to:

/subscriptions/local/schedulers/emulator/taskhubs/ZeusOrchestrationHub/orchestrations

Validation

  • All 19 DurableTaskResourceExtensionsTests passed. The three new emulator cases failed before the fix and cover default, custom, and parameter-based task hub names. An additional test covers existing schedulers.
  • Built an AppHost using the local source projects and ran the real Docker emulator on macOS ARM64. Chromium opened the generated URL directly on the task hub's Orchestrations page, with no endpoint configuration prompt or page errors; all observed API requests returned HTTP 200.

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20180

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20180"

@github-actions github-actions Bot added the area-integrations Issues pertaining to Aspire Integrations packages label Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Durable Task Scheduler emulator Task Hub dashboard URL uses incorrect default route

1 participant