worker: track work as natural task steps

This commit is contained in:
2026-08-14 14:23:58 +09:00
parent 93eea24420
commit ecbd003579
8 changed files with 171 additions and 124 deletions
+3 -1
View File
@@ -3539,7 +3539,9 @@ mod completion_flow_tests {
arguments: args.into(),
});
}
assert!(app.task_store.tasks().is_empty());
let tasks = app.task_store.tasks();
assert_eq!(tasks.len(), 1);
assert_eq!(tasks[0].status, crate::task::TaskStatus::Completed);
}
#[test]