-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
While troubleshooting some non-deterministic results from target-determinator (will create a separate issue for that), I tried -compare-queries-around-analysis-cache-clear to rule out if this related to known cquery non-determinism.
It seems like -compare-queries-around-analysis-cache-clear always fails, regardless of the git revision and of -analysis-cache-clear-strategy. Can reproduce on this repo directly:
# same with -analysis-cache-clear-strategy shutdown or -analysis-cache-clear-strategy discard
$ bazel run --run_under="cd $PWD &&" //target-determinator -- -compare-queries-around-analysis-cache-clear HEAD~
...
2025/03/21 14:33:41 Processing revision 'before' (sha: a7ea46e567e5daa37925cddcafbc84ec3249bec1)
2025/03/21 14:33:41 Running cquery on deps(//...)
2025/03/21 14:33:42 Running cquery on //...
2025/03/21 14:33:42 Finding compatible targets under //...
2025/03/21 14:33:42 Matching labels to configurations
2025/03/21 14:33:42 Running cquery on deps(//...)
2025/03/21 14:33:43 Running cquery on //...
2025/03/21 14:33:43 Finding compatible targets under //...
2025/03/21 14:33:43 Matching labels to configurations
Target Determinator invocation Error
2025/03/21 14:33:43 failed to process change: failed to load metadata at revision 'before' (sha: a7ea46e567e5daa37925cddcafbc84ec3249bec1): inconsistent cquery results before and after analysis cache clear: MatchingTargetsReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels