cuddly-jelly-27016
03/08/2025, 1:22 AMpyflyte run on an eager task. Eager tasks are still tasks, which means their contents (i.e. what other flyte entities they call) are not known at compile time. This means that those tasks are not registered, and are registered instead at run-time, by the eager task itself. However FlyteRemote did not allow the eager controller to properly pass in the stored serialization settings.
Why the stop-gap qualification? This change is required regardless, but we should additionally change pyflyte run to detect an eager task target, not run the requested eager task, and instead run the corresponding workflow replete with the failure node/failure handler task.
## What changes were proposed in this pull request?
• Add a serialization_settings field to the remote.execute function and pass it downstream where appropriate (local entities)
## How was this patch tested?
Tested on sandbox and Union internal clusters.
### 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
This PR enhances serialization settings handling for eager tasks by adding an optional serialization_settings parameter across FlyteRemote and related modules. It includes improved documentation, code refactoring for default settings application, and test adjustments to address configuration propagation issues identified in #6070.
Unit tests added: True
Estimated effort to review (1-5, lower is better): 2
flyteorg/flytekitcuddly-jelly-27016
03/08/2025, 1:22 AMcuddly-jelly-27016
03/11/2025, 12:25 AM