• Ian Hickson's avatar
    Lock flutter tool while updating artifacts (#4476) · f92f71fe
    Ian Hickson authored
    This prevents multiple simultaneous runs of the analyzer from stomping
    over each other (e.g. multiple runs of 'update-packages'). Certain
    long-lived commands (like analyze, run, logs) are exempted once they've
    done enough work to be safe from most stomping action.
    
    This still doesn't make us entirely safe from craziness, e.g. if you're
    half way through an 'update-packages' run and you call 'git pull', who
    knows what state you'll end up in. But there's only so much one can do.
    
    Fixes https://github.com/flutter/flutter/issues/2762
    f92f71fe
test_async_utils_guarded_expectation.txt 1.98 KB