[Core Feature/Bug] [flytekit] Make FlyteRemote work with nested executions #1482
Labels
bug
Something isn't working
enhancement
New feature or request
flytekit
FlyteKit Python related issue
Milestone
Motivation: Why do you think this is important?
FlyteRemote and its associated immutable objects (
FlyteTask
,FlyteWorkflow
, etc) currently do not support the notion of dynamic tasks that run subwfs/lps.Launch plan case
For example, running
where
yhprd5of0t
is an execution of this toy example results in this stack traceSubworkflow case
The subworkflow execution used was this toy example.
Calls to inspect this run:
n0
- http://localhost:30081/api/v1/node_executions/flytesnacks/development/ihd00cvlfm?limit=100Using the command
FLYTE_AWS_ENDPOINT=http://localhost:30084 FLYTE_AWS_ACCESS_KEY_ID=minio FLYTE_AWS_SECRET_ACCESS_KEY=miniostorage python c
wherec
containsthe stack trace generated was
This is coming from the node data call
The file is indeed missing:
however
s3://my-s3-bucket/metadata/propeller/flytesnacks-development-ihd00cvlfm/n0/data/0/dynamic-run-subwfs-n1/0/start-node/0/outputs.pb
is there, not sure if this is the file we should be looking for.The same issue as the Launch plan case is also present. The top level nodes under
n0
don't get an interface assigned because_get_node_execution_interface
is trying to match an auto-generated node id to the original workflow definition.The text was updated successfully, but these errors were encountered: