• Mahmood Ali's avatar
    Respect alloc job version for lost/failed allocs · 5720266c
    Mahmood Ali authored
    This change fixes a bug where lost/failed allocations are replaced by
    allocations with the latest versions, even if the version hasn't been
    promoted yet.
    
    Now, when generating a plan for lost/failed allocations, the scheduler
    first checks if the current deployment is in Canary stage, and if so, it
    ensures that any lost/failed allocations is replaced one with the latest
    promoted version instead.
    5720266c