Skip to content

Fix two date-related bugs in critical path visualizer

Kev Kloss requested to merge kev/fix-date-bugs-in-crit-path-visualizer into main

This MR fixes two date-related bugs in the critical path visualizer gantt generator:

  1. startedAt is taking the maximum instead of the minimum, which it logically should, and
  2. finishedAt defaults to Infinity if a job is running, so we need to cap it to Date.now()
Edited by Kev Kloss

Merge request reports