Website: Documenting descriptions for Job and Task Statuses in the documentation webpage. #104214
@ -5,6 +5,23 @@ weight: 5
|
|||||||
|
|
||||||
TODO: write about the pipeline from job submission to command execution.
|
TODO: write about the pipeline from job submission to command execution.
|
||||||
|
|
||||||
|
## Job Statuses
|
||||||
|
|
||||||
|
The following table shows the meaning of the different job statuses:
|
||||||
|
|
||||||
|
| Status | Meaning | Possible next status |
|
||||||
|
| ------------------------- | ------- | ----------- |
|
||||||
|
| `under-construction` | Preparing job for execution | `queued`, `active` |
|
||||||
|
| `queued` | Ready to be assigned to an available workers | `active`, `canceled` |
|
||||||
|
| `active` | Tasks assigned to workers for execution | `completed`, `canceled`, `failed` |
|
||||||
|
| `completed` | All tasks executed successfully | `requeued` |
|
||||||
|
| `failed` | Execution of one or more tasks failed after multiple retries by different workers | `???`, `???` |
|
||||||
|
| `cancel-requested` | Request for job cancellation raised by user | `canceled` |
|
||||||
|
| `canceled` | Canceled by the user, job terminated immediately on all workers | `requeued` |
|
||||||
|
| `requeueing` | Request for requeueing of job raised by user | `???`, `???` |
|
||||||
|
| `archiving` | Archiving job details | `???`, `???` |
|
||||||
|
| `archived` | Job details archived in history for future reference | `???`, `???` |
|
||||||
|
| `paused` | Not yet implemented | |
|
||||||
|
|
||||||
## Task Statuses
|
## Task Statuses
|
||||||
|
|
||||||
@ -12,8 +29,10 @@ The following table shows the meaning of the different task statuses:
|
|||||||
|
|
||||||
| Status | Meaning | Possible next status |
|
| Status | Meaning | Possible next status |
|
||||||
| ------------- | ------- | ----------- |
|
| ------------- | ------- | ----------- |
|
||||||
| `queued` | Ready to be worked on by a Worker | `active`, `canceled` |
|
| `queued` | Ready to be assigned to an available Worker | `active`, `canceled` |
|
||||||
| `active` | Assigned to a worker for execution | `completed`, `canceled`, `failed`, `soft-failed` |
|
| `active` | Assigned to a worker for execution | `completed`, `canceled`, `failed`, `soft-failed` |
|
||||||
|
| `completed` | Worker executed the task succesfully | `requeued` |
|
||||||
| `soft-failed` | Same as `queued`, but has been failed by a worker in an earlier execution | `completed`, `failed`, `canceled` |
|
| `soft-failed` | Same as `queued`, but has been failed by a worker in an earlier execution | `completed`, `failed`, `canceled` |
|
||||||
|
|||||||
| `completed` | Worker executed the task succesfully | `requeued` |
|
| `failed` | Execution failed after multiple retries by different workers | `requeued` |
|
||||||
|
| `canceled` | Canceled by the user, task terminated immediately | `requeued` |
|
||||||
| `paused` | Not yet implemented | |
|
| `paused` | Not yet implemented | |
|
||||||
|
Loading…
Reference in New Issue
Block a user
Another possible next status would be
queued
, as you can re-queue a job that has a mixture of task statuses, and after requeueing those should all go to eitherqueued
or remain atcompleted
.FYI: requeuing a job that's
completed
will requeue all its tasks. When that the job was not 100% complete yet, it will only requeue the not-yet-completed tasks, and leave the completed ones alone.Noted 👍 I will remove the
archive
andarchived
as requested.Can you elaborate on the following from your second comment :
It's not so clear here what I was referring to (compared to the old Phabricator-based review tool we used), my remark was purely about the
soft-failed
status.