From f145d9d387b9e05c83abd4566abc7c6ff890d8f8 Mon Sep 17 00:00:00 2001 From: Sam Gammon Date: Sat, 17 Oct 2026 19:59:31 -0700 Subject: [PATCH] fix(rbe): pin BuildBuddy RBE to managed executors Set use-self-hosted-executors=false on the RBE platforms. Its default comes from the BuildBuddy org settings; with the org defaulting to self-hosted, every remote action failed to schedule with 'No registered executors in pool ""'. --- e2e/rbe/tools/platforms/BUILD.bazel | 5 +++++ tools/platforms/BUILD.bazel | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/e2e/rbe/tools/platforms/BUILD.bazel b/e2e/rbe/tools/platforms/BUILD.bazel index daffa36..163ed5a 100644 --- a/e2e/rbe/tools/platforms/BUILD.bazel +++ b/e2e/rbe/tools/platforms/BUILD.bazel @@ -13,6 +13,10 @@ # * test.EstimatedMemory gives JVM test actions headroom; BuildBuddy's default # sizing is too small for the JVM's -Xms reservation and trips # os::commit_memory. +# * use-self-hosted-executors=false pins actions to BuildBuddy's managed +# executor pool. Its default comes from the org settings, so when the org +# defaults to self-hosted, actions otherwise land in an empty self-hosted +# pool (`No registered executors in pool ""`). package(default_visibility = ["//visibility:public"]) platform( @@ -27,5 +31,6 @@ platform( "container-image": "docker://gcr.io/flame-public/rbe-ubuntu20-04@sha256:036ae8c90876fa22da9ace6f8218e614f4cd500a154fc162973fff691e72d28e", "network": "off", "test.EstimatedMemory": "1GB", + "use-self-hosted-executors": "false", }, ) diff --git a/tools/platforms/BUILD.bazel b/tools/platforms/BUILD.bazel index daffa36..163ed5a 100644 --- a/tools/platforms/BUILD.bazel +++ b/tools/platforms/BUILD.bazel @@ -13,6 +13,10 @@ # * test.EstimatedMemory gives JVM test actions headroom; BuildBuddy's default # sizing is too small for the JVM's -Xms reservation and trips # os::commit_memory. +# * use-self-hosted-executors=false pins actions to BuildBuddy's managed +# executor pool. Its default comes from the org settings, so when the org +# defaults to self-hosted, actions otherwise land in an empty self-hosted +# pool (`No registered executors in pool ""`). package(default_visibility = ["//visibility:public"]) platform( @@ -27,5 +31,6 @@ platform( "container-image": "docker://gcr.io/flame-public/rbe-ubuntu20-04@sha256:036ae8c90876fa22da9ace6f8218e614f4cd500a154fc162973fff691e72d28e", "network": "off", "test.EstimatedMemory": "1GB", + "use-self-hosted-executors": "false", }, )