Website: Documenting descriptions for Job and Task Statuses in the documentation webpage. #104214
@ -19,10 +19,12 @@ The following table shows the meaning of the different job statuses:
|
||||
| `cancel-requested` | Request for job cancellation raised by user | `canceled` |
|
||||
| `canceled` | Canceled by the user, job terminated immediately on all Workers | `queued` |
|
||||
| `requeueing` | Request for requeueing of job raised by user | `queued` |
|
||||
| `archiving` | Archiving job details | `archived` |
|
||||
| `archived` | Job details archived in history for future reference | `queued` |
|
||||
| `paused` | Not yet implemented | |
|
||||
|
||||
NOTE :
|
||||
- Requeueing a job after it is `completed` will requeue all its tasks.
|
||||
- Requeueing a job while it is being executed will requeue the pending tasks only. The `completed` tasks will not be requeued.
|
||||
|
||||
## Task Statuses
|
||||
|
||||
The following table shows the meaning of the different task statuses:
|
||||
@ -32,7 +34,7 @@ The following table shows the meaning of the different task statuses:
|
||||
| `queued` | Ready to be assigned to an available Worker | `active`, `canceled` |
|
||||
| `active` | Assigned to a Worker for execution | `completed`, `canceled`, `failed`, `soft-failed` |
|
||||
|
||||
| `completed` | Task executed succesfully | `queued` |
|
||||
| `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 | `queued`, `completed`, `failed`, `canceled` |
|
||||
| `failed` | Execution failed after multiple retries by different Workers | `queued`, `canceled` |
|
||||
| `canceled` | Canceled by the user, task terminated immediately | `queued` |
|
||||
| `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.