You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which works great as long as your workflows are just one level deep. In some instances, I'd like to start from a specific subworkflow task. Take the following example:
Running the whole workflow generates a task graph like this:
Like in my initial example, it's simple enough to launch from a child workflow:
python workflow.py child_b
But trying to start from a specific grandchild workflow results in no tasks being run at all:
python workflow.py child_b+grandchild_d
I'm guessing this is due to the way that pyflow builds its DAG. A grandchild task will not be added to the DAG if the child task is already marked as complete.
Any ideas on how I could extend pyflow to support this feature?
The text was updated successfully, but these errors were encountered:
Thanks for finding this issue and providing all the details. I won't be able to take a deep dive into this one anytime soon but it seems probable that child_b is being erroneously marked as complete, which would produce the behavior you describe. It's likely to be an issue in here:
Note you might want to try disabling the auto-continuation when you test this -- that wasn't the problem in this case but you could be building up a completion history which would complicate this test otherwise.
Pyflow has a nice option of starting from a particular task id when a workflow is run. eg,
Which works great as long as your workflows are just one level deep. In some instances, I'd like to start from a specific subworkflow task. Take the following example:
Where this workflow is launched as
Running the whole workflow generates a task graph like this:
Like in my initial example, it's simple enough to launch from a child workflow:
But trying to start from a specific grandchild workflow results in no tasks being run at all:
I'm guessing this is due to the way that pyflow builds its DAG. A grandchild task will not be added to the DAG if the child task is already marked as complete.
Any ideas on how I could extend pyflow to support this feature?
The text was updated successfully, but these errors were encountered: