* Optimize workflow definition sync lookups
Replace repeated linear scans in workflow definition synchronization with a single hash set lookup. This keeps the existing replacement behavior while avoiding quadratic work as the number of workflow definitions grows.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Stabilize bulk dispatch component test
Wait for child workflow completion through the workflow instance store instead of relying on in-memory event delivery, and avoid using the scheduled Delay activity for the fire-and-forget child workflow timing check.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Stabilize dispatch component test
Use persisted workflow instance state when waiting for fire-and-forget child workflow completion, and avoid scheduled Delay for the timing check.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add missing using for merge conflict resolution
Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>
* Remove unused bulk dispatch using
Drop an unnecessary using from the component test file so the PR branch has a new maintainer-authored head commit for CI.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>