Are there any sanctioned/Pants-based mechanics to prevent a rule from running in parallel? I've got a race condition in my Rust plugin while running tests; where I think that multiple rule runners end up installing the toolchain at the same time, and
rustup
crashing out because of that.
gorgeous-winter-99296
10/26/2023, 8:45 AM
I guess the rule runner might be the problematic part here, actually... It wouldn't have global knowledge, which might actually be the root issue. Maybe.
Yeah. In this case I think my problem is that both all rule runners write to the same append-only cache anyways, or at least that's the way it looks like.