feat(tasks): adopt canonical task statuses
This commit is contained in:
parent
da5aee6e38
commit
38835e9e79
61 changed files with 692 additions and 342 deletions
|
|
@ -252,7 +252,7 @@ async def patch_request_status(
|
|||
# Auto-unblock the blocking task
|
||||
if req.blocking_task_id:
|
||||
task = await session.get(Task, req.blocking_task_id)
|
||||
if task and task.status == "blocked":
|
||||
if task and task.status == "wait":
|
||||
task.status = "todo"
|
||||
task.blocking_reason = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue