Open jamil-s opened 6 months ago
I noticed that this happens whenever I try to use the --verbose
command-line flag. Deleting my ~/.cache/target-determinator directory and trying again didn't resolve the problem.
Interesting, I don't repro in some example repos - if it's possible for someone to put up an example repro that'd be really useful to debug what's going on here...
It is possible that I have accidentally reproduced the same issue. I prepared a sample repository with the reproduction here: https://github.com/Asdprom/bazel_sample.
target-determinator.windows.amd64.exe -verbose 85e36dae062b7676931786087d8a874daa92611c
fails, while
target-determinator.windows.amd64.exe 85e36dae062b7676931786087d8a874daa92611c
does not.
Additionally, I encountered some strange behavior. In the same repository, if I change the A.cc source file, the target determinator does not return any targets as changed. This is probably unrelated and might be due to some misconfiguration on my side.
When running target-determinator on a repo, I am seeing the error
TargetHashCache has already been frozen
There isn't much more information I can provide based on this limited output but happy to give anything requested if needed