-
Notifications
You must be signed in to change notification settings - Fork 4.4k
UX: make --remote_download_output=minimal download the necessary files when invoking bazel run #11920
Description
Description of the problem / feature request:
When using remote build exection, calling bazel run sometarget --remote_download_output=minimal doesn't make sense: Bazel will not dowload all the files required to run sometarget.
I propose changing the behaviour of --remote_download_output=minimal to download files needed to run an action that is called with bazel run.
Feature requests: what underlying problem are you trying to solve with this feature?
I'm trying to improve the user experience of Bazel.
Not downloading the files needed to run a target passed to bazel run is never something that a user wants to do.
Any other information, logs, or outputs that you want to share?
I think the behavior would still be consistent with the meaning of --remote_download_output=minimal. The documentation says:
If set to 'minimal' doesn't download any remote build outputs to the local machine, except the ones required by local actions.
I believe it is fair to consider sometarget a local action when calling bazel run sometarget.