<#3132 fix a bug where sync_execution is not calli...
# flyte-github
c
#3132 fix a bug where sync_execution is not calling itself recursively Pull request opened by bz38 Tracking issue N/A Why are the changes needed? There is currently a bug where the function does not recursively fetch executions on subworkflows when the subworkflow is a reference to a launch plan. Currently, it only fetch executions on launch plan only for the first layer and not deeper layer. E.g. Say if your execution reference launchPlanA. launchPlanA references launchPlanB. Currently, the
sync_nodes
only gets launchPlanA. What changes were proposed in this pull request? Fix the bug so that the
sync_nodes
is truly recursive. How was this patch tested? tested locally with a deeply nested workflow to confirm reference plans are fetched. Setup process Screenshots Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. Related PRs Docs link Summary by Bito Implementation of recursive synchronization for launch plans in nested workflows, fixing bugs in sync_execution functionality. Added proper handling of subworkflows, launch plans synchronization, and sync_nodes parameter. Modified remote test timeouts: first reduced from 600s to 60s, and second increased from 60s to 600s to accommodate deeply nested workflow synchronization. Improved documentation clarity and variable naming for better testing comprehension. Unit tests added: True Estimated effort to review (1-5, lower is better): 1 flyteorg/flytekit