You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/runs.mdx
+10-15Lines changed: 10 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,30 +22,28 @@ A run can go through **various** states during its lifecycle. The following diag
22
22
23
23
Runs can also find themselves in lots of other states depending on what's happening at any given time. The following sections describe all the possible states in more detail.
24
24
25
-
### Initial States
25
+
### Initial states
26
26
27
-
<Iconicon="rectangle-history"iconType="solid"color="#FBBF24"size={17} /> **Waiting for deploy**:
28
-
If a task is triggered before it has been deployed, the run enters this state and waits for the task
The task is waiting for a version update because it cannot execute without additional information (task, queue, etc.).
30
29
31
30
<Iconicon="clock"iconType="solid"color="#878C99"size={17} /> **Delayed**: When a run is triggered
32
31
with a delay, it enters this state until the specified delay period has passed.
33
32
34
33
<Iconicon="rectangle-history"iconType="solid"color="#878C99"size={17} /> **Queued**: The run is ready
35
34
to be executed and is waiting in the queue.
36
35
37
-
### Execution States
36
+
<Iconicon="rectangle-history"iconType="solid"color="#878C99"size={17} /> **Dequeued**: The task has been dequeued and is being sent to a worker to start executing.
38
37
39
-
<Iconicon="spinner-third"iconType="duotone"color="#3B82F6"size={17} /> **Executing**: The task is
40
-
currently running.
38
+
### Execution states
41
39
42
-
<Iconicon="arrows-rotate"iconType="solid"color="#3B82F6"size={17} /> **Reattempting**: The task has
43
-
failed and is being retried.
40
+
<Iconicon="spinner-third"iconType="duotone"color="#3B82F6"size={17} /> **Executing**: The task is
41
+
currently being executed by a worker.
44
42
45
43
<Iconicon="hourglass"iconType="solid"color="#878C99"size={17} /> **Waiting**: You have used a
46
44
[triggerAndWait()](/triggering#yourtask-triggerandwait), [batchTriggerAndWait()](/triggering#yourtask-batchtriggerandwait) or a [wait function](/wait). When the wait is complete, the task will resume execution.
47
45
48
-
### Final States
46
+
### Final states
49
47
50
48
<Iconicon="circle-check"iconType="solid"color="#28BF5C"size={17} /> **Completed**: The task has successfully
51
49
finished execution.
@@ -54,16 +52,13 @@ finished execution.
54
52
by the user.
55
53
56
54
<Iconicon="circle-xmark"iconType="solid"color="#E11D48"size={17} /> **Failed**: The task has failed
57
-
to complete successfully.
55
+
to complete successfully due to an error in the task code.
58
56
59
57
<Iconicon="alarm-exclamation"iconType="solid"color="#E11D48"size={17} /> **Timed out**: Task has
60
58
failed because it exceeded its `maxDuration`.
61
59
62
60
<Iconicon="fire"iconType="solid"color="#E11D48"size={17} /> **Crashed**: The worker process crashed
63
-
during execution (likely due to an Out of Memory error).
64
-
65
-
<Iconicon="bolt-slash"iconType="solid"color="#E11D48"size={17} /> **Interrupted**: In development
66
-
mode, when the CLI is disconnected.
61
+
during execution (likely due to an Out of Memory error) and won’t be retried.
67
62
68
63
<Iconicon="bug"iconType="solid"color="#E11D48"size={17} /> **System failure**: An unrecoverable system
0 commit comments