mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
As killing an executuion is asynchronous, it is inherently racy. So when we kill an execution it move to the rerminal state which then will remove any worker task result to purge eagerly the queue table. But if such worker task result arrives late and was not already processed by the executor, it will be purged before ever been able to be processed so the task would nevert be updated as KILLED. Note: this may un-flaky some falky unit tests Fixes https://github.com/kestra-io/kestra-ee/issues/6040