Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: concurrent build and cache clean is unsafe #31948
Migrated from discussion in #31931.
If you start a build with
A sample failure looks like:
I am not sure that @jayconrod's second option would work: I believe the problem is that the clean deletes files previously created by this build, which the build is still relying on.
@jayconrod's first option would work as long as
We could address that by adding a second (
That would force a total order on the start of commands, but allow the