Hi all, I've observed different restart behaviour ...
# prefect-server
l
Hi all, I've observed different restart behaviour from ZombieKiller and the UI. I have a task that uses LOOP signal and output persisting with S3Result. My expectation is that if I do
4/10
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.
Correct me if I'm wrong but I think the UI is restarting tasks by setting their state to
Pending
(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
Retrying
(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?
j
Hi @Lukas N. - I see your point here. It's expected behavior but if you think it would be useful to have Lazarus respect results, please open a ticket so we can consider for future.
👍 1