Project

Profile

Help

Issue #6590

closed

task_group API is missing details of progress reports

Added by dkliban@redhat.com about 4 years ago. Updated about 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

The Task Group API currently returns only the number of tasks in each state. Users of this API need to be able to easily determine the overall state of the Task Group. Users of this API would also like to be able to see progress reporting from the individual tasks summarized.

The TaskGroupSerializer should include a new field called 'state'. This field should be dynamically generated. The possible states are: waiting (if all tasks are waiting), running (if any tasks are running), failed (if all tasks are in a terminal state and any of them are in a failed state), completed (if all tasks are in a completed state ,or canceled (if the task group was canceled).

The progress reports from all the tasks associated with the task group should also be present. Any progress reports that have the same 'code' should be aggregated into one progress report - with the total and done fields summed.

Also available in: Atom PDF