Skip to content

Commit 818bfb8

Browse files
committed
task state change
1 parent e1870f3 commit 818bfb8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/data_parse.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,9 @@ def parse_debug_line(self, line):
462462
self.current_try_id[task_id] = 1
463463
elif "RUNNING (2) to RUNNING (2)" in line:
464464
raise ValueError(f"task {task_id} state change: from RUNNING (2) to RUNNING (2)")
465+
elif "RETRIEVED (4) to RUNNING (2)" in line:
466+
print(f"Warning: task {task_id} state change: from RETRIEVED (4) to RUNNING (2)")
467+
task.set_when_running(timestamp)
465468
elif "RUNNING (2) to WAITING_RETRIEVAL (3)" in line: # as expected
466469
task.set_when_waiting_retrieval(timestamp)
467470
# update the coremap

0 commit comments

Comments
 (0)