← All tasks

State machine · task #75

Tasks2

Current place backlogged

Processes a task, retrying it after temporary errors until it completes or fails permanently.

Diagram
Transitions
start_process
new → processing
Starts processing a new task.
retry
backlogged → processing
Retries a backlogged task.
temp_error
processing → backlogged
Puts the task in the backlog after a temporary error, to retry it later.
permanent_error
processing → failed
Marks the task as failed after an error that a retry cannot fix.
complete_without_error
processing → completed
Marks the task as completed once it has been processed without error.
Marking

backlogged The task is backlogged due to a temporary error, waiting to be retried.

Stored in App\Entity\Task::$marking as the enum case TaskStep::Backlogged.