• Alex Dadgar's avatar
    Fix multiple tgs with progress deadline handling · 8615b1d5
    Alex Dadgar authored
    Fix an issue in which the deployment watcher would fail the deployment
    based on the earliest progress deadline of the deployment regardless of
    if the task group has finished.
    
    Further fix an issue where the blocked eval optimization would make it
    so no evals were created to progress the deployment. To reproduce this
    issue, prior to this commit, you can create a job with two task groups.
    The first group has count 1 and resources such that it can not be
    placed. The second group has count 3, max_parallel=1, and can be placed.
    Run this first and then update the second group to do a deployment. It
    will place the first of three, but never progress since there exists a
    blocked eval. However, that doesn't capture the fact that there are two
    groups being deployed.
    8615b1d5