let finished_because_dependencies_died = function | `Finished {previous_state = (`Dependencies_failed _); _ } -> true | other -> false