Skip to content

Commit 1b9c4bd

Browse files
committed
Updates the run statuses
1 parent 71ce3bf commit 1b9c4bd

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

docs/runs.mdx

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,28 @@ A run can go through **various** states during its lifecycle. The following diag
2222

2323
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.
2424

25-
### Initial States
25+
### Initial states
2626

27-
<Icon icon="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
29-
to be deployed.
27+
<Icon icon="rectangle-history" iconType="solid" color="#FBBF24" size={17} /> **Pending version**:
28+
The task is waiting for a version update because it cannot execute without additional information (task, queue, etc.).
3029

3130
<Icon icon="clock" iconType="solid" color="#878C99" size={17} /> **Delayed**: When a run is triggered
3231
with a delay, it enters this state until the specified delay period has passed.
3332

3433
<Icon icon="rectangle-history" iconType="solid" color="#878C99" size={17} /> **Queued**: The run is ready
3534
to be executed and is waiting in the queue.
3635

37-
### Execution States
36+
<Icon icon="rectangle-history" iconType="solid" color="#878C99" size={17} /> **Dequeued**: The task has been dequeued and is being sent to a worker to start executing.
3837

39-
<Icon icon="spinner-third" iconType="duotone" color="#3B82F6" size={17} /> **Executing**: The task is
40-
currently running.
38+
### Execution states
4139

42-
<Icon icon="arrows-rotate" iconType="solid" color="#3B82F6" size={17} /> **Reattempting**: The task has
43-
failed and is being retried.
40+
<Icon icon="spinner-third" iconType="duotone" color="#3B82F6" size={17} /> **Executing**: The task is
41+
currently being executed by a worker.
4442

4543
<Icon icon="hourglass" iconType="solid" color="#878C99" size={17} /> **Waiting**: You have used a
4644
[triggerAndWait()](/triggering#yourtask-triggerandwait), [batchTriggerAndWait()](/triggering#yourtask-batchtriggerandwait) or a [wait function](/wait). When the wait is complete, the task will resume execution.
4745

48-
### Final States
46+
### Final states
4947

5048
<Icon icon="circle-check" iconType="solid" color="#28BF5C" size={17} /> **Completed**: The task has successfully
5149
finished execution.
@@ -54,16 +52,13 @@ finished execution.
5452
by the user.
5553

5654
<Icon icon="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.
5856

5957
<Icon icon="alarm-exclamation" iconType="solid" color="#E11D48" size={17} /> **Timed out**: Task has
6058
failed because it exceeded its `maxDuration`.
6159

6260
<Icon icon="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-
<Icon icon="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.
6762

6863
<Icon icon="bug" iconType="solid" color="#E11D48" size={17} /> **System failure**: An unrecoverable system
6964
error has occurred.

0 commit comments

Comments
 (0)