You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve sub-workflow self-referencing bug in sync import
When parent and sub workflows belong to the same FormDefinition, the
import logic used .workflow (which returns .workflows.first()) to
resolve the sub-workflow reference, always picking the parent workflow
and producing a self-referencing SubWorkflowDefinition.
- Serialize sub_workflow_stage_names for disambiguation
- Add _resolve_sub_workflow() that excludes the parent and matches
by stage names when parent/sub share the same form
- All 580 existing tests pass
0 commit comments