Artifact debug repr should include the owner #6272
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Rules-API
API for writing rules/aspects: providers, runfiles, actions, artifacts
type: feature request
As of bf4123d,
Artifact
equality takes the artifact owner into account. Since the Starlarkrepr
ofArtifact
only prints the execpath, it's possible to have two artifacts,a
andb
, that have the same execpath (and thus repr) but satisfya != b
. Unsurprisingly, this generates confusion–even for seasoned Blaze developers. Therefore, I propose including the owner in the output ofprint
ing an artifact.The text was updated successfully, but these errors were encountered: