Repository navigation
[bp/1.39] test/bazel: Replace the RBE pool pins with measured per-configuration ones - #49321
Merged
Merged
Conversation
phlax
force-pushed
the
bp-1.39-rbe-pools
branch
14 times, most recently
from
November 17, 2026 16:21
01d37d8 to
048d142
Compare
Backport note: redone for this branch rather than picked (its BUILD files differ from main's), with the same mapping: `6gig` -> `linux_x64_small`, `2core` -> `linux_x64_medium`, `4core` -> `linux_x64_large`, including the `Pool` selects of `//test/common/router:corpus_from_config_impl` and the python integration test. The measured pins on top of this replace most of them. Signed-off-by: Ryan Northey <[email protected]>
phlax
force-pushed
the
bp-1.39-rbe-pools
branch
from
November 17, 2026 16:37
048d142 to
da4827f
Compare
… ones (v1.39) The release/v1.39 counterpart of envoyproxy#49078, regenerated from a measurement of release/v1.39 itself rather than picked: v1.39's targets and peaks differ from main's. Pins use the per-configuration `rbe_pool` spec of envoyproxy#49081, with the `link` pools and the `cto`, `openssl` and `fuzz_coverage` configurations of envoyproxy#49313 (both on this branch), on top of the canonical pool names of envoyproxy#46986 (the previous commit). Data: every CI job of release/v1.39 (with envoyproxy#49236's gcc-ci) run once in envoy-ci-staging#2173 (2026-11-16), every remote action on the large pool with the pins neutralised and every compile and link forced to execute, peak RSS from the EngFlow traces. That covers the opt, asan, tsan, msan, gcc, coverage, fuzz coverage, compile-time options and OpenSSL jobs, and the API, config, format, deps and release jobs (as `default`), including `//contrib/...`. Each pin is the smallest pool clearing the target's peak with 5% headroom for compiles, 10% for links and 20% for tests, for every configuration and action exactly: as envoyproxy#49313 has it, an action a spec does not name runs on the default pool, so a pool is named only where an action needs more, and a configuration that needs less than the target's `default` spec is spelled out too (with the `default` pool where it needs no more), so that no measured action asks for more than it measured. An action a configuration has no data for gets what the target's `default` configuration gets. Fuzz coverage is also an asan build, so where a target with no `default` spec has an asan pin that fuzz coverage does not need (`//test/mocks/http:http_mocks`, `//test/mocks/network:network_mocks`), its `fuzz_coverage` pool is spelled out as well. Generated with `rbe_report.py pins`, as envoyproxy#49315 is for main. The coverage links of 343 targets, the fuzz coverage links of 57, the tsan links of 7 (the big binaries: `envoy-static`, `config_test`, `router_check_tool`, `all_extensions_build_test`, `extra_extensions_test`, `server_fuzz_test` and `config_fuzz_test`, at 12.5-13.7GB) and the msan test of `//test/common/router:config_impl_test` (12.9GB) need more than the large pool (12GiB) with headroom; they are pinned to xlarge, each marked with its measured peak, so they no longer rely on EngFlow killing and retrying them on a larger pool. They should be brought down, but until then the pin says what they need. The fuzz coverage link of `//test/server:server_fuzz_test` (26.4GB) is over even xlarge with headroom, and is marked so. No compile needs more than large. Result: 200 pins added, 1503 changed, 60 removed (on `source/`: 9 removed, 1 changed). The loop-defined codec fuzz tests in `test/common/http` are pinned by hand from the measurement (their `_lib`s compile at ~3.3-3.9GB, 5.3GB with gcc, their tsan links at ~3.9GB, their fuzz coverage links at ~12.6GB). The router check, schema validator and config load check tools are pinned in `tools/`, where envoyproxy#49262 (on this branch) moved them. Tests pinned for CPU rather than memory keep their cores: the 55 tests on release/v1.39's `2core` and `4core` pools (envoyproxy#36784, envoyproxy#36837), renamed medium and large by the previous commit, have their test action on the smallest pool with at least those cores (medium ~2, large ~4: the actions a pool's RAM limit packs onto a machine) that fits their memory. Libraries that had such a pin are sized by memory only (a compile uses one core). Acceptance: CI traces show every action's used pool equal to its requested pool and no exit 137. Signed-off-by: Ryan Northey <[email protected]>
phlax
force-pushed
the
bp-1.39-rbe-pools
branch
from
November 17, 2026 18:40
da4827f to
f1fdbbf
Compare
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Pool sizing depends on unavailable EngFlow capacity and peak-action measurements, requiring human review of post-pin CI traces to confirm requested/used pool equality, CPU-sensitive test stability, and no exit 137 failures.
No open issues 🎉
What changed in this PR
Updates release/v1.39’s Bazel remote-execution pool assignments using branch-specific memory measurements. It builds on the stacked configuration- and action-aware scheduling support without changing Envoy’s runtime logic.
Changes:
- Replaces legacy pool names and broad pins with separate compile, link, and test assignments.
- Sizes pools by build configuration, including larger pools for memory-heavy coverage and sanitizer links.
- Removes unnecessary pins while preserving CPU-oriented test allocations.
| File | Description |
|---|---|
tools/schema_validator/BUILD |
Selects default and OpenSSL link pools. |
tools/router_check/BUILD |
Separates compile pools from configuration-specific link pools. |
tools/config_load_check/BUILD |
Selects default and OpenSSL link pools. |
test/tools/wee8_compile/BUILD |
Adds a large coverage-link pool. |
test/tools/type_whisperer/BUILD |
Replaces broad pin with coverage-link sizing. |
test/tools/schema_validator/test/BUILD |
Limits elevated allocation to coverage linking. |
test/tools/router_check/test/BUILD |
Removes shell-test pin and sizes C++ actions. |
test/mocks/upstream/BUILD |
Removes unused pins and narrows compile allocations. |
test/mocks/tcp/BUILD |
Restricts compile pin to GCC. |
test/mocks/stream_info/BUILD |
Restricts compile pin to GCC. |
test/mocks/router/BUILD |
Applies compile-only and GCC-specific pins. |
test/mocks/network/BUILD |
Sizes GCC/ASAN compiles with fuzz-coverage fallback. |
test/mocks/http/BUILD |
Sizes mock compiles and instrumented test links. |
test/mocks/grpc/BUILD |
Restricts compile pin to GCC. |
test/integration/python/BUILD |
Renames the two-core pool to canonical medium. |
test/integration/admin_html/BUILD |
Sizes server links and removes shell-test pin. |
test/fuzz/BUILD |
Removes library pin and sizes coverage linking. |
test/extensions/watchdog/profile_action/BUILD |
Limits elevated allocations to coverage links. |
test/extensions/upstreams/tcp/generic/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/upstreams/http/udp/BUILD |
Adds configuration-specific compile and link pools. |
test/extensions/upstreams/http/tcp/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/upstreams/http/reverse_tunnel/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/upstreams/http/generic/BUILD |
Adds lower-memory compile overrides and link pools. |
test/extensions/upstreams/http/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/udp_packet_writer/gso/BUILD |
Adds compile overrides and instrumented-link pools. |
test/extensions/udp_packet_writer/default/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/transport_sockets/tls/cert_validator/dynamic_modules/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/transport_sockets/tap/BUILD |
Sizes actions, including xlarge coverage linking. |
test/extensions/transport_sockets/internal_upstream/BUILD |
Sizes actions, including xlarge coverage linking. |
test/extensions/transport_sockets/common/BUILD |
Adds GCC compile and instrumented-link pools. |
test/extensions/tracers/opentelemetry/samplers/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/tracers/opentelemetry/resource_detectors/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/tracers/dynamic_modules/BUILD |
Adds measured compile and link allocations. |
test/extensions/tracers/datadog/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/stats_sinks/statsd/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/stats_sinks/graphite_statsd/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/stats_sinks/dog_statsd/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/stats_sinks/common/statsd/BUILD |
Sizes compile and coverage/TSAN link actions. |
test/extensions/router/cluster_specifiers/lua/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/retry/priority/previous_priorities/BUILD |
Adds GCC compile and instrumented-link pools. |
test/extensions/retry/host/previous_hosts/BUILD |
Sizes links, including xlarge integration coverage. |
test/extensions/retry/host/omit_host_metadata/BUILD |
Limits elevated allocations to instrumented links. |
test/extensions/retry/host/omit_canary_hosts/BUILD |
Limits elevated allocations to instrumented links. |
test/extensions/resource_monitors/fixed_heap/BUILD |
Limits elevated allocations to coverage links. |
test/extensions/resource_monitors/cpu_utilization/BUILD |
Adds coverage-link pools. |
test/extensions/resource_monitors/cgroup_memory/BUILD |
Adds coverage and TSAN link pools. |
test/extensions/request_id/uuid/BUILD |
Limits elevated allocations to instrumented links. |
test/extensions/rate_limit_descriptors/expr/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/quic/server_preferred_address/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/quic/connection_debug_visitor/quic_stats/BUILD |
Sizes links while preserving medium test allocation. |
test/extensions/path/uri_template_lib/BUILD |
Sizes coverage links, including xlarge fuzz linking. |
test/extensions/path/rewrite/uri_template/BUILD |
Limits elevated allocations to coverage links. |
test/extensions/path/match/uri_template/BUILD |
Limits elevated allocations to coverage links. |
test/extensions/network/dns_resolver/hickory/BUILD |
Sizes actions, including xlarge integration coverage. |
test/extensions/network/dns_resolver/getaddrinfo/BUILD |
Limits elevated allocation to coverage linking. |
test/extensions/network/dns_resolver/benchmark/BUILD |
Removes the benchmark’s broad pool pin. |
test/extensions/network/dns_resolver/apple/BUILD |
Limits elevated allocation to coverage linking. |
test/extensions/matching/network/common/BUILD |
Sizes compile and instrumented-link actions. |
test/extensions/matching/input_matchers/runtime_fraction/BUILD |
Separates compile and coverage/TSAN link pools. |
test/extensions/matching/input_matchers/metadata/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/matching/input_matchers/ip/BUILD |
Separates compile and coverage/TSAN link pools. |
test/extensions/matching/input_matchers/consistent_hashing/BUILD |
Separates compile and coverage/TSAN link pools. |
test/extensions/matching/input_matchers/cel_matcher/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/matching/http/dynamic_modules/BUILD |
Adds a coverage-link pool. |
test/extensions/matching/common_inputs/environment_variable/BUILD |
Limits elevated allocations to coverage links. |
test/extensions/matching/actions/transform_stat/BUILD |
Adds a coverage-link pool. |
test/extensions/matching/actions/format_string/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/local_address_selectors/filter_state_override/BUILD |
Adds a coverage-link pool. |
test/extensions/load_balancing_policies/load_aware_locality/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/load_balancing_policies/dynamic_modules/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/key_value/file_based/BUILD |
Sizes compile and coverage/TSAN link actions. |
test/extensions/io_socket/user_space/BUILD |
Sizes coverage links and GCC compile actions. |
test/extensions/internal_redirect/previous_routes/BUILD |
Limits elevated allocation to coverage linking. |
test/extensions/internal_redirect/BUILD |
Adds configuration-specific links and xlarge coverage. |
test/extensions/http/stateful_session/header/BUILD |
Sizes compile and instrumented-link actions. |
test/extensions/http/stateful_session/envelope/BUILD |
Sizes compile and instrumented-link actions. |
test/extensions/http/stateful_session/cookie/BUILD |
Sizes compile and instrumented-link actions. |
test/extensions/http/original_ip_detection/xff/BUILD |
Sizes compile and coverage/TSAN link actions. |
test/extensions/http/original_ip_detection/custom_header/BUILD |
Sizes compile and coverage/TSAN link actions. |
test/extensions/http/cache/simple_http_cache/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/http/cache/file_system_http_cache/BUILD |
Sizes cache-test compiles and coverage links. |
test/extensions/http/cache_v2/simple_http_cache/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/http/cache_v2/file_system_http_cache/BUILD |
Sizes cache-test compiles and coverage links. |
test/extensions/health_checkers/redis/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/health_checkers/dynamic_modules/BUILD |
Sizes compile and coverage/TSAN link actions. |
test/extensions/health_check/event_sinks/file/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/grpc_credentials/file_based_metadata/BUILD |
Adds compile overrides and xlarge coverage linking. |
test/extensions/geoip_providers/maxmind/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/formatter/xfcc_value/BUILD |
Sizes unit-test actions and fuzz-coverage linking. |
test/extensions/formatter/req_without_query/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/formatter/cel/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/udp/udp_proxy/session_filters/BUILD |
Limits elevated allocations to instrumented links. |
test/extensions/filters/network/zookeeper_proxy/BUILD |
Sizes compile and instrumented-link actions. |
test/extensions/filters/network/thrift_proxy/filters/ratelimit/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/network/thrift_proxy/filters/header_to_metadata/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/network/thrift_proxy/filters/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/network/tcp_proxy/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/network/sni_cluster/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/network/set_filter_state/BUILD |
Adds configuration-specific links and xlarge coverage. |
test/extensions/filters/network/reverse_tunnel/drain_aware_hcm/BUILD |
Adds compile overrides and instrumented-link pools. |
test/extensions/filters/network/ratelimit/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/network/generic_proxy/mocks/BUILD |
Restricts compile pin to GCC. |
test/extensions/filters/network/generic_proxy/codecs/http1/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/network/generic_proxy/codecs/dubbo/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/network/echo/BUILD |
Adds configuration-specific links and xlarge coverage. |
test/extensions/filters/network/direct_response/BUILD |
Sizes actions, including xlarge integration coverage. |
test/extensions/filters/network/common/redis/BUILD |
Sizes instrumented links and GCC compiles. |
test/extensions/filters/listener/common/fuzz/BUILD |
Restricts library compile pins to GCC. |
test/extensions/filters/http/set_metadata/BUILD |
Sizes actions, including xlarge coverage linking. |
test/extensions/filters/http/set_filter_state/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/http/proto_message_extraction/extraction_util/BUILD |
Limits elevated allocation to coverage linking. |
test/extensions/filters/http/proto_api_scrubber/scrubbing_util_lib/BUILD |
Adds compile and instrumented-link pools. |
test/extensions/filters/http/header_to_metadata/BUILD |
Sizes compile and instrumented-link actions. |
test/extensions/filters/http/grpc_field_extraction/message_converter/BUILD |
Limits elevated allocations to coverage links. |
test/extensions/filters/http/ext_proc/unit_test_fuzz/BUILD |
Sizes fuzz actions, including xlarge coverage linking. |
test/extensions/filters/http/credential_injector/BUILD |
Sizes compile and instrumented-link actions. |
test/extensions/filters/http/common/fuzz/BUILD |
Separates library compiles and heavy fuzz links. |
test/extensions/filters/http/bandwidth_limit/BUILD |
Sizes compile and instrumented-link actions. |
test/extensions/filters/http/adaptive_concurrency/controller/BUILD |
Limits elevated allocation to coverage linking. |
test/extensions/filters/common/set_filter_state/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/common/ratelimit/BUILD |
Limits elevated allocations to instrumented links. |
test/extensions/filters/common/ratelimit_config/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/common/original_src/BUILD |
Adds GCC compile and instrumented-link pools. |
test/extensions/filters/common/mutation_rules/BUILD |
Limits elevated allocation to coverage linking. |
test/extensions/filters/common/lua/BUILD |
Sizes coverage/TSAN links and GCC compiles. |
test/extensions/filters/common/local_ratelimit/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/filters/common/fault/BUILD |
Limits elevated allocation to coverage linking. |
test/extensions/dynamic_modules/BUILD |
Adds action-specific pools for module tests. |
test/extensions/content_parsers/json/BUILD |
Adds compile and coverage/TSAN link pools. |
test/extensions/config_subscription/rest/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/config_subscription/filesystem/BUILD |
Limits elevated allocation to coverage linking. |
test/extensions/config_subscription/common/BUILD |
Adds compile and configuration-specific link pools. |
test/extensions/compression/zstd/decompressor/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/compression/zstd/compressor/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/compression/zstd/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/compression/gzip/decompressor/BUILD |
Limits elevated allocation to coverage linking. |
test/extensions/compression/gzip/compressor/BUILD |
Limits elevated allocation to coverage linking. |
test/extensions/compression/gzip/BUILD |
Adds TSAN and xlarge fuzz-coverage link pools. |
test/extensions/compression/brotli/decompressor/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/compression/brotli/compressor/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/common/tap/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/common/redis/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/common/proxy_protocol/BUILD |
Sizes instrumented links and GCC compiles. |
test/extensions/common/dynamic_forward_proxy/BUILD |
Sizes compile and coverage/TSAN link actions. |
test/extensions/common/aws/eventstream/BUILD |
Adds unit-test and fuzz-coverage link pools. |
test/extensions/common/async_files/BUILD |
Limits elevated allocations to coverage links. |
test/extensions/clusters/reverse_connection/BUILD |
Adds measured pools and renames manual-test pin. |
test/extensions/clusters/original_dst/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/clusters/logical_dns/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/clusters/eds/BUILD |
Sizes test actions and benchmark compiles. |
test/extensions/clusters/dynamic_forward_proxy/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/bootstrap/reverse_tunnel/common/BUILD |
Adds GCC compile and instrumented-link pools. |
test/extensions/access_loggers/wasm/BUILD |
Adds configuration-specific links and xlarge coverage. |
test/extensions/access_loggers/stream/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/access_loggers/filters/cel/BUILD |
Adds compile and instrumented-link pools. |
test/extensions/access_loggers/file/BUILD |
Separates compile and instrumented-link pools. |
test/extensions/access_loggers/common/BUILD |
Limits elevated allocations to instrumented links. |
test/config_test/BUILD |
Separates library compiles and configuration-specific links. |
test/common/websocket/BUILD |
Limits elevated allocation to coverage linking. |
test/common/watchdog/BUILD |
Limits elevated allocations to coverage links. |
test/common/tls/ocsp/BUILD |
Limits elevated allocations to coverage links. |
test/common/thread_local/BUILD |
Limits elevated allocation to coverage linking. |
test/common/tcp/BUILD |
Adds compile overrides and instrumented-link pools. |
test/common/ssl/matching/BUILD |
Sizes compile and instrumented-link actions. |
test/common/singleton/BUILD |
Limits elevated allocations to coverage links. |
test/common/signal/BUILD |
Limits elevated allocations to coverage links. |
test/common/shared_pool/BUILD |
Limits elevated allocation to coverage linking. |
test/common/secret/BUILD |
Sizes compile and coverage/TSAN link actions. |
test/common/runtime/BUILD |
Sizes measured actions and removes unused pins. |
test/common/rds/BUILD |
Separates compile and instrumented-link pools. |
test/common/quic/platform/BUILD |
Limits elevated allocation to coverage linking. |
test/common/orca/BUILD |
Sizes instrumented links, including xlarge fuzz coverage. |
test/common/network/dns_resolver/BUILD |
Adds GCC compile and instrumented-link pools. |
test/common/memory/BUILD |
Limits elevated allocations to coverage links. |
test/common/matcher/actions/BUILD |
Separates compile and instrumented-link pools. |
test/common/local_reply/BUILD |
Separates compile and instrumented-link pools. |
test/common/local_info/BUILD |
Limits elevated allocation to coverage linking. |
test/common/json/wuffs_json/BUILD |
Adds a coverage-link pool. |
test/common/io/BUILD |
Sizes compile and coverage/TSAN link actions. |
test/common/init/BUILD |
Limits elevated allocations to coverage links. |
test/common/http/sse/BUILD |
Adds unit-test and fuzz-coverage link pools. |
test/common/http/matching/BUILD |
Limits elevated allocations to coverage links. |
test/common/http/http3/BUILD |
Separates compile and instrumented-link pools. |
test/common/html/BUILD |
Limits elevated allocation to coverage linking. |
test/common/filter/BUILD |
Sizes compiles, links, and MSAN test execution. |
test/common/filesystem/BUILD |
Limits elevated allocations to coverage links. |
test/common/event/BUILD |
Limits elevated allocations to coverage links. |
test/common/crypto/BUILD |
Sizes unit-test and fuzz-coverage links. |
test/common/conn_pool/BUILD |
Limits elevated allocations to instrumented links. |
test/common/api/BUILD |
Limits elevated allocation to coverage linking. |
test/common/access_log/BUILD |
Adds compile and configuration-specific link pools. |
source/server/config_validation/BUILD |
Removes the server library’s broad pin. |
source/server/BUILD |
Removes the server-base library’s broad pin. |
source/exe/BUILD |
Sizes executable links and removes library pins. |
source/common/upstream/BUILD |
Removes broad upstream-library pins. |
source/common/listener_manager/BUILD |
Removes the listener-manager library’s broad pin. |
source/common/formatter/BUILD |
Removes the stream-info formatter’s broad pin. |
contrib/tap_sinks/udp_sink/test/BUILD |
Applies compile-only small-pool allocations. |
contrib/sxg/filters/http/test/BUILD |
Replaces broad pins with compile-only allocations. |
contrib/stat_sinks/wasm_filter/test/BUILD |
Replaces broad pin with compile-only allocation. |
contrib/sip_proxy/filters/network/test/BUILD |
Replaces broad pins with compile-only allocations. |
contrib/reverse_tunnel_reporter/test/reporters/BUILD |
Adds a compile-only small-pool allocation. |
contrib/reverse_tunnel_reporter/test/clients/BUILD |
Adds compile-only small-pool allocations. |
contrib/qat/private_key_providers/test/BUILD |
Replaces broad pins with compile-only allocations. |
contrib/qat/compression/qatzstd/compressor/test/BUILD |
Replaces broad pin with compile-only allocation. |
contrib/qat/compression/qatzip/compressor/test/BUILD |
Replaces broad pin with compile-only allocation. |
contrib/postgres_proxy/filters/network/test/BUILD |
Replaces broad pin with compile-only allocation. |
contrib/postgres_inspector/filters/listener/test/BUILD |
Adds compile-only small-pool allocations. |
contrib/peak_ewma/load_balancing_policies/test/BUILD |
Adds a compile-only small-pool allocation. |
contrib/peak_ewma/filters/http/test/BUILD |
Adds compile-only small-pool allocations. |
contrib/mysql_proxy/filters/network/test/BUILD |
Replaces broad pins with compile-only allocations. |
contrib/language/filters/http/test/BUILD |
Replaces broad pins with compile-only allocations. |
contrib/kafka/stat_sinks/test/BUILD |
Removes one pin and narrows another to compilation. |
contrib/kafka/filters/network/test/mesh/BUILD |
Replaces broad pins with compile-only allocations. |
contrib/kafka/filters/network/test/broker/BUILD |
Applies compile-only small-pool allocations. |
contrib/kafka/filters/network/source/BUILD |
Removes the response parser’s broad pin. |
contrib/istio/filters/network/metadata_exchange/test/BUILD |
Adds a compile-only small-pool allocation. |
contrib/istio/filters/http/peer_metadata/test/BUILD |
Adds compile-only small-pool allocations. |
contrib/istio/filters/http/istio_stats/test/integration/BUILD |
Adds a compile-only small-pool allocation. |
contrib/istio/filters/http/alpn/test/BUILD |
Adds compile-only small-pool allocations. |
contrib/istio/filters/common/test/BUILD |
Adds compile-only small-pool allocations. |
contrib/hyperscan/regex_engines/test/BUILD |
Replaces broad pins with compile-only allocations. |
contrib/hyperscan/matching/input_matchers/test/BUILD |
Replaces broad pin with compile-only allocation. |
contrib/golang/upstreams/http/tcp/test/BUILD |
Separates compilation while preserving medium test allocation. |
contrib/golang/router/cluster_specifier/test/BUILD |
Replaces broad pin with compile-only allocation. |
contrib/golang/filters/network/test/BUILD |
Replaces broad pins with compile-only allocations. |
contrib/generic_proxy/filters/network/test/codecs/kafka/BUILD |
Replaces broad pin with compile-only allocation. |
contrib/exe/BUILD |
Limits elevated allocation to executable linking. |
contrib/dynamo/filters/http/test/BUILD |
Replaces broad pin with compile-only allocation. |
contrib/dlb/test/BUILD |
Renames the manual test’s pool canonically. |
contrib/cryptomb/private_key_providers/test/BUILD |
Replaces broad pin with compile-only allocation. |
contrib/config/test/BUILD |
Separates compilation while preserving medium test allocation. |
contrib/client_ssl_auth/filters/network/test/BUILD |
Replaces broad pins with compile-only allocations. |
contrib/checksum/filters/http/test/BUILD |
Replaces broad pins with compile-only allocations. |
Review effort: Balanced
Member
Author
|
/retest verify |
This was referenced Nov 17, 2026
phlax
marked this pull request as ready for review
November 17, 2026 21:38
phlax
requested review from
KBaichoo,
RyanTheOptimist,
abeyad,
adisuissa,
botengyao,
danzh2010,
fredyw,
ggreenway,
krinkinmu,
mathetake,
mattklein123,
nezdolik,
ravenblackx,
tonya11en,
tyxia,
wbpcode,
yanavlasov and
yanjunxiang-google
as code owners
November 17, 2026 21:38
jwendell
approved these changes
Nov 17, 2026
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 18, 2026
…small RBE pool envoyproxy#49321's pins came from a measurement in which the GCC jobs had been left on the default pool: they have their own RBE platform, which the measurement did not put on the large one, so their actions were killed and retried rather than measured there. Measured again on the large pool, on this branch as landed (2026-11-17, every GCC action on the pool it requested, none killed), the GCC pins are the same but for this one: the compile peaks at 2928MB, which is over the default pool (3GiB) with the 5% headroom the pins use. Every measured peak was then checked against the pool this branch assigns it: none is over its pool, and none is on a larger pool than it needs. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 19, 2026
…small RBE pool envoyproxy#49321's pins came from a measurement in which the GCC jobs had been left on the default pool: they have their own RBE platform, which the measurement did not put on the large one, so their actions were killed and retried rather than measured there. Measured again on the large pool, on this branch as landed (2026-11-17, every GCC action on the pool it requested, none killed), the GCC pins are the same but for this one: the compile peaks at 2928MB, which is over the default pool (3GiB) with the 5% headroom the pins use. Every measured peak was then checked against the pool this branch assigns it: none is over its pool, and none is on a larger pool than it needs. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 19, 2026
…small RBE pool #49321's pins came from a measurement in which the GCC jobs had been left on the default pool: they have their own RBE platform, which the measurement did not put on the large one, so their actions were killed and retried rather than measured there. Measured again on the large pool, on this branch as landed (2026-11-17, every GCC action on the pool it requested, none killed), the GCC pins are the same but for this one: the compile peaks at 2928MB, which is over the default pool (3GiB) with the 5% headroom the pins use. Every measured peak was then checked against the pool this branch assigns it: none is over its pool, and none is on a larger pool than it needs. Signed-off-by: Ryan Northey <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #49205 (the branch carries its commits until it lands): this is the last two commits, a port of #46986 (canonical pool names) and the pins.
The release/v1.39 counterpart of #49078, regenerated from a measurement of
release/v1.39 itself rather than picked: v1.39's targets and peaks differ
from main's. Pins use the per-configuration
rbe_poolspec of #49081,with the
linkpools and thecto,opensslandfuzz_coverageconfigurations of #49313 (both on this branch), on top of the canonical
pool names of #46986 (the previous commit).
Data: every CI job of release/v1.39 (with #49236's gcc-ci) run once in
envoy-ci-staging#2173 (2026-11-16), every remote action on the large
pool with the pins neutralised and every compile and link forced to
execute, peak RSS from the EngFlow traces. That covers the opt, asan,
tsan, msan, gcc, coverage, fuzz coverage, compile-time options and
OpenSSL jobs, and the API, config, format, deps and release jobs (as
default), including//contrib/.... Each pin is the smallest poolclearing the target's peak with 5% headroom for compiles, 10% for links
and 20% for tests, for every configuration and action exactly: as #49313
has it, an action a spec does not name runs on the default pool, so a
pool is named only where an action needs more, and a configuration that
needs less than the target's
defaultspec is spelled out too (with thedefaultpool where it needs no more), so that no measured action asksfor more than it measured. An action a configuration has no data for
gets what the target's
defaultconfiguration gets. Generated withrbe_report.py pins, as #49315 is for main.The coverage links of 343 targets, the fuzz coverage links of 57, the
tsan links of 7 (the big binaries:
envoy-static,config_test,router_check_tool,all_extensions_build_test,extra_extensions_test,server_fuzz_testandconfig_fuzz_test, at12.5-13.7GB) and the msan test of
//test/common/router:config_impl_test(12.9GB) need more than the large pool (12GiB) with headroom; they are
pinned to xlarge, each marked with its measured peak, so they no longer
rely on EngFlow killing and retrying them on a larger pool. They should be
brought down, but until then the pin says what they need. The fuzz
coverage link of
//test/server:server_fuzz_test(26.4GB) is over evenxlarge with headroom, and is marked so. No compile needs more than
large.
Result: 200 pins added, 1503 changed, 60 removed (on
source/: 9removed, 1 changed). The loop-defined codec fuzz tests in
test/common/httpare pinned by hand from the measurement (their_libs compile at ~3.3-3.9GB, 5.3GB with gcc, their tsan links at~3.9GB, their fuzz coverage links at ~12.6GB). The router check, schema
validator and config load check tools are pinned in
tools/, where#49262 (on this branch) moved them.
Tests pinned for CPU rather than memory keep their cores: the 55 tests
on release/v1.39's
2coreand4corepools (#36784, #36837), renamedmedium and large by the previous commit, have their test action on the
smallest pool with at least those cores (medium ~2, large ~4: the
actions a pool's RAM limit packs onto a machine) that fits their memory.
Libraries that had such a pin are sized by memory only (a compile uses
one core).
Acceptance: CI traces show every action's used pool equal to its
requested pool and no exit 137.