-
Notifications
You must be signed in to change notification settings - Fork 284
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Nice test cleanup
async def restart_task(self, task_id: TaskId) -> None: | ||
task = RequestedTask.get(RequestedTask.task_id == task_id) | ||
task.status = TaskStatus.waiting | ||
task.save() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also discard the completed results?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are multiple ways of task restarts we wanna support
- restart just the failed subtasks - that's the one
- restart the whole task by creating a new one from scratch
- restart particular subtasks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, should we make issues for the other 2? Do we want to support all 3 from the first release?
Codecov Report
@@ Coverage Diff @@
## develop #4712 +/- ##
===========================================
- Coverage 90.27% 90.27% -0.01%
===========================================
Files 211 211
Lines 19676 19680 +4
===========================================
+ Hits 17763 17766 +3
- Misses 1913 1914 +1 |
e549dbc
to
a0febf1
Compare
No description provided.