mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
## What changed? Modified `service/history/api/startworkflow/api.go` to first verify the parent-child relationship before terminating running child. ## Why? We need this verification since the parent overrides the ID reuse/conflict policies in reset runs. But by the time the parent gets to "restart" the child, that child could have been claimed by someone else. So we need to ensure that the currently running child was indeed started by the parent issuing this request. ## How did you test it? Manual tests. Will add functional tests in followup PRs. ## Potential risks N/A ## Documentation Documentation of the feature is pending. But the feature itself is in pre-release (gated behind a dynamic config) ## Is hotfix candidate? No