Vitor Avancini
07/03/2020, 2:53 PMjosh
07/03/2020, 3:04 PMset_task_run_states
in some capacity should do the trick (if you know the task run IDs) and outside of that there are a couple other methods you could use to avoid having to rerun parts of the flow again:
Using targets https://docs.prefect.io/core/idioms/targets.html to cache results of specific tasks would prevent them from having to rerun again even between registrations (given that the data at the target location still exists).
File-bases storage (which feeds into the Hot Reloading Flow concept) https://docs.prefect.io/core/idioms/file-based.html would prevent you from having to reregister your flow if an error occurred and instead would pull the updated code when restarting from failed in a flow run. (this is a new feature and still under development to be expanded to other storage options besides GitHub)Vitor Avancini
07/03/2020, 3:05 PM