Describe the bug
If a task hasn't started yet, it should not be reported as running in the Gantt chart.
To Reproduce
Run a test script with num tasks >> num workers. Observe that in the gantt chart, all tasks will appear as 'running'. See the attached image; in this case, there were only two workers and 25 tasks.
Expected behavior
Tasks that haven't started yet should be reported as pending.
I think we just need to tweak this code here to report tasks as pending if task_time_running is None.
I'm working on the gantt chart of part of the lsst parsl fork to accomodate a big change how tasks/attempts at executing task are represented in the database. I'll try to address this as part of that.
Describe the bug If a task hasn't started yet, it should not be reported as running in the Gantt chart.
To Reproduce Run a test script with num tasks >> num workers. Observe that in the gantt chart, all tasks will appear as 'running'. See the attached image; in this case, there were only two workers and 25 tasks.
Expected behavior Tasks that haven't started yet should be reported as pending.
I think we just need to tweak this code here to report tasks as pending if
task_time_running
isNone
.