Repository navigation
[bp/1.40] test/bazel: Replace the RBE pool pins with measured per-configuration ones - #49235
Merged
Merged
Conversation
phlax
force-pushed
the
bp-1.40-rbe-pools
branch
4 times, most recently
from
November 16, 2026 09:42
67d8ca8 to
9fcb4e2
Compare
phlax
force-pushed
the
bp-1.40-rbe-pools
branch
20 times, most recently
from
November 17, 2026 12:27
439e516 to
882408d
Compare
… ones (v1.40) The release/v1.40 counterpart of envoyproxy#49078, regenerated from a measurement of release/v1.40 itself rather than picked: v1.40'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). Generated with `rbe_report.py pins`, as envoyproxy#49315 is for main. Data: every CI job of release/v1.40 (with envoyproxy#49236's gcc-ci) run once in envoy-ci-staging#2168 (2026-11-13), 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, docs 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. The coverage links of 99 targets, and the fuzz coverage links of 14, 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. No compile needs more than large. Result: 212 pins added, 1581 changed, 100 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.0-3.4GB, 5.7GB with gcc, their fuzz coverage links at ~8.6GB). The split wasm filter tests (envoyproxy#48681) postdate the measurement and keep their pins. 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 54 tests on the `2core` (envoyproxy#36784 and before) and `4core` (envoyproxy#36837) pools, renamed medium and large in envoyproxy#46986, 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.40-rbe-pools
branch
from
November 17, 2026 15:49
882408d to
c52a067
Compare
phlax
marked this pull request as ready for review
November 17, 2026 16:38
phlax
requested review from
KBaichoo,
RyanTheOptimist,
abeyad,
botengyao,
danzh2010,
fredyw,
ggreenway,
krinkinmu,
kyessenov,
mathetake,
mattklein123,
nezdolik,
ravenblackx,
tonya11en,
tyxia,
wbpcode,
yanavlasov and
yanjunxiang-google
as code owners
November 17, 2026 16:39
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Pool sizing depends on unavailable EngFlow measurements and staging results, requiring human verification that requested and used pools match and no actions exit 137 across the release/v1.40 CI matrix.
No open issues 🎉
What changed in this PR
This PR updates Envoy release/v1.40’s remote build execution pool assignments using measurements from that branch. It applies the configuration- and action-specific pool support from the preceding stack without changing proxy runtime behavior.
Changes:
- Replaces broad pool pins with separate compile, link, and test assignments for measured configurations.
- Assigns larger pools to memory-heavy coverage links and removes unnecessary reservations.
- Preserves dedicated test pools where additional CPU capacity is needed.
| File | Description |
|---|---|
| tools/schema_validator/BUILD | Makes tool linking configuration-specific. |
| tools/router_check/BUILD | Separates compile and tool-link pools. |
| tools/config_load_check/BUILD | Makes tool linking configuration-specific. |
| test/tools/type_whisperer/BUILD | Limits the pin to coverage linking. |
| test/tools/schema_validator/test/BUILD | Limits the pin to coverage linking. |
| test/tools/router_check/test/BUILD | Separates compile and coverage-link pools; removes shell-test pin. |
| test/mocks/tcp/BUILD | Retains compile capacity only for GCC. |
| test/mocks/stream_info/BUILD | Retains compile capacity only for GCC. |
| test/mocks/router/BUILD | Narrows mock pins to compilation. |
| test/mocks/network/BUILD | Retains compile capacity only for GCC. |
| test/mocks/http/BUILD | Sizes mock compilation and coverage linking separately. |
| test/mocks/grpc/BUILD | Retains compile capacity only for GCC. |
| test/integration/admin_html/BUILD | Keeps a TSAN link pin; removes shell-test pin. |
| test/fuzz/BUILD | Removes library pin; retains coverage-link capacity. |
| test/extensions/watchdog/profile_action/BUILD | Limits pins to coverage linking. |
| test/extensions/watchdog/backtrace_action/BUILD | Limits pins to coverage linking. |
| test/extensions/upstreams/tcp/generic/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/upstreams/http/udp/BUILD | Sizes compilation and coverage linking separately. |
| test/extensions/upstreams/http/tcp/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/upstreams/http/reverse_tunnel/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/upstreams/http/generic/BUILD | Adds GCC compile and coverage-link assignments. |
| test/extensions/upstreams/http/BUILD | Separates compile and coverage-link assignments. |
| test/extensions/udp_packet_writer/gso/BUILD | Adds configuration-specific compile and link assignments. |
| test/extensions/udp_packet_writer/default/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/transport_sockets/tls/handshakers/dynamic_modules/BUILD | Sizes unit and integration actions by configuration. |
| test/extensions/transport_sockets/tls/cert_validator/spiffe/BUILD | Separates compile and configuration-specific link pools. |
| test/extensions/transport_sockets/tls/cert_validator/dynamic_modules/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/transport_sockets/tls/cert_selectors/on_demand/BUILD | Adds compile and configuration-specific link assignments. |
| test/extensions/transport_sockets/tcp_stats/BUILD | Sizes unit and integration actions separately. |
| test/extensions/transport_sockets/proxy_protocol/BUILD | Sizes unit and integration actions separately. |
| test/extensions/transport_sockets/internal_upstream/BUILD | Assigns xlarge to the integration coverage link. |
| test/extensions/transport_sockets/dynamic_modules/BUILD | Separates compile and configuration-specific link pools. |
| test/extensions/transport_sockets/common/BUILD | Adds GCC compile and coverage-link assignments. |
| test/extensions/tracers/opentelemetry/samplers/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/tracers/opentelemetry/resource_detectors/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/tracers/datadog/BUILD | Replaces broad pins with action-specific assignments. |
| test/extensions/string_matcher/lua/BUILD | Sizes unit and integration actions separately. |
| test/extensions/stats_sinks/statsd/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/stats_sinks/metrics_service/BUILD | Sizes unit and integration actions separately. |
| test/extensions/stats_sinks/graphite_statsd/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/stats_sinks/dog_statsd/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/stats_sinks/common/statsd/BUILD | Narrows pins to compilation and coverage linking. |
| test/extensions/router/route_specifiers/dynamic_modules/BUILD | Sizes unit and integration actions separately. |
| test/extensions/router/cluster_specifiers/priority_group/BUILD | Replaces legacy pool names with action-specific assignments. |
| test/extensions/router/cluster_specifiers/lua/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/router/cluster_specifiers/dynamic_modules/BUILD | Assigns xlarge to the integration coverage link. |
| test/extensions/retry/priority/previous_priorities/BUILD | Adds GCC compile and coverage-link assignments. |
| test/extensions/retry/host/previous_hosts/BUILD | Sizes configuration and integration links separately. |
| test/extensions/retry/host/omit_host_metadata/BUILD | Limits the pin to coverage linking. |
| test/extensions/retry/host/omit_canary_hosts/BUILD | Limits the pin to coverage linking. |
| test/extensions/resource_monitors/fixed_heap/BUILD | Limits pins to coverage linking. |
| test/extensions/resource_monitors/downstream_connections/BUILD | Sizes unit and integration links by configuration. |
| test/extensions/request_id/uuid/BUILD | Limits the pin to coverage linking. |
| test/extensions/rate_limit_descriptors/jwt_claim/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/rate_limit_descriptors/expr/BUILD | Separates compilation, coverage links, and TSAN links. |
| test/extensions/quic/server_preferred_address/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/quic/connection_debug_visitor/quic_stats/BUILD | Preserves medium test capacity while sizing build actions. |
| test/extensions/queue_policy/fifo/BUILD | Adds a coverage-link pin. |
| test/extensions/path/uri_template_lib/BUILD | Separates coverage and fuzz-coverage link assignments. |
| test/extensions/path/rewrite/uri_template/BUILD | Limits pins to coverage linking. |
| test/extensions/path/match/uri_template/BUILD | Limits pins to coverage linking. |
| test/extensions/network/dns_resolver/hickory/BUILD | Assigns xlarge to the integration coverage link. |
| test/extensions/network/dns_resolver/getaddrinfo/BUILD | Limits the pin to coverage linking. |
| test/extensions/network/dns_resolver/benchmark/BUILD | Removes the benchmark pool pin. |
| test/extensions/network/dns_resolver/apple/BUILD | Limits the pin to coverage linking. |
| test/extensions/matching/network/common/BUILD | Sizes unit and integration actions separately. |
| test/extensions/matching/input_matchers/runtime_fraction/BUILD | Narrows pins to compilation and coverage linking. |
| test/extensions/matching/input_matchers/metadata/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/matching/input_matchers/ip/BUILD | Sizes configuration and matcher actions separately. |
| test/extensions/matching/input_matchers/consistent_hashing/BUILD | Sizes configuration and matcher actions separately. |
| test/extensions/matching/input_matchers/cel_matcher/BUILD | Separates compilation, coverage links, and TSAN links. |
| test/extensions/matching/http/dynamic_modules/BUILD | Adds configuration-specific compile and link assignments. |
| test/extensions/matching/common_inputs/environment_variable/BUILD | Limits pins to coverage linking. |
| test/extensions/matching/actions/transform_stat/BUILD | Adds a coverage-link pin. |
| test/extensions/matching/actions/format_string/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/local_address_selectors/filter_state_override/BUILD | Adds a coverage-link pin. |
| test/extensions/load_balancing_policies/wrr_locality/BUILD | Sizes configuration and integration actions separately. |
| test/extensions/load_balancing_policies/dynamic_modules/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/load_balancing_policies/cluster_provided/BUILD | Sizes configuration and integration actions separately. |
| test/extensions/key_value/file_based/BUILD | Narrows pins to compilation and coverage linking. |
| test/extensions/io_socket/user_space/BUILD | Separates coverage links from GCC compilation. |
| test/extensions/internal_redirect/previous_routes/BUILD | Limits the pin to coverage linking. |
| test/extensions/internal_redirect/filter_state/BUILD | Limits the pin to coverage linking. |
| test/extensions/internal_redirect/BUILD | Adds configuration-specific compile and link assignments. |
| test/extensions/http/stateful_session/header/BUILD | Sizes unit and configuration actions separately. |
| test/extensions/http/stateful_session/envelope/BUILD | Sizes unit and configuration actions separately. |
| test/extensions/http/stateful_session/cookie/BUILD | Sizes unit and configuration actions separately. |
| test/extensions/http/original_ip_detection/xff/BUILD | Sizes detection and configuration actions separately. |
| test/extensions/http/original_ip_detection/custom_header/BUILD | Sizes detection and configuration actions separately. |
| test/extensions/http/credential_injector/generic/BUILD | Makes integration compile and link pools configuration-specific. |
| test/extensions/http/cache/simple_http_cache/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/http/cache_v2/simple_http_cache/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/http/ai_filters/transcoder/BUILD | Sizes filter and configuration actions separately. |
| test/extensions/http/ai_filters/common/BUILD | Limits the pin to coverage linking. |
| test/extensions/health_checkers/udp/BUILD | Assigns xlarge to the integration coverage link. |
| test/extensions/health_checkers/redis/BUILD | Separates compilation, coverage links, and TSAN links. |
| test/extensions/health_check/event_sinks/file/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/grpc_credentials/file_based_metadata/BUILD | Sizes compile and link actions across configurations. |
| test/extensions/geoip_providers/maxmind/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/formatter/xfcc_value/BUILD | Separates unit and fuzz-coverage pool assignments. |
| test/extensions/formatter/req_without_query/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/formatter/metadata/BUILD | Sizes unit and integration actions separately. |
| test/extensions/formatter/generic_secret/BUILD | Sizes unit and integration actions separately. |
| test/extensions/formatter/file_content/BUILD | Sizes unit and integration actions separately. |
| test/extensions/formatter/cel/BUILD | Separates compilation, coverage links, and TSAN links. |
| test/extensions/filters/udp/udp_proxy/session_filters/http_capsule/BUILD | Sizes filter and integration actions separately. |
| test/extensions/filters/udp/udp_proxy/session_filters/BUILD | Limits the pin to larger coverage linking. |
| test/extensions/filters/network/zookeeper_proxy/BUILD | Sizes filter and configuration actions separately. |
| test/extensions/filters/network/thrift_proxy/filters/ratelimit/BUILD | Separates compilation and configuration-specific linking. |
| test/extensions/filters/network/thrift_proxy/filters/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/filters/network/tcp_proxy/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/filters/network/sni_cluster/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/filters/network/set_filter_state/BUILD | Limits pins to configuration-specific linking. |
| test/extensions/filters/network/ratelimit/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/filters/network/match_delegate/BUILD | Adds action-specific pins, including an xlarge coverage link. |
| test/extensions/filters/network/generic_proxy/mocks/BUILD | Retains compile capacity only for GCC. |
| test/extensions/filters/network/generic_proxy/codecs/http1/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/filters/network/generic_proxy/codecs/dubbo/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/filters/network/echo/BUILD | Limits pins to configuration-specific linking. |
| test/extensions/filters/network/direct_response/BUILD | Sizes unit and integration actions separately. |
| test/extensions/filters/network/connection_limit/BUILD | Preserves medium integration-test capacity. |
| test/extensions/filters/network/common/redis/BUILD | Narrows pins to GCC compilation and coverage linking. |
| test/extensions/filters/listener/set_filter_state/BUILD | Sizes unit and integration actions separately. |
| test/extensions/filters/listener/local_ratelimit/BUILD | Sizes unit and integration actions separately. |
| test/extensions/filters/listener/common/fuzz/BUILD | Retains library compile capacity only for GCC. |
| test/extensions/filters/http/set_metadata/BUILD | Sizes filter and configuration actions separately. |
| test/extensions/filters/http/set_filter_state/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/filters/http/router/BUILD | Sizes configuration and integration actions separately. |
| test/extensions/filters/http/proto_message_extraction/extraction_util/BUILD | Limits the pin to coverage linking. |
| test/extensions/filters/http/proto_api_scrubber/scrubbing_util_lib/BUILD | Adds compile, coverage-link, and TSAN-link assignments. |
| test/extensions/filters/http/match_delegate/BUILD | Sizes configuration and integration actions separately. |
| test/extensions/filters/http/ip_tagging/BUILD | Sizes unit and integration actions separately. |
| test/extensions/filters/http/header_to_metadata/BUILD | Sizes filter and configuration actions separately. |
| test/extensions/filters/http/grpc_stats/BUILD | Sizes configuration and integration actions separately. |
| test/extensions/filters/http/grpc_field_extraction/message_converter/BUILD | Limits pins to coverage linking. |
| test/extensions/filters/http/ext_proc/unit_test_fuzz/BUILD | Separates compilation, TSAN links, and fuzz-coverage links. |
| test/extensions/filters/http/decompressor/BUILD | Sizes unit and integration actions separately. |
| test/extensions/filters/http/credential_injector/BUILD | Sizes filter and configuration actions separately. |
| test/extensions/filters/http/composite/BUILD | Sizes unit and integration actions separately. |
| test/extensions/filters/http/bandwidth_limit/BUILD | Sizes filter and configuration actions separately. |
| test/extensions/filters/http/ai_protocol_manager/sse/BUILD | Limits the pin to coverage linking. |
| test/extensions/filters/http/ai_protocol_manager/schema/BUILD | Limits pins to coverage linking. |
| test/extensions/filters/http/adaptive_concurrency/controller/BUILD | Limits the pin to coverage linking. |
| test/extensions/filters/common/set_filter_state/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/filters/common/ratelimit/BUILD | Adds GCC compile and coverage-link assignments. |
| test/extensions/filters/common/ratelimit_config/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/filters/common/original_src/BUILD | Adds GCC compile and coverage-link assignments. |
| test/extensions/filters/common/mutation_rules/BUILD | Limits the pin to coverage linking. |
| test/extensions/filters/common/lua/BUILD | Narrows pins to GCC compilation and coverage linking. |
| test/extensions/filters/common/local_ratelimit/BUILD | Separates compile and coverage-link assignments. |
| test/extensions/filters/common/fault/BUILD | Limits the pin to coverage linking. |
| test/extensions/dynamic_modules/BUILD | Adds and narrows compile and coverage-link assignments. |
| test/extensions/content_parsers/json/BUILD | Adds action-specific parser and configuration pins. |
| test/extensions/config/validators/dynamic_modules/BUILD | Assigns xlarge to the integration coverage link. |
| test/extensions/config_subscription/rest/BUILD | Adds configuration-specific compile and link assignments. |
| test/extensions/config_subscription/filesystem/BUILD | Limits the pin to coverage linking. |
| test/extensions/config_subscription/common/BUILD | Separates compilation and configuration-specific linking. |
| test/extensions/compression/zstd/decompressor/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/compression/zstd/compressor/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/compression/zstd/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/compression/gzip/decompressor/BUILD | Limits the pin to coverage linking. |
| test/extensions/compression/gzip/compressor/BUILD | Limits the pin to coverage linking. |
| test/extensions/compression/gzip/BUILD | Limits the pin to fuzz-coverage linking. |
| test/extensions/compression/brotli/decompressor/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/compression/brotli/compressor/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/common/tap/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/common/redis/BUILD | Adds a compile-time-options override and coverage-link pin. |
| test/extensions/common/proxy_protocol/BUILD | Adds GCC compile and coverage-link assignments. |
| test/extensions/common/aws/eventstream/BUILD | Adds coverage and fuzz-coverage link pins. |
| test/extensions/clusters/reverse_connection/BUILD | Assigns xlarge to the integration coverage link. |
| test/extensions/clusters/original_dst/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/clusters/mcp_multicluster/BUILD | Assigns xlarge to the integration coverage link. |
| test/extensions/clusters/logical_dns/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/clusters/dynamic_modules/BUILD | Sizes unit and integration actions separately. |
| test/extensions/clusters/dynamic_forward_proxy/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/clusters/composite/BUILD | Assigns xlarge to the integration coverage link. |
| test/extensions/bootstrap/reverse_tunnel/common/BUILD | Adds GCC compile and coverage-link assignments. |
| test/extensions/access_loggers/wasm/BUILD | Separates compilation and sanitizer/coverage linking. |
| test/extensions/access_loggers/stream/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/access_loggers/filters/cel/BUILD | Adds compile, coverage-link, and TSAN-link assignments. |
| test/extensions/access_loggers/file/BUILD | Separates compilation from larger coverage linking. |
| test/extensions/access_loggers/common/BUILD | Narrows pins to GCC compilation and coverage linking. |
| test/config_test/BUILD | Separates library compilation from configuration-specific test linking. |
| test/common/websocket/BUILD | Limits the pin to coverage linking. |
| test/common/watchdog/BUILD | Limits pins to coverage linking. |
| test/common/tls/ocsp/BUILD | Limits pins to coverage linking. |
| test/common/thread_local/BUILD | Limits the pin to coverage linking. |
| test/common/tcp/BUILD | Adds configuration-specific compile and coverage-link assignments. |
| test/common/ssl/matching/BUILD | Sizes unit and integration actions separately. |
| test/common/singleton/BUILD | Limits pins to coverage linking. |
| test/common/signal/BUILD | Limits pins to coverage linking. |
| test/common/shared_pool/BUILD | Limits the pin to coverage linking. |
| test/common/secret/BUILD | Narrows pins to compilation and coverage linking. |
| test/common/runtime/BUILD | Sizes coverage actions and removes non-coverage test pins. |
| test/common/rds/BUILD | Separates compilation from larger coverage linking. |
| test/common/quic/platform/BUILD | Limits the pin to coverage linking. |
| test/common/orca/BUILD | Separates coverage and fuzz-coverage link assignments. |
| test/common/network/dns_resolver/BUILD | Adds GCC compile and coverage-link assignments. |
| test/common/memory/BUILD | Limits pins to coverage linking. |
| test/common/matcher/actions/BUILD | Separates compilation from larger coverage linking. |
| test/common/local_reply/BUILD | Separates compilation from larger coverage linking. |
| test/common/local_info/BUILD | Limits the pin to coverage linking. |
| test/common/json/wuffs_json/BUILD | Adds coverage and fuzz-coverage link assignments. |
| test/common/init/BUILD | Limits pins to coverage linking. |
| test/common/http/sse/BUILD | Adds coverage and fuzz-coverage link pins. |
| test/common/http/matching/BUILD | Limits pins to coverage linking. |
| test/common/http/http3/BUILD | Assigns larger GCC compilation and coverage-link pools. |
| test/common/html/BUILD | Limits the pin to coverage linking. |
| test/common/filter/BUILD | Separates compile, link, and MSAN test assignments. |
| test/common/filesystem/BUILD | Limits pins to coverage linking. |
| test/common/crypto/BUILD | Separates coverage and fuzz-coverage link assignments. |
| test/common/conn_pool/BUILD | Adds GCC compilation and larger coverage-link assignments. |
| test/common/api/BUILD | Limits the pin to coverage linking. |
| test/common/access_log/BUILD | Separates compilation and configuration-specific linking. |
| source/server/config_validation/BUILD | Removes the validation server library pin. |
| source/server/BUILD | Removes the server base library pin. |
| source/exe/BUILD | Makes binary links configuration-specific; removes library pins. |
| source/common/upstream/BUILD | Removes upstream library pool pins. |
| source/common/listener_manager/BUILD | Removes the listener manager library pin. |
| source/common/formatter/BUILD | Removes the stream-info formatter library pin. |
| contrib/tap_sinks/udp_sink/test/BUILD | Adds a compile-only pin; removes integration-test pin. |
| contrib/sxg/filters/http/test/BUILD | Narrows test pins to compilation. |
| contrib/stat_sinks/wasm_filter/test/BUILD | Narrows the test pin to compilation. |
| contrib/reverse_tunnel_reporter/test/reporters/BUILD | Adds a compile-only pin. |
| contrib/reverse_tunnel_reporter/test/clients/BUILD | Adds a compile-only pin. |
| contrib/qat/private_key_providers/test/BUILD | Narrows test pins to compilation. |
| contrib/qat/compression/qatzstd/compressor/test/BUILD | Narrows the test pin to compilation. |
| contrib/qat/compression/qatzip/compressor/test/BUILD | Narrows the test pin to compilation. |
| contrib/postgres_proxy/filters/network/test/BUILD | Narrows the integration target pin to compilation. |
| contrib/per_worker_subset/load_balancing_policies/test/BUILD | Adds a configuration-test compile pin. |
| contrib/peak_ewma/load_balancing_policies/test/BUILD | Adds a configuration-test compile pin. |
| contrib/peak_ewma/filters/http/test/BUILD | Adds a configuration-test compile pin. |
| contrib/mysql_proxy/filters/network/test/BUILD | Removes broad test pool pins. |
| contrib/language/filters/http/test/BUILD | Keeps configuration compilation capacity; removes integration pin. |
| contrib/kafka/stat_sinks/test/BUILD | Keeps configuration compilation capacity; removes implementation-test pin. |
| contrib/kafka/filters/network/test/mesh/BUILD | Keeps configuration compilation capacity; removes filter-test pin. |
| contrib/kafka/filters/network/test/broker/BUILD | Narrows test pins to compilation. |
| contrib/kafka/filters/network/source/BUILD | Removes the response parser library pin. |
| contrib/istio/filters/network/metadata_exchange/test/BUILD | Adds a compile-only pin. |
| contrib/istio/filters/network/hbone/test/BUILD | Adds a compile-only pin. |
| contrib/istio/filters/http/peer_metadata/test/BUILD | Adds compile-only test pins. |
| contrib/istio/filters/http/alpn/test/BUILD | Adds compile-only test pins. |
| contrib/istio/filters/common/test/BUILD | Adds a hashable-string test compile pin. |
| contrib/hyperscan/regex_engines/test/BUILD | Keeps configuration compilation capacity; removes integration pin. |
| contrib/hyperscan/matching/input_matchers/test/BUILD | Narrows the configuration-test pin to compilation. |
| contrib/golang/upstreams/http/tcp/test/BUILD | Preserves medium capacity for test execution only. |
| contrib/golang/router/cluster_specifier/test/BUILD | Removes the broad test pool pin. |
| contrib/golang/filters/network/test/BUILD | Narrows test pins to compilation. |
| contrib/generic_proxy/filters/network/test/codecs/kafka/BUILD | Narrows the configuration-test pin to compilation. |
| contrib/exe/BUILD | Restricts the binary pool pin to linking. |
| contrib/dynamo/filters/http/test/BUILD | Narrows the configuration-test pin to compilation. |
| contrib/cryptomb/private_key_providers/test/BUILD | Narrows the test pin to compilation. |
| contrib/config/test/BUILD | Preserves medium capacity for test execution only. |
| contrib/client_ssl_auth/filters/network/test/BUILD | Narrows test pins to compilation. |
| contrib/client_cert/filters/http/test/BUILD | Keeps configuration compilation capacity; removes filter-test pin. |
| contrib/checksum/filters/http/test/BUILD | Narrows test pins to compilation. |
Review effort: Balanced
jwendell
approved these changes
Nov 17, 2026
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 #49234 (the branch carries its commits until it lands): this is the last commit.
The release/v1.40 counterpart of #49078, regenerated from a measurement of
release/v1.40 itself rather than picked: v1.40'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). Generated with
rbe_report.py pins, as #49315 is for main.Data: every CI job of release/v1.40 (with #49236's gcc-ci) run once in
envoy-ci-staging#2168 (2026-11-13), 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, docs and release jobs (as
default),including
//contrib/.... Each pin is the smallest pool clearing thetarget'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 asks for more
than it measured. An action a configuration has no data for gets what
the target's
defaultconfiguration gets.The coverage links of 99 targets, and the fuzz coverage links of 14,
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. No compile needs more
than large.
Result: 212 pins added, 1581 changed, 100 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.0-3.4GB, 5.7GB with gcc, their fuzz coveragelinks at ~8.6GB). The split wasm filter tests (#48681) postdate the
measurement and keep their pins. The router check, schema validator and
config load check tools are pinned in
tools/, where #49262 (on thisbranch) moved them.
Tests pinned for CPU rather than memory keep their cores: the 54 tests
on the
2core(#36784 and before) and4core(#36837) pools, renamedmedium and large in #46986, 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.