[release/13.4] Fix TypeScript AppHost async callback deadlock#17689
Conversation
Run the exported DistributedApplication.RunAsync capability on a background thread so startup callbacks invoked before the first await do not block StreamJsonRpc's non-concurrent synchronization context. Add an end-to-end TypeScript AppHost regression that recreates the lazy IOptions.Configure async callback pattern from #17487. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 17689Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 17689" |
|
✅ No documentation update needed. docs_optional → No gating signals fired (signal_count = 0, recommendation = The only source change is a single-line fix in |
Backport of #17575 to release/13.4
/cc @sebastienros @IEvangelist
Customer Impact
Testing
Risk
Regression?