diff options
author | 2017-04-06 21:12:11 +0000 | |
---|---|---|
committer | 2017-04-07 11:17:40 +0200 | |
commit | 0ddda7899d8be0420130f5b963510434e35b7197 (patch) | |
tree | 0fa9f4e860ed982db2900851f5d0049a015b87a1 /src/main/java/com/google/devtools/build/lib/runtime/TerminalTestResultNotifier.java | |
parent | ee4c2525f58253813290e3d00d6d4c58167c51cc (diff) |
Move InvocationPolicy from a startup argument to part of the RunRequest proto.
The user interface is not changing. The policy will still be accepted as a flag passed to the client, as a startup flag (before the command), it will just no longer trigger server restarts and will not be passed on to a bazel server as part of the startup arguments. In batch mode, however, it will still be a startup argument, because the RunRequest proto is not sent, and all invocations restart bazel in batch mode anyway.
Since invocation policy only affects command arguments, and changes in command arguments do not cause server restarts, this is consistent with other server restart behavior.
RELNOTES: Changing --invocation_policy will no longer force a server restart.
PiperOrigin-RevId: 152426207
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/TerminalTestResultNotifier.java')
0 files changed, 0 insertions, 0 deletions