From dae60ab7874f1e45307a85e095721b6166d82336 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 14 Oct 2024 16:34:33 +0200 Subject: [PATCH] fix: early RBE failure building Chromium (#656) --- src/utils/reclient.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/utils/reclient.js b/src/utils/reclient.js index 259f1e0..aaf3736 100644 --- a/src/utils/reclient.js +++ b/src/utils/reclient.js @@ -110,6 +110,13 @@ function reclientEnv(config) { RBE_experimental_credentials_helper_args: 'print', }; + // When building Chromium, don't fail early on local fallbacks + // as they are expected. + if (config.defaultTarget === 'chrome') { + reclientEnv.RBE_fail_early_min_action_count = 0; + reclientEnv.RBE_fail_early_min_fallback_ratio = 0; + } + const result = childProcess.spawnSync(reclientHelperPath, ['flags'], { stdio: 'pipe', });