Skip to content

test/bazel: Re-measure the RBE pool pins, with link pools and every CI job - #49315

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:rbe-pool-pins-link
Nov 17, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:rbe-pool-pins-link

Conversation

@phlax

@phlax phlax commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Commit Message: test/bazel: Re-measure the RBE pool pins, with link pools and every CI job
Additional Description:

Regenerates #49078's pins from a measurement of every CI job, with the link pools and the cto, openssl and fuzz_coverage configurations of #49313 (the previous commit).

Data: every CI job of main (with #49236's gcc-ci) run once in envoy-ci-staging#2167 (2026-11-13, main at 3500543), 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, external and release jobs (as default), including //contrib/..., which #49078's per-configuration //test/... legs did not. Each pin is the smallest pool clearing the target's peak with 5% headroom for compiles, 10% for links and 20% for tests, spelled out only for the configurations and actions that need it: as #49313 has it, an action a spec does not name runs on the default pool, so a link is named only where the link needs more than that. 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 (37 targets); an action a configuration has no data for keeps what it inherits.

The fuzz coverage links of 5 targets, and the coverage links of 2, 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: 22 pins added, 1283 changed, 24 removed (on source/: 1 removed, 1 changed); 551 targets exceeded their current pool with no headroom. 17 targets added since the measurement keep their pins.

Tests pinned for CPU rather than memory keep their cores: the 54 tests on the 2core (#36784 and before) and 4core (#36837) pools, renamed medium 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). The loop-defined codec fuzz tests in test/common/http are pinned by hand from the measurement.

Acceptance: CI traces show every action's used pool equal to its requested pool and no exit 137.

Risk Level: low (RBE pool selection only)
Testing: CI
Docs Changes: n/a
Release Notes: n/a

@phlax
phlax requested a balanced review from Copilot November 16, 2026 09:50
@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #49315 was opened by phlax.

see: more, trace.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The non-C++ wrapper rejects forwarded link overrides, breaking package loading even with coverage/RBE disabled, and the direct-response integration test loses its multi-core pool pin needed to avoid single-core flakes.

2 open issues
What changed in this PR

This PR recalibrates Envoy’s remote build execution pools using measurements across CI configurations. It builds on #49313’s separate link-pool support to allocate compile, link, and test resources more precisely.

Changes:

  • Replaces broad pool pins with action-specific and configuration-specific settings.
  • Adds coverage, fuzz-coverage, OpenSSL, and compile-time-option allocations where needed.
  • Updates contributed extensions and removes pins no longer supported by measurements.
File Description
test/​tools/​schema_validator/​BUILD Uses a link-only tool pin.
test/​tools/​router_check/​test/​BUILD Separates default and coverage pools.
test/​tools/​router_check/​BUILD Separates compile and link pools.
test/​tools/​config_load_check/​BUILD Uses a link-only tool pin.
test/​mocks/​upstream/​BUILD Refines and removes mock pins.
test/​mocks/​tcp/​BUILD Separates GCC compile and link pools.
test/​mocks/​stream_info/​BUILD Separates GCC compile and link pools.
test/​mocks/​router/​BUILD Separates mock compile and link pools.
test/​mocks/​network/​BUILD Refines GCC and sanitizer pins.
test/​mocks/​http/​BUILD Separates mock links and coverage allocations.
test/​mocks/​grpc/​BUILD Separates GCC compile and link pools.
test/​integration/​admin_html/​BUILD Uses a TSAN link-only pin.
test/​fuzz/​BUILD Removes the utility library’s GCC pin.
test/​extensions/​upstreams/​tcp/​generic/​BUILD Separates default and coverage pools.
test/​extensions/​upstreams/​http/​udp/​BUILD Refines upstream test pools.
test/​extensions/​upstreams/​http/​tcp/​BUILD Separates default and coverage pools.
test/​extensions/​upstreams/​http/​reverse_tunnel/​BUILD Separates default and coverage pools.
test/​extensions/​upstreams/​http/​generic/​BUILD Adds coverage-specific link allocation.
test/​extensions/​upstreams/​http/​dynamic_modules/​BUILD Refines unit and integration test pools.
test/​extensions/​upstreams/​http/​BUILD Separates default and coverage pools.
test/​extensions/​udp_packet_writer/​gso/​BUILD Separates default and coverage pools.
test/​extensions/​udp_packet_writer/​default/​BUILD Separates default and coverage pools.
test/​extensions/​transport_sockets/​tls/​handshakers/​dynamic_modules/​BUILD Refines handshaker test pools.
test/​extensions/​transport_sockets/​tls/​cert_validator/​dynamic_modules/​BUILD Separates default and coverage pools.
test/​extensions/​transport_sockets/​tls/​cert_selectors/​on_demand/​BUILD Refines selector test pools.
test/​extensions/​transport_sockets/​tls/​cert_selectors/​dynamic_modules/​BUILD Refines selector test pools.
test/​extensions/​transport_sockets/​tcp_stats/​BUILD Refines unit and integration test pools.
test/​extensions/​transport_sockets/​proxy_protocol/​BUILD Refines unit and integration test pools.
test/​extensions/​transport_sockets/​internal_upstream/​BUILD Adds configuration-specific link pools.
test/​extensions/​transport_sockets/​http_11_proxy/​BUILD Refines unit and integration test pools.
test/​extensions/​transport_sockets/​dynamic_modules/​BUILD Refines transport socket test pools.
test/​extensions/​transport_sockets/​common/​BUILD Adds coverage-specific link allocation.
test/​extensions/​tracers/​xray/​BUILD Separates default and coverage pools.
test/​extensions/​tracers/​opentelemetry/​samplers/​BUILD Separates default and coverage pools.
test/​extensions/​tracers/​opentelemetry/​resource_detectors/​dynatrace/​BUILD Refines detector test pools.
test/​extensions/​tracers/​opentelemetry/​resource_detectors/​BUILD Separates default and coverage pools.
test/​extensions/​tracers/​datadog/​BUILD Refines tracer test pools.
test/​extensions/​string_matcher/​lua/​BUILD Refines unit and integration test pools.
test/​extensions/​stats_sinks/​wasm/​BUILD Separates links and sanitizer allocations.
test/​extensions/​stats_sinks/​statsd/​BUILD Separates default and coverage pools.
test/​extensions/​stats_sinks/​metrics_service/​BUILD Refines metrics service test pools.
test/​extensions/​stats_sinks/​graphite_statsd/​BUILD Separates default and coverage pools.
test/​extensions/​stats_sinks/​dog_statsd/​BUILD Separates default and coverage pools.
test/​extensions/​stats_sinks/​common/​statsd/​BUILD Separates default and coverage pools.
test/​extensions/​router/​route_specifiers/​dynamic_modules/​BUILD Refines route specifier test pools.
test/​extensions/​router/​cluster_specifiers/​priority_group/​BUILD Refines cluster specifier test pools.
test/​extensions/​router/​cluster_specifiers/​lua/​BUILD Separates default and coverage pools.
test/​extensions/​router/​cluster_specifiers/​dynamic_modules/​BUILD Refines cluster specifier test pools.
test/​extensions/​retry/​priority/​previous_priorities/​BUILD Adds coverage-specific link allocation.
test/​extensions/​retry/​host/​previous_hosts/​BUILD Refines retry test pools.
test/​extensions/​retry/​host/​omit_host_metadata/​BUILD Replaces GCC pin with coverage link pin.
test/​extensions/​retry/​host/​omit_canary_hosts/​BUILD Replaces GCC pin with coverage link pin.
test/​extensions/​resource_monitors/​injected_resource/​BUILD Adds configuration-specific integration links.
test/​extensions/​resource_monitors/​dynamic_modules/​BUILD Adds configuration-specific integration links.
test/​extensions/​resource_monitors/​downstream_connections/​BUILD Adds configuration-specific integration links.
test/​extensions/​resource_monitors/​cgroup_memory/​BUILD Replaces GCC pins with coverage link pins.
test/​extensions/​request_id/​uuid/​BUILD Replaces GCC pin with coverage link pin.
test/​extensions/​rate_limit_descriptors/​jwt_claim/​BUILD Separates default and coverage pools.
test/​extensions/​rate_limit_descriptors/​expr/​BUILD Refines coverage and TSAN allocations.
test/​extensions/​quic/​server_preferred_address/​BUILD Separates default and coverage pools.
test/​extensions/​quic/​connection_debug_visitor/​quic_stats/​BUILD Refines integration link pools.
test/​extensions/​queue_policy/​fifo/​BUILD Replaces GCC pin with coverage link pin.
test/​extensions/​queue_policy/​adaptive_lifo/​BUILD Replaces GCC pin with coverage link pin.
test/​extensions/​path/​uri_template_lib/​BUILD Adds fuzz-coverage link allocation.
test/​extensions/​network/​socket_interface/​sockmap/​BUILD Refines socket interface test pools.
test/​extensions/​network/​dns_resolver/​hickory/​BUILD Adds configuration-specific DNS test links.
test/​extensions/​network/​dns_resolver/​benchmark/​BUILD Removes the benchmark’s GCC pin.
test/​extensions/​matching/​network/​common/​BUILD Refines matcher test pools.
test/​extensions/​matching/​input_matchers/​uri_template/​BUILD Refines unit and integration test pools.
test/​extensions/​matching/​input_matchers/​runtime_fraction/​BUILD Separates default and coverage pools.
test/​extensions/​matching/​input_matchers/​metadata/​BUILD Separates default and coverage pools.
test/​extensions/​matching/​input_matchers/​ip/​BUILD Separates default and coverage pools.
test/​extensions/​matching/​input_matchers/​dynamic_modules/​BUILD Refines matcher test pools.
test/​extensions/​matching/​input_matchers/​consistent_hashing/​BUILD Separates default and coverage pools.
test/​extensions/​matching/​input_matchers/​cel_matcher/​BUILD Refines coverage and TSAN allocations.
test/​extensions/​matching/​http/​dynamic_modules/​BUILD Adds configuration-specific integration links.
test/​extensions/​matching/​actions/​format_string/​BUILD Separates default and coverage pools.
test/​extensions/​load_balancing_policies/​wrr_locality/​BUILD Refines load balancer test pools.
test/​extensions/​load_balancing_policies/​dynamic_modules/​BUILD Separates default and coverage pools.
test/​extensions/​load_balancing_policies/​cluster_provided/​BUILD Refines load balancer test pools.
test/​extensions/​key_value/​file_based/​BUILD Separates default and coverage pools.
test/​extensions/​io_socket/​user_space/​BUILD Adds coverage-specific link allocation.
test/​extensions/​internal_redirect/​BUILD Adds configuration-specific integration links.
test/​extensions/​http/​stateful_session/​header/​BUILD Refines session test pools.
test/​extensions/​http/​stateful_session/​envelope/​BUILD Refines session test pools.
test/​extensions/​http/​stateful_session/​cookie/​BUILD Refines session test pools.
test/​extensions/​http/​original_ip_detection/​xff/​BUILD Separates default and coverage pools.
test/​extensions/​http/​original_ip_detection/​custom_header/​BUILD Separates default and coverage pools.
test/​extensions/​http/​header_validators/​envoy_default/​BUILD Separates default and coverage pools.
test/​extensions/​http/​header_formatters/​dynamic_modules/​BUILD Refines formatter test pools.
test/​extensions/​http/​credential_injector/​generic/​BUILD Adds configuration-specific integration links.
test/​extensions/​http/​cache/​simple_http_cache/​BUILD Separates default and coverage pools.
test/​extensions/​http/​cache/​file_system_http_cache/​BUILD Separates default and coverage pools.
test/​extensions/​http/​cache_v2/​simple_http_cache/​BUILD Separates default and coverage pools.
test/​extensions/​http/​cache_v2/​file_system_http_cache/​BUILD Refines coverage and TSAN allocations.
test/​extensions/​http/​ai_filters/​transcoder/​BUILD Refines transcoder test pools.
test/​extensions/​http/​ai_filters/​schema_validation/​BUILD Refines schema validation test pools.
test/​extensions/​http/​ai_filters/​route_selector/​BUILD Separates default and coverage pools.
test/​extensions/​http/​ai_filters/​request_info/​BUILD Refines configuration-specific test pools.
test/​extensions/​http/​ai_filters/​model_router/​BUILD Refines model router test pools.
test/​extensions/​health_checkers/​udp/​BUILD Refines health checker test pools.
test/​extensions/​health_checkers/​redis/​BUILD Refines coverage and TSAN allocations.
test/​extensions/​health_checkers/​dynamic_modules/​BUILD Refines health checker test pools.
test/​extensions/​health_check/​event_sinks/​file/​BUILD Separates default and coverage pools.
test/​extensions/​grpc_credentials/​file_based_metadata/​BUILD Adds configuration-specific compile/link allocations.
test/​extensions/​geoip_providers/​maxmind/​BUILD Separates default and coverage pools.
test/​extensions/​formatter/​xfcc_value/​BUILD Refines unit and fuzz-coverage pools.
test/​extensions/​formatter/​req_without_query/​BUILD Separates default and coverage pools.
test/​extensions/​formatter/​metadata/​BUILD Refines formatter test pools.
test/​extensions/​formatter/​generic_secret/​BUILD Refines formatter test pools.
test/​extensions/​formatter/​file_content/​BUILD Refines formatter test pools.
test/​extensions/​formatter/​cel/​BUILD Refines coverage and TSAN allocations.
test/​extensions/​filters/​udp/​udp_proxy/​session_filters/​http_capsule/​BUILD Refines capsule filter test pools.
test/​extensions/​filters/​udp/​udp_proxy/​session_filters/​ext_authz/​BUILD Refines authorization filter test pools.
test/​extensions/​filters/​udp/​udp_proxy/​session_filters/​dynamic_forward_proxy/​BUILD Refines proxy filter test pools.
test/​extensions/​filters/​udp/​udp_proxy/​session_filters/​BUILD Replaces GCC pin with coverage link pin.
test/​extensions/​filters/​network/​zookeeper_proxy/​BUILD Refines proxy test pools.
test/​extensions/​filters/​network/​wasm/​BUILD Separates links and sanitizer allocations.
test/​extensions/​filters/​network/​thrift_proxy/​filters/​ratelimit/​BUILD Refines rate-limit test pools.
test/​extensions/​filters/​network/​thrift_proxy/​filters/​BUILD Separates default and coverage pools.
test/​extensions/​filters/​network/​tcp_proxy/​BUILD Separates default and coverage pools.
test/​extensions/​filters/​network/​sni_dynamic_forward_proxy/​BUILD Refines proxy test pools.
test/​extensions/​filters/​network/​sni_cluster/​BUILD Separates default and coverage pools.
test/​extensions/​filters/​network/​set_filter_state/​BUILD Adds configuration-specific integration links.
test/​extensions/​filters/​network/​reverse_tunnel/​drain_aware_hcm/​BUILD Refines coverage and TSAN allocations.
test/​extensions/​filters/​network/​ratelimit/​BUILD Separates default and coverage pools.
test/​extensions/​filters/​network/​match_delegate/​BUILD Refines unit and integration test pools.
test/​extensions/​filters/​network/​generic_proxy/​mocks/​BUILD Separates GCC compile and link pools.
test/​extensions/​filters/​network/​generic_proxy/​codecs/​http1/​BUILD Separates default and coverage pools.
test/​extensions/​filters/​network/​generic_proxy/​codecs/​dubbo/​BUILD Separates default and coverage pools.
test/​extensions/​filters/​network/​echo/​BUILD Adds configuration-specific integration links.
test/​extensions/​filters/​network/​direct_response/​BUILD Revises test and link allocations.
test/​extensions/​filters/​network/​connection_limit/​BUILD Refines connection-limit test pools.
test/​extensions/​filters/​network/​common/​redis/​BUILD Refines Redis test link allocations.
test/​extensions/​filters/​listener/​set_filter_state/​BUILD Refines listener filter test pools.
test/​extensions/​filters/​listener/​local_ratelimit/​BUILD Refines rate-limit test pools.
test/​extensions/​filters/​listener/​common/​fuzz/​BUILD Separates GCC library compile/link pools.
test/​extensions/​filters/​http/​set_metadata/​BUILD Refines metadata filter test pools.
test/​extensions/​filters/​http/​set_filter_state/​BUILD Refines filter-state test pools.
test/​extensions/​filters/​http/​router/​BUILD Refines router test pools.
test/​extensions/​filters/​http/​proto_api_scrubber/​scrubbing_util_lib/​BUILD Refines coverage and TSAN allocations.
test/​extensions/​filters/​http/​priority_load_shed/​BUILD Refines load-shedding test pools.
test/​extensions/​filters/​http/​original_src/​BUILD Refines source-address filter test pools.
test/​extensions/​filters/​http/​match_delegate/​BUILD Refines unit and integration test pools.
test/​extensions/​filters/​http/​ip_tagging/​BUILD Refines IP tagging test pools.
test/​extensions/​filters/​http/​header_to_metadata/​BUILD Refines metadata filter test pools.
test/​extensions/​filters/​http/​grpc_stats/​BUILD Refines gRPC statistics test pools.
test/​extensions/​filters/​http/​file_system_buffer/​BUILD Refines buffer filter test pools.
test/​extensions/​filters/​http/​file_server/​BUILD Refines file server test pools.
test/​extensions/​filters/​http/​ext_proc/​unit_test_fuzz/​BUILD Adds separate fuzz-coverage link allocation.
test/​extensions/​filters/​http/​ext_proc/​http_client/​BUILD Refines external-processing client test pools.
test/​extensions/​filters/​http/​decompressor/​BUILD Refines decompressor test pools.
test/​extensions/​filters/​http/​credential_injector/​BUILD Refines credential injector test pools.
test/​extensions/​filters/​http/​composite/​BUILD Refines composite filter test pools.
test/​extensions/​filters/​http/​common/​fuzz/​BUILD Separates library and configuration-specific fuzzer links.
test/​extensions/​filters/​http/​bandwidth_share/​BUILD Refines bandwidth-sharing test pools.
test/​extensions/​filters/​http/​bandwidth_limit/​BUILD Refines bandwidth-limit test pools.
test/​extensions/​filters/​common/​set_filter_state/​BUILD Separates default and coverage pools.
test/​extensions/​filters/​common/​ratelimit/​BUILD Adds coverage-specific link allocation.
test/​extensions/​filters/​common/​ratelimit_config/​BUILD Separates default and coverage pools.
test/​extensions/​filters/​common/​original_src/​BUILD Adds coverage-specific link allocation.
test/​extensions/​filters/​common/​lua/​BUILD Adds coverage-specific link allocation.
test/​extensions/​filters/​common/​local_ratelimit/​BUILD Separates default and coverage pools.
test/​extensions/​content_parsers/​json/​BUILD Separates default and coverage pools.
test/​extensions/​config/​validators/​minimum_clusters/​BUILD Refines validator test pools.
test/​extensions/​config/​validators/​dynamic_modules/​BUILD Refines validator test pools.
test/​extensions/​config_subscription/​rest/​BUILD Separates default and coverage pools.
test/​extensions/​config_subscription/​common/​BUILD Refines subscription test pools.
test/​extensions/​compression/​zstd/​decompressor/​BUILD Separates default and coverage pools.
test/​extensions/​compression/​zstd/​compressor/​BUILD Separates default and coverage pools.
test/​extensions/​compression/​zstd/​BUILD Separates default and coverage pools.
test/​extensions/​compression/​gzip/​BUILD Adds fuzz-coverage link allocation.
test/​extensions/​compression/​brotli/​decompressor/​BUILD Separates default and coverage pools.
test/​extensions/​compression/​brotli/​compressor/​BUILD Separates default and coverage pools.
test/​extensions/​common/​tap/​BUILD Separates default and coverage pools.
test/​extensions/​common/​redis/​BUILD Separates default and coverage pools.
test/​extensions/​common/​proxy_protocol/​BUILD Adds coverage-specific link allocations.
test/​extensions/​common/​dynamic_forward_proxy/​BUILD Separates default and coverage pools.
test/​extensions/​clusters/​reverse_connection/​BUILD Refines cluster test pools.
test/​extensions/​clusters/​original_dst/​BUILD Separates default and coverage pools.
test/​extensions/​clusters/​mcp_multicluster/​BUILD Refines cluster test pools.
test/​extensions/​clusters/​logical_dns/​BUILD Separates default and coverage pools.
test/​extensions/​clusters/​dynamic_forward_proxy/​BUILD Separates default and coverage pools.
test/​extensions/​clusters/​composite/​BUILD Refines cluster test pools.
test/​extensions/​clusters/​common/​BUILD Refines logical-host test pools.
test/​extensions/​bootstrap/​reverse_tunnel/​common/​BUILD Adds coverage-specific link allocation.
test/​extensions/​bootstrap/​internal_listener/​BUILD Refines internal listener test pools.
test/​extensions/​access_loggers/​wasm/​BUILD Separates links and sanitizer allocations.
test/​extensions/​access_loggers/​stream/​BUILD Separates default and coverage pools.
test/​extensions/​access_loggers/​filters/​process_ratelimit/​BUILD Refines access-log filter test pools.
test/​extensions/​access_loggers/​filters/​cel/​BUILD Refines coverage and TSAN allocations.
test/​extensions/​access_loggers/​file/​BUILD Separates default and coverage pools.
test/​extensions/​access_loggers/​common/​BUILD Refines access logger link allocations.
test/​config_test/​BUILD Separates library compiles and configuration-test links.
test/​common/​tcp/​BUILD Refines TCP test pools.
test/​common/​stream_info/​BUILD Adds coverage-specific link allocations.
test/​common/​ssl/​matching/​BUILD Refines SSL matcher test pools.
test/​common/​secret/​BUILD Separates default and coverage pools.
test/​common/​runtime/​BUILD Separates default and coverage pools.
test/​common/​rds/​BUILD Separates default and coverage pools.
test/​common/​protobuf/​BUILD Separates default and coverage pools.
test/​common/​orca/​BUILD Adds coverage and fuzz-coverage link allocations.
test/​common/​network/​dns_resolver/​BUILD Adds coverage-specific link allocation.
test/​common/​matcher/​BUILD Separates default and coverage pools.
test/​common/​matcher/​actions/​BUILD Separates default and coverage pools.
test/​common/​local_reply/​BUILD Separates default and coverage pools.
test/​common/​json/​BUILD Adds fuzz-coverage link allocations.
test/​common/​io/​BUILD Separates default and coverage pools.
test/​common/​http/​matching/​BUILD Separates GCC benchmark compile/link pools.
test/​common/​http/​http3/​BUILD Separates large GCC compiles from smaller links.
test/​common/​filter/​BUILD Separates links while retaining the MSAN test pin.
test/​common/​conn_pool/​BUILD Adds coverage-specific link allocation.
test/​common/​buffer/​BUILD Removes library pin; adds fuzz-coverage link pin.
test/​common/​access_log/​BUILD Refines coverage and TSAN allocations.
source/​exe/​BUILD Uses link-only executable pins.
source/​common/​upstream/​BUILD Removes the cluster manager’s GCC pin.
contrib/​tap_sinks/​udp_sink/​test/​BUILD Adds configuration-test pin; removes integration pin.
contrib/​sxg/​filters/​http/​test/​BUILD Separates compile and link allocations.
contrib/​stat_sinks/​wasm_filter/​test/​BUILD Separates compile and link allocations.
contrib/​reverse_tunnel_reporter/​test/​reporters/​BUILD Adds separate compile/link allocations.
contrib/​reverse_tunnel_reporter/​test/​clients/​BUILD Adds separate compile/link allocations.
contrib/​qat/​private_key_providers/​test/​BUILD Separates compile and link allocations.
contrib/​qat/​compression/​qatzstd/​compressor/​test/​BUILD Separates compile and link allocations.
contrib/​qat/​compression/​qatzip/​compressor/​test/​BUILD Separates compile and link allocations.
contrib/​postgres_proxy/​filters/​network/​test/​BUILD Separates compile and link allocations.
contrib/​per_worker_subset/​load_balancing_policies/​test/​BUILD Adds configuration-test compile/link pins.
contrib/​peak_ewma/​load_balancing_policies/​test/​BUILD Adds configuration-test compile/link pins.
contrib/​peak_ewma/​filters/​http/​test/​BUILD Adds configuration-test compile/link pins.
contrib/​mysql_proxy/​filters/​network/​test/​BUILD Removes broad test pins.
contrib/​language/​filters/​http/​test/​BUILD Refines configuration pin; removes integration pin.
contrib/​kafka/​stat_sinks/​test/​BUILD Refines configuration pin; removes implementation pin.
contrib/​kafka/​filters/​network/​test/​mesh/​BUILD Separates compile and link allocations.
contrib/​kafka/​filters/​network/​test/​broker/​BUILD Separates compile and link allocations.
contrib/​kafka/​filters/​network/​source/​BUILD Removes a library pool pin.
contrib/​istio/​filters/​network/​metadata_exchange/​test/​BUILD Adds separate compile/link allocations.
contrib/​istio/​filters/​network/​hbone/​test/​BUILD Adds separate compile/link allocations.
contrib/​istio/​filters/​http/​peer_metadata/​test/​BUILD Adds separate compile/link allocations.
contrib/​istio/​filters/​http/​alpn/​test/​BUILD Adds separate compile/link allocations.
contrib/​istio/​filters/​common/​test/​BUILD Adds separate compile/link allocations.
contrib/​hyperscan/​regex_engines/​test/​BUILD Refines configuration pin; removes integration pin.
contrib/​hyperscan/​matching/​input_matchers/​test/​BUILD Separates compile and link allocations.
contrib/​golang/​upstreams/​http/​tcp/​test/​BUILD Removes the broad medium-pool pin.
contrib/​golang/​router/​cluster_specifier/​test/​BUILD Removes the broad small-pool pin.
contrib/​golang/​filters/​network/​test/​BUILD Separates compile and link allocations.
contrib/​generic_proxy/​filters/​network/​test/​codecs/​kafka/​BUILD Separates compile and link allocations.
contrib/​exe/​BUILD Uses a link-only executable pin.
contrib/​dynamo/​filters/​http/​test/​BUILD Separates compile and link allocations.
contrib/​cryptomb/​private_key_providers/​test/​BUILD Separates compile and link allocations.
contrib/​config/​test/​BUILD Removes the broad medium-pool pin.
contrib/​client_ssl_auth/​filters/​network/​test/​BUILD Separates compile and link allocations.
contrib/​client_cert/​filters/​http/​test/​BUILD Refines configuration pin; removes filter pin.
contrib/​checksum/​filters/​http/​test/​BUILD Separates compile and link allocations.
bazel/​execution_context_transition.bzl Marks the test wrapper as non-C++.
bazel/​envoy_test.bzl Marks benchmark shell wrappers as non-C++.
.bazelrc Identifies compile-time-option and fuzz-coverage configurations.

Review effort: Balanced

Comment thread bazel/execution_context_transition.bzl Resolved
@phlax
phlax force-pushed the rbe-pool-pins-link branch 3 times, most recently from 32a502a to 52bb403 Compare November 16, 2026 13:16
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`rbe_pool` could pin a pool per configuration only for asan, msan, tsan,
coverage and gcc builds. The compile time options and OpenSSL builds
fell back to each pin's `default` entry, and fuzz coverage, being both
coverage and asan, to its `asan` one, so none of them could be sized on
their own. On main they are where EngFlow moves actions to larger pools
than requested (compile time options and OpenSSL links at 3.2-3.4GB on
xsmall, fuzz coverage links up to about 26GB).

Add "cto", "openssl" and "fuzz_coverage", matched by a new
`--define=ENVOY_CONFIG_COMPILE_TIME_OPTIONS=1` in
`--config=compile-time-options`, the existing `//bazel:openssl` flag and
a new `--define=ENVOY_CONFIG_FUZZ_COVERAGE=1` in `--config=fuzz-coverage`.
fuzz_coverage takes precedence over coverage and asan, and asan over
openssl, so the OpenSSL asan build keeps asan's pools.

A target's `build` pool also covered its link, so a target whose link
needs a large pool had its compiles pinned there too (and the reverse).
The C++ rules link in a `cpp_link` execution group, so a pool spec can
now name a `link` pool, set as `cpp_link.Pool`. As with `test`, a link
the spec does not name stays on the platform default, so every pin names
each action that needs more. The existing dict pins, whose `build` pool
covered their link, get a `link` pool only where the link needs more than
the default, sized from the measurement of envoyproxy#49315 (envoy-ci-staging#2167):
1020 specs name a link, 727 leave it on the default, and the 3 the
measurement cannot be matched to keep their build pool for their link. A
pool name on its own still covers every action. Only C++ rules have that execution group, so the
C++ macros opt in (`link = True`); any other caller, eg the docs build,
sets no `cpp_link` properties, and a link pool on one fails.
`execution_context_dual_test` passes its C++ test's pins to a wrapper
test rule, which drops their link pools.

Signed-off-by: Ryan Northey <[email protected]>
@phlax
phlax force-pushed the rbe-pool-pins-link branch from 52bb403 to 2b43075 Compare November 16, 2026 13:17
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`rbe_pool` could pin a pool per configuration only for asan, msan, tsan,
coverage and gcc builds. The compile time options and OpenSSL builds
fell back to each pin's `default` entry, and fuzz coverage, being both
coverage and asan, to its `asan` one, so none of them could be sized on
their own. On main they are where EngFlow moves actions to larger pools
than requested (compile time options and OpenSSL links at 3.2-3.4GB on
xsmall, fuzz coverage links up to about 26GB).

Add "cto", "openssl" and "fuzz_coverage", matched by a new
`--define=ENVOY_CONFIG_COMPILE_TIME_OPTIONS=1` in
`--config=compile-time-options`, the existing `//bazel:openssl` flag and
a new `--define=ENVOY_CONFIG_FUZZ_COVERAGE=1` in `--config=fuzz-coverage`.
fuzz_coverage takes precedence over coverage and asan, and asan over
openssl, so the OpenSSL asan build keeps asan's pools.

A target's `build` pool also covered its link, so a target whose link
needs a large pool had its compiles pinned there too (and the reverse).
The C++ rules link in a `cpp_link` execution group, so a pool spec can
now name a `link` pool, set as `cpp_link.Pool`. As with `test`, a link
the spec does not name stays on the platform default, so every pin names
each action that needs more. The existing dict pins, whose `build` pool
covered their link, get a `link` pool only where the link needs more than
the default, sized from the measurement of envoyproxy#49315 (envoy-ci-staging#2167):
1020 specs name a link, 727 leave it on the default, and the 3 the
measurement cannot be matched to keep their build pool for their link. A
pool name on its own still covers every action. Only C++ rules have that execution group, so the
C++ macros opt in (`link = True`); any other caller, eg the docs build,
sets no `cpp_link` properties, and a link pool on one fails.
`execution_context_dual_test` passes its C++ test's pins to a wrapper
test rule, which drops their link pools.

Signed-off-by: Ryan Northey <[email protected]>
@phlax
phlax force-pushed the rbe-pool-pins-link branch from 2b43075 to 4c89350 Compare November 16, 2026 14:30
@phlax
phlax requested a balanced review from Copilot November 16, 2026 14:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human review of unavailable EngFlow CI traces is needed to verify requested-versus-used pool agreement, sufficient memory headroom, and no exit 137 across CI configurations.

1 open issue
1 resolved since last review

Review effort: Balanced

phlax added a commit that referenced this pull request Nov 16, 2026
`rbe_pool` could pin a pool per configuration only for asan, msan, tsan,
coverage and gcc builds. The compile time options and OpenSSL builds
fell back to each pin's `default` entry, and fuzz coverage, being both
coverage and asan, to its `asan` one, so none of them could be sized on
their own. On main they are where EngFlow moves actions to larger pools
than requested (compile time options and OpenSSL links at 3.2-3.4GB on
xsmall, fuzz coverage links up to about 26GB).

Add "cto", "openssl" and "fuzz_coverage", matched by a new
`--define=ENVOY_CONFIG_COMPILE_TIME_OPTIONS=1` in
`--config=compile-time-options`, the existing `//bazel:openssl` flag and
a new `--define=ENVOY_CONFIG_FUZZ_COVERAGE=1` in
`--config=fuzz-coverage`. fuzz_coverage takes precedence over coverage
and asan, and asan over openssl, so the OpenSSL asan build keeps asan's
pools.

A target's `build` pool also covered its link, so a target whose link
needs a large pool had its compiles pinned there too (and the reverse).
The C++ rules link in a `cpp_link` execution group, so a pool spec can
now name a `link` pool, set as `cpp_link.Pool`. As with `test`, a link
the spec does not name stays on the platform default, so every pin names
each action that needs more. The existing dict pins, whose `build` pool
covered their link, get a `link` pool only where the link needs more
than the default, sized from the measurement of #49315
(envoy-ci-staging#2167): 1020 specs name a link, 727 leave it on the
default, and the 3 the measurement cannot be matched to keep their build
pool for their link. A pool name on its own still covers every action.
Only C++ rules have that execution group, so the C++ macros opt in
(`link = True`); any other caller, eg the docs build, sets no `cpp_link`
properties, and a link pool on one fails. `execution_context_dual_test`
passes its C++ test's pins to a wrapper test rule, which drops their
link pools.


Signed-off-by: Ryan Northey <[email protected]>
@phlax
phlax force-pushed the rbe-pool-pins-link branch from 4c89350 to cf369e9 Compare November 16, 2026 14:56
@phlax phlax changed the title [WIP] test/bazel: Re-measure the RBE pool pins, with link pools and every CI job test/bazel: Re-measure the RBE pool pins, with link pools and every CI job Nov 16, 2026
@phlax
phlax marked this pull request as ready for review November 16, 2026 14:56
@phlax
phlax requested a balanced review from Copilot November 16, 2026 14:56
…I job

Regenerates envoyproxy#49078's pins from a measurement of every CI job, with the
`link` pools and the `cto`, `openssl` and `fuzz_coverage` configurations
of envoyproxy#49313 (the previous commit).

Data: every CI job of main (with envoyproxy#49236's gcc-ci) run once in
envoy-ci-staging#2167 (2026-11-13, main at 3500543), 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, external and release jobs
(as `default`), including `//contrib/...`, which envoyproxy#49078's per-configuration
`//test/...` legs did not. Each pin is the smallest pool clearing the
target's peak with 5% headroom for compiles, 10% for links and 20% for
tests, spelled out only for the configurations and actions that need it:
as envoyproxy#49313 has it, an action a spec does not name runs on the default
pool, so a `link` is named only where the link needs more than that. 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 (37 targets); an action
a configuration has no data for keeps what it inherits.

The fuzz coverage links of 5 targets, and the coverage links of 2, 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: 22 pins added, 1283 changed, 24 removed (on `source/`: 1
removed, 1 changed); 551 targets exceeded their current pool with no
headroom. 17 targets added since the measurement keep their pins.

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). The loop-defined codec fuzz tests in `test/common/http` are
pinned by hand from the measurement.

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
phlax force-pushed the rbe-pool-pins-link branch from 13c856b to d06118f Compare November 16, 2026 15:57
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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, 1579 changed, 102 removed (on `source/`: 9
removed, 1 changed); 580 targets exceeded their current pool with no
headroom. The loop-defined codec fuzz tests in `test/common/http` are
pinned by hand from the measurement (their `_lib`s compile at ~3.2GB,
5.7GB with gcc, their fuzz coverage links at ~8.6GB). The integration
tests envoyproxy#36784 moved to a multi-core pool keep their test action on medium
where they fit it (`//test/integration`: `cds`, `direct_response`,
`http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling` and
`xds_integration_test`; `//test/common/http:conn_manager_impl_test`).
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.

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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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. 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).

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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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. 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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. 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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. 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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. 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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. 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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 added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
… 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 added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
… 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 added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
… 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 added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
… 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 added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
… 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. 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 added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
… 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. 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 added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
… 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
phlax enabled auto-merge (squash) November 17, 2026 13:15
Comment on lines 21 to 25
rbe_pool = {
"default": {"test": "linux_x64_medium"},
"tsan": {
"build": "linux_x64_small",
"link": "linux_x64_small",
"test": "linux_x64_medium",
},
"gcc": {
"build": "linux_x64_small",
"test": "linux_x64_medium",
},
"openssl": {"link": "linux_x64_small"},
"coverage": {"link": "linux_x64_large"},
"tsan": {"link": "linux_x64_small"},
},

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This drops the test pool for direct_response_integration_test. Before, it ran on linux_x64_medium in all configurations; now only link pools are pinned, so the test falls back to the default single-core pool.

#49078 intentionally kept this test (along with the other #36784 integration tests) on a multi-core pool because it flakes on a single core, which memory measurements can't detect. The other tests from that list still get a medium-or-larger test pool; this one seems to have slipped through because its history (2core -> 6gig -> small -> manually medium) means it wasn't on an old 2core/4core pool.

Suggested change
rbe_pool = {
"default": {"test": "linux_x64_medium"},
"tsan": {
"build": "linux_x64_small",
"link": "linux_x64_small",
"test": "linux_x64_medium",
},
"gcc": {
"build": "linux_x64_small",
"test": "linux_x64_medium",
},
"openssl": {"link": "linux_x64_small"},
"coverage": {"link": "linux_x64_large"},
"tsan": {"link": "linux_x64_small"},
},
rbe_pool = {
"default": {"test": "linux_x64_medium"},
"openssl": {
"link": "linux_x64_small",
"test": "linux_x64_medium",
},
"coverage": {
"link": "linux_x64_large",
"test": "linux_x64_medium",
},
"tsan": {
"link": "linux_x64_small",
"test": "linux_x64_medium",
},
},

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a different test from the one #36784 pinned, with the same name. #36784 only touched test/common/http, test/integration and test/integration/python: its direct_response_integration_test is //test/integration:direct_response_integration_test, which keeps "test": "linux_x64_medium" in every configuration here.

//test/extensions/filters/network/direct_response:direct_response_integration_test was never in that set. Its pin was a memory one: 2core in #36300, moved to 6gig with the rest in #36761, not reverted by #36784, then small in #46986. #49078 put its test action on medium because that pass matched the #36784 tests by name, which caught both; this one matches by label.

Measured for it (peak RSS, MB; test headroom 1.2, default pool 3072):

configuration compile link test
release 1605 1843 43
asan 1551 2548 442
tsan 1500 4244 212
coverage 1525 7555 684
gcc 2556 1063 47
openssl 1501 2879 98
cto (jemalloc) 1487 2422 117
cto (noadmin) 1371 2393 107

So only the tsan, openssl and coverage links need more than the default, which is what is pinned. The test action peaks at 684MB.

The measurement ran on the large pool, so it says nothing about how the test behaves on one core. If it is known to flake there I can add it to the CPU-pinned set, but I have nothing that says it does. (bot assisted)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants