-
Notifications
You must be signed in to change notification settings - Fork 692
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When running multiple function projects under Aspire (9.1.xxx as 9.3.xxx doesn't allow more than 1 function app to run due to existing issue)
I regularly see cross-contamination between storage accounts where the orchestration instances from 1 function app land in the storage account associated with another.
I will for example see the ...AgentHubHistory table populated in one storage account, but the ...AgentHubInstances table is empty.
I then see the instances pop up in a storage account related to one of the other function apps.
Makes it impossible to run multiple function apps reliably locally under Aspire.
Everything works fine when I run the function apps outside Aspire, either sharing one stg account (separate task hubs), or using multiple.
I noticed that Aspire doesn't run the function projects using "func", but uses "dotnet" directly. Unsure if related, but thought it worthwhile calling out.
This is in Rider.
Expected Behavior
Multiple Durable Function projects should be capable of running in Aspire and not affecting each other.
Steps To Reproduce
Create two Durable Function apps.
Pull them into Aspire.
Run them.
Exceptions (if any)
You see exceptions in the storage accounts about Orchestrations not existing in the projects.
.NET Version info
Running on dotnet 8 LTS.
Anything else?
No response