summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorKousik Kumar <kousikk@google.com>2021-03-17 14:19:27 -0400
committerKousik Kumar <kousikk@google.com>2021-03-17 14:22:05 -0400
commitc3a22d8ebd740c76b7378e8ad1a94e9ee8bdefcc (patch)
treede8578c07b8cd4637e55b58589a4e115ba1c5888 /ui
parent45a497180892a47cd69758b9d9126b7c608485ce (diff)
Allowlist RBE_num_retries_if_mismatched variable
This variable tells reproxy the number of times an action that mismatches between local and remote-executions should be run remotely to determine if the action is inherently non-deterministic. An action is considered non-deterministic if the number of unique output digests we get from the remote-run is > 1. Bug: b/178842439 Change-Id: I0d50eed29b801be67a7ede9b25ce7f4535980f05
Diffstat (limited to 'ui')
-rw-r--r--ui/build/bazel.go1
-rw-r--r--ui/build/ninja.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/ui/build/bazel.go b/ui/build/bazel.go
index 81ce9397a..ec561d540 100644
--- a/ui/build/bazel.go
+++ b/ui/build/bazel.go
@@ -116,6 +116,7 @@ func runBazel(ctx Context, config Config) {
"RBE_exec_strategy",
"RBE_invocation_id",
"RBE_log_dir",
+ "RBE_num_retries_if_mismatched",
"RBE_platform",
"RBE_remote_accept_cache",
"RBE_remote_update_cache",
diff --git a/ui/build/ninja.go b/ui/build/ninja.go
index 893fd6db8..5961c4525 100644
--- a/ui/build/ninja.go
+++ b/ui/build/ninja.go
@@ -145,6 +145,7 @@ func runNinjaForBuild(ctx Context, config Config) {
"RBE_exec_strategy",
"RBE_invocation_id",
"RBE_log_dir",
+ "RBE_num_retries_if_mismatched",
"RBE_platform",
"RBE_remote_accept_cache",
"RBE_remote_update_cache",