Closed nytian closed 1 month ago
I would like to add a unit test for the change I made but I didn't find a appropriate file or test class for EntityDispatcher. So I only did the E2E test. Let me know if you guys have any idea about the testing. Thanks!
This PR fixes a bug where tags were incorrectly passed when entities scheduling orchestrations, causing entities to wrongly receive a
SubOrchestrationInstanceCompleted
message. By correcting the tag passing, this update ensures the intended fire-and-forget behavior of orchestration scheduling.Add error handling in TaskEntityDispatcher. If there is any unexpected events received by the dispatcher, throw error indicating that this is not expected and should be an issue.
Add unit test for TaskEntityDispatcher.