Allow enqueueing failed tasks

This commit is contained in:
clearml 2024-12-05 18:57:06 +02:00
parent ba928854e0
commit 50593f69f8

View File

@ -144,7 +144,12 @@ state_machine = {
TaskStatus.publishing, TaskStatus.publishing,
TaskStatus.stopped, TaskStatus.stopped,
}, },
TaskStatus.failed: {TaskStatus.created, TaskStatus.stopped, TaskStatus.published}, TaskStatus.failed: {
TaskStatus.created,
TaskStatus.stopped,
TaskStatus.published,
TaskStatus.queued,
},
TaskStatus.publishing: {TaskStatus.published}, TaskStatus.publishing: {TaskStatus.published},
TaskStatus.published: set(), TaskStatus.published: set(),
TaskStatus.completed: { TaskStatus.completed: {