Open linzhp opened 5 years ago
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team (@bazelbuild/triage
). Thanks!
this would still be useful. can we reopen?
cc @bazelbuild/triage
Description of the problem / feature request:
Buck has the concept of rule keys, which we can obtain by running
buck targets --show-rulekey //...
. We'd love to see similar feature in Bazel.Feature requests: what underlying problem are you trying to solve with this feature?
We need to see what targets are changed, thus need to rebuilt and test, from one revision to another. In order to keep master green at scale, we need to build and test diffs in parallel. Getting the rule key for each target help us decide what diffs are independent and safe to build and test in parallel.