This should result I think in the aspect's action not being cached, but it is being cached. After a bazel clean my aspect's action is run again.
Using --execution_log_json_file to look at things more closely, I can see that with the above execution_requirements the cacheable: true and remoteable: true lines disappear from the action descriptions. Unfortunately as said above the actions are still cached.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Description of the problem / feature request:
In an
aspect
implementation, I am adding the followingexecution_requirements
to myrun_shell
action:This should result I think in the aspect's action not being cached, but it is being cached. After a
bazel clean
my aspect's action is run again.Using
--execution_log_json_file
to look at things more closely, I can see that with the aboveexecution_requirements
thecacheable: true
andremoteable: true
lines disappear from the action descriptions. Unfortunately as said above the actions are still cached.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Take the "Simple Example" from https://docs.bazel.build/versions/master/skylark/aspects.html
and modify it to add:
Run the aspect, then delete the
~/mytest.txt
file and run the aspect again. The action will not re-run and~/mytest.txt
won't be recreated.What operating system are you running Bazel on?
darwin
What's the output of
bazel info release
?release 1.0.0
Have you found anything relevant by searching the web?