Hey folks,
What’s the expected behaviour when there’s a cleanup task waiting on a set of tasks and one of the upstream task fails?
How does the overall state of the flow get resolved?
Code below to clarify this.
Copy code
@flow
def test_flow(nums: list = None):
test_futures = [square.submit(num) for num in nums]
return do_cleanup.submit(wait_for=test_futures)
In the above does do_cleanup get invoked or does the flow directly go into a failed state?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.