liren zhang
06/17/2021, 3:35 PMStartFlowRun
to invoke individual flows in their defined orders. All the flows run in their own docker container. When master flow execution flow fails due to specific failed execution, it was not working. I read in docs and said that docker run does not yet support retaining results/inputs/outputs.
I read a thread here by @Kevin Kho and seemed to have suggested that PrefectResult may be a workaround if we don't care about the data we push to Prefect Cloud.
https://prefect-community.slack.com/archives/CL09KU1K7/p1622645858327700
I am not exactly sure how PrefectResult can be used in our scenario. Please help!Kevin Kho
Kevin Kho
liren zhang
06/18/2021, 3:08 PMretry
using the previous input value? How does this work behind the scene.Kevin Kho
Results
if checkpointing is on, which it is for Prefect Cloud. When a task is retried, it retrieves the upstream results needed.Kevin Kho
PrefectResult
specifically stored stuff on Cloudliren zhang
06/18/2021, 4:59 PMKevin Kho
Kevin Kho
liren zhang
06/18/2021, 5:20 PMretry
button from Prefect Cloud UI, how exactly Prefect bring back the previous inputs and continue the execution of the past flow run?liren zhang
06/18/2021, 5:21 PMKevin Kho
@task(result = S3Result(...))
and then when a re-run happens, it knows where to retrieve the output of upstream tasks as it continues the Flow.liren zhang
06/18/2021, 5:25 PMKevin Kho
StartFlowRun
task, the result is not the location of data unfortunately. This will be fixed later on but for now, it’s better to manually persist and retrieve for data dependencies between sub flow runsKevin Kho
Results
of StartFlowRun
tasks don’t propagate to downstream flow runs.liren zhang
06/18/2021, 5:40 PMKevin Kho
liren zhang
06/18/2021, 5:44 PMliren zhang
06/18/2021, 5:44 PMliren zhang
06/18/2021, 5:48 PM