1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-24 16:36:46 +00:00
bramw_baserow/docs/assets/diagrams/job-workflow/job-states.mermaid

18 lines
486 B
Plaintext

%%{init: {'theme': 'base'}}%%
stateDiagram-v2
[*] --> pending: a job is scheduled
pending --> started: a job is picked by the worker
pending --> cancelled: a job is cancelled before started
started --> cancelled: a job is cancelled during the execution
started --> finished
started --> failed: an error during the executiuon
cancelled --> [*]
finished --> [*]
failed --> [*]
state ended {
cancelled
finished
failed
}