Open Tom-Newton opened 4 days ago
@Tom-Newton , is this something that you could contribute?
@Tom-Newton , is this something that you could contribute?
I don't know when but I probably can
Thank you. I'm going to assign this to you, but in case you notice that you won't have time, please comment again and we can try to find someone to take a look, ok?
Describe the bug
With the following workflow
fails with
However
works as expected
Expected behavior
Should register the workflow successfully
Additional context to reproduce
The cause
The registration code assumes that the last entity registered is the top level one
https://github.com/flyteorg/flytekit/blob/8fdd0c68f10b9f08cd65aa74ef90f0d9af564dd2/flytekit/remote/remote.py#L890 However this assumption no longer holds when registering a task with a
node_dependency_hint
on a workflow. I guess we need to switch to retrieving the top level registered entity by ID instead of assuming.Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?