<#3202 Add LOCAL_DYNAMIC_TASK_EXECUTION mode> Pull...
# flyte-github
c
#3202 Add LOCAL_DYNAMIC_TASK_EXECUTION mode Pull request opened by pingsutw ## Tracking issue https://flyte-org.slack.com/archives/CP2HDHKE1/p1740432192774269 ## Why are the changes needed? When running the dynamic workflow locally, the subtask should return a promise/voidPromise instead of a Python value. ## What changes were proposed in this pull request? Add LOCAL_DYNAMIC_TASK_EXECUTION mode. Change the execution mode to
LOCAL_DYNAMIC_TASK_EXECUTION
when running the dynamic task locally. ## How was this patch tested? unit tests ### Setup process ### Screenshots ### Summary by Bito This PR introduces LOCAL_DYNAMIC_TASK_EXECUTION mode, updating flytekit's core components to support local dynamic task execution. Key changes in node_creation.py and promise.py modify execution state checks to utilize the new local mode. It also cleans up obsolete test functions and removes redundant dynamic task validations, streamlining the testing environment while enhancing reliability for local workflows. Unit tests added: True Estimated effort to review (1-5, lower is better): 1 flyteorg/flytekit