-
Notifications
You must be signed in to change notification settings - Fork 58
Fixed TaskNodeInfo not being assigned properly for dynamic parent nodes #501
Fixed TaskNodeInfo not being assigned properly for dynamic parent nodes #501
Conversation
|
@MorpheusXAUT thanks for the fix here! Two questions: My test workflow is |
I was wondering the same, but didn't have time to investigate that yet. I can continue to do so tomorrow, I thought this might've been intentional, but I agree, it doesn't really make sense to show them, at least not in
Odd, it worked as intended for all my test runs, but I will check out your workflow tomorrow to see if there's something I missed, thanks for the example. Will update this when I know more! |
|
@hamersaw Strangely enough, your test workflow seems to be working as expected for me 🤔
Running locally as a single binary and the k3d cluster using the latest commit of the I'll see if I can reproduce your behavior while I continue working on the cache eviction (as that includes re-running a lot of workflows anyways during testing), but I'm not sure why we're seeing different outcome here. |
hamersaw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested again and everything works great! Not sure what I was doing the first time, thanks for looking into it a second (unnecessary) time!
I just submitted a PR to update the boilerplate which will increase the timeout on end2end tests. This seems to be causing the failure right now. Once we get that figured out, lets merge!
…mic parent nodes Signed-off-by: Nick Müller <nmueller@blackshark.ai>
14a1b00 to
26c0a17
Compare
…mic parent nodes (flyteorg#501) Signed-off-by: Nick Müller <nmueller@blackshark.ai> Signed-off-by: Nick Müller <nmueller@blackshark.ai>




TL;DR
dynamicNodeTaskNodeHandlernow properly modifies transition to propagateTaskNodeInfofor dynamic parent nodes.Type
Are all requirements met?
Complete description
While updating the transition of a dynamic sub-node, the
ExecutionInfo(in particular theTaskNodeInfocontaining metadata) about the cached outputs was not set on thehandler.Transitionproperly (assignment/returnwas missing). This lead to flyteadmin not recognising the cached output for dynamic task parent nodes.Additionally, the previous implementation dropped the
OutputInfoalready present on the transition.Tests were adapted in a minimal fashion to verify the expected
TaskNodeMetadatais returned on completion of sub nodes.Tracking Issue
fixes flyteorg/flyte#3096
Follow-up issue
NA