artifact conflict error message can mislead #7658
Labels
bad error messaging
Issues where users get stuck because they don't understand what they did wrong
team-Core
Skyframe, bazel query, BEP, options parsing, bazelrc
type: bug
untriaged
My two actions can't be shared because they have different action keys. That information is in the error message, but the message is also claiming that the two action outputs are different. That information is spurious. (If you set
content = ''
inrule.bzl
, the build will work.) The problem is different notions of artifact equality. Action sharing only requires the exec paths of the output artifacts be identical. The error message, on the other hand, is computed by comparing the output (and input) artifacts using a stronger notion of artifact equality that includes the artifact owner.See #6272 for another issue related to debugging artifact equality.
The text was updated successfully, but these errors were encountered: