Improve the error message when concurrent modification occurs with --experimental_guard_against_concurrent_changes enabled #17173
Labels
bad error messaging
Issues where users get stuck because they don't understand what they did wrong
team-Remote-Exec
Issues and PRs for the Execution (Remote) team
type: feature request
untriaged
Description of the feature request:
The logging that occurs when concurrent modification of output files occurs when
--experimental_guard_against_concurrent_changes
is specified didn't jump out to me as the explanation for why my outputs weren't being uploaded to the remote cache. Adding a bit more explanation to the error message would have helped me identify the connection between these things, and is especially important since the plan is to make that flag the default behavior in a future version.What underlying problem are you trying to solve with this feature?
It wasn't obvious to me that the warning about a file that was modified during the build was the reason my build artifacts weren't being uploaded to the remote cache.
Which operating system are you running Bazel on?
gLinux
What is the output of
bazel info release
?experimental_guard_against_concurrent_changes
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: