feat(tasks): adopt canonical task statuses
This commit is contained in:
parent
da5aee6e38
commit
38835e9e79
61 changed files with 692 additions and 342 deletions
|
|
@ -30,11 +30,11 @@ class WorkstreamTotals(BaseModel):
|
|||
|
||||
|
||||
class TaskTotals(BaseModel):
|
||||
wait: int = 0
|
||||
todo: int = 0
|
||||
in_progress: int = 0
|
||||
blocked: int = 0
|
||||
progress: int = 0
|
||||
done: int = 0
|
||||
cancelled: int = 0
|
||||
cancel: int = 0
|
||||
total: int = 0
|
||||
|
||||
|
||||
|
|
@ -75,7 +75,8 @@ class StateSummary(BaseModel):
|
|||
totals: Totals
|
||||
topics: list[TopicWithWorkstreams]
|
||||
blocking_decisions: list[DecisionRead]
|
||||
blocked_tasks: list[TaskRead]
|
||||
waiting_tasks: list[TaskRead]
|
||||
blocked_tasks: list[TaskRead] = []
|
||||
recent_progress: list[ProgressEventRead]
|
||||
open_workstreams: list[WorkstreamWithDeps]
|
||||
next_steps: list[NextStep] = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue