:bazel-diff -- generate-hashes is not giving correct targets when changed something in build attribute .bzl file which imported in many BUILD files #227
Description
Hi,
I am using bazel run :bazel-diff -- generate-hashes --workspacePath="/home/jenkins/workspace/PROJECT" /home/jenkins/starting_hashes1.json
against a commit id to find out list of files and similarly running the same command to find the final_hashes.json file against a final commit after checking out the code git checkout "c41b43xxxxxxxxxx"
But i observed this is not returning correct targets when i run
bazel run :bazel-diff -- get-impacted-targets --startingHashes=/home/jenkins/starting_hashes.json --finalHashes=/home/jenkins/final_hashes.json --output=/home/jenkins/bazel_diff_impacted_targets.json
However i tried using --useCquery="true" while generating hashes hope it might give me correct file list but it is damn slow .
I am using bazel 7.3 .
Please suggest if anything can be done or missing?
Regards,
abcuser