graph: modify GetDependants to accept list of successful and failed jobs

cc @josephschorr
jubs -> jobs