• Jesse Gross's avatar
    runner: Release semaphore and improve error messages on failures · b2a46529
    Jesse Gross authored
    If we have an error after creating a new sequence but before
    finding a slot for it, we return without releasing the semaphore.
    This reduces our parallel sequences and eventually leads to deadlock.
    
    In practice this should never happen because once we have acquired
    the semaphore, we should always be able to find a slot. However, the
    code is clearly not correct.
    b2a46529
runner.go 23.2 KB