fn get_task_progress( task_progress: Arc<Mutex<RawMutex, HashMap<u64, Arc<TaskProgress>>>>, ) -> Vec<CompactTaskProgress>