Lukas N.06/11/2021, 9:30 AM
iterations of the task, the result contains the output of the 4 iteration which is also the input to the 5th one. If the 5th one fails (in my case the process dies, stops sending 💓 ) the ZombieKiller restarts the task, but it ignores the result and starts from the 1st iteration! This doesn't happen if I restart it from the UI, there it correctly picks up the result and continues with 5th iteration.
(https://github.com/PrefectHQ/ui/blob/090f1f9ee6c382dd403f09e3851da48f8f61b86e/src/pages/FlowRun/Restart-Dialog.vue#L68-L71). The ZombieKiller does the same, but it sets their state to
(https://github.com/PrefectHQ/server/blob/0c89b914350f99dc829df9c4b9e3be070002fd86/src/prefect_server/services/towel/zombie_killer.py#L172-L178). Does these 2 states handle the result differently?
Jenny06/11/2021, 1:06 PM