Repository navigation
ci/gcc: Build and test with -c opt and no fission - #49236
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the change to use optimized GCC CI builds and tests.
No open issues 🎉
What changed in this PR
This PR aligns GCC CI builds and tests with the release configuration by using optimized builds, with the aim of reducing remote linker memory usage.
Changes:
- Switch GCC build and test invocations from
-c fastbuildto-c opt. - Add a comment documenting alignment with release builds and tests.
| File | Description |
|---|---|
ci/do_ci.sh |
Enables optimized GCC builds and tests while preserving existing targets and minimal artifact downloads. |
Review effort: Balanced
phlax
marked this pull request as ready for review
November 13, 2026 12:15
phlax
marked this pull request as draft
November 13, 2026 12:53
phlax
force-pushed
the
ci-gcc-opt
branch
4 times, most recently
from
November 13, 2026 15:59
1634d48 to
80f5816
Compare
The gcc build and test jobs ran with `-c fastbuild`, a configuration nothing ships: the clang release build and its tests use `-c opt`. They now use `-c opt` too. They use a new `gcc-ci` config: `--config=gcc` with `-c opt` and without debug info (`--fission=no` and `-g0`), so `--config=gcc` itself keeps its debug info for other builds. At `-c opt` fission adds `-gsplit-dwarf -g` to every compile, test targets included, and with GCC that debug info pushed compiles over the small RBE pool (squeezed at its limit until they time out) and the kitchen-sink links (`envoy-static`, `config_test`, the router_check/config_load_check/schema_validator tools) to 12-13GB, on xlarge, with 1.2-1.3GB binaries. Without it, measured on `config_test`: compiles peak at 6.7GB, the link at 2.3GB with a 195MB binary (fastbuild: 12.2GB and about 0.6GB). Nothing from these jobs is published. At `-c opt` the GCC toolchain links with `--gc-sections`, which drops the link array sections upb registers extensions in under GCC, leaving `__start_linkarr_upb_AllExts`/`__stop_linkarr_upb_AllExts` undefined. `--config=gcc` now links with `-z nostart-stop-gc`, until the toolshed GCC toolchain does. With optimization GCC also inlines through null checks and casts and reports the null branch: `-Wnonnull` (a null source in the header length death test, the async files mocks) and `-Wstringop-overflow` (a store through a `dynamic_cast` result in the new gRPC mux test). Like the GCC false positives already listed in `.bazelrc`, they are no longer errors. Signed-off-by: Ryan Northey <[email protected]>
phlax
marked this pull request as ready for review
November 13, 2026 16:51
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 13, 2026
The gcc build and test jobs ran with `-c fastbuild`, a configuration nothing ships: the clang release build and its tests use `-c opt`. They now use `-c opt` too. They use a new `gcc-ci` config: `--config=gcc` with `-c opt` and without debug info (`--fission=no` and `-g0`), so `--config=gcc` itself keeps its debug info for other builds. At `-c opt` fission adds `-gsplit-dwarf -g` to every compile, test targets included, and with GCC that debug info pushed compiles over the small RBE pool (squeezed at its limit until they time out) and the kitchen-sink links (`envoy-static`, `config_test`, the router_check/config_load_check/schema_validator tools) to 12-13GB, on xlarge, with 1.2-1.3GB binaries. Without it, measured on `config_test`: compiles peak at 6.7GB, the link at 2.3GB with a 195MB binary (fastbuild: 12.2GB and about 0.6GB). Nothing from these jobs is published. At `-c opt` the GCC toolchain links with `--gc-sections`, which drops the link array sections upb registers extensions in under GCC, leaving `__start_linkarr_upb_AllExts`/`__stop_linkarr_upb_AllExts` undefined. `--config=gcc` now links with `-z nostart-stop-gc`, until the toolshed GCC toolchain does. With optimization GCC also inlines through null checks and casts and reports the null branch: `-Wnonnull` (a null source in the header length death test, the async files mocks) and `-Wstringop-overflow` (a store through a `dynamic_cast` result in the new gRPC mux test). Like the GCC false positives already listed in `.bazelrc`, they are no longer errors. Backport note: picked from the pull request (envoyproxy#49236) ahead of its merge to main. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 13, 2026
The gcc build and test jobs ran with `-c fastbuild`, a configuration nothing ships: the clang release build and its tests use `-c opt`. They now use `-c opt` too. They use a new `gcc-ci` config: `--config=gcc` with `-c opt` and without debug info (`--fission=no` and `-g0`), so `--config=gcc` itself keeps its debug info for other builds. At `-c opt` fission adds `-gsplit-dwarf -g` to every compile, test targets included, and with GCC that debug info pushed compiles over the small RBE pool (squeezed at its limit until they time out) and the kitchen-sink links (`envoy-static`, `config_test`, the router_check/config_load_check/schema_validator tools) to 12-13GB, on xlarge, with 1.2-1.3GB binaries. Without it, measured on `config_test`: compiles peak at 6.7GB, the link at 2.3GB with a 195MB binary (fastbuild: 12.2GB and about 0.6GB). Nothing from these jobs is published. At `-c opt` the GCC toolchain links with `--gc-sections`, which drops the link array sections upb registers extensions in under GCC, leaving `__start_linkarr_upb_AllExts`/`__stop_linkarr_upb_AllExts` undefined. `--config=gcc` now links with `-z nostart-stop-gc`, until the toolshed GCC toolchain does. With optimization GCC also inlines through null checks and casts and reports the null branch: `-Wnonnull` (a null source in the header length death test, the async files mocks) and `-Wstringop-overflow` (a store through a `dynamic_cast` result in the new gRPC mux test). Like the GCC false positives already listed in `.bazelrc`, they are no longer errors. Backport note: picked from the pull request (envoyproxy#49236) ahead of its merge to main. Signed-off-by: Ryan Northey <[email protected]>
This was referenced Nov 13, 2026
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
The gcc build and test jobs ran with `-c fastbuild`, a configuration nothing ships: the clang release build and its tests use `-c opt`. They now use `-c opt` too. They use a new `gcc-ci` config: `--config=gcc` with `-c opt` and without debug info (`--fission=no` and `-g0`), so `--config=gcc` itself keeps its debug info for other builds. At `-c opt` fission adds `-gsplit-dwarf -g` to every compile, test targets included, and with GCC that debug info pushed compiles over the small RBE pool (squeezed at its limit until they time out) and the kitchen-sink links (`envoy-static`, `config_test`, the router_check/config_load_check/schema_validator tools) to 12-13GB, on xlarge, with 1.2-1.3GB binaries. Without it, measured on `config_test`: compiles peak at 6.7GB, the link at 2.3GB with a 195MB binary (fastbuild: 12.2GB and about 0.6GB). Nothing from these jobs is published. At `-c opt` the GCC toolchain links with `--gc-sections`, which drops the link array sections upb registers extensions in under GCC, leaving `__start_linkarr_upb_AllExts`/`__stop_linkarr_upb_AllExts` undefined. `--config=gcc` now links with `-z nostart-stop-gc`, until the toolshed GCC toolchain does. With optimization GCC also inlines through null checks and casts and reports the null branch: `-Wnonnull` (a null source in the header length death test, the async files mocks) and `-Wstringop-overflow` (a store through a `dynamic_cast` result in the new gRPC mux test). Like the GCC false positives already listed in `.bazelrc`, they are no longer errors. Testing: CI; gcc `-c opt` across `//test/...` in envoy-ci-staging (1831 pass, only the two warnings above failed builds); debug-info variants measured on `//test/config_test:config_test`. Risk Level: low (CI only) Release Notes: added (minor behavior change, build) Signed-off-by: Ryan Northey <[email protected]> Backport note: without the LLD `-z nostart-stop-gc` link option: GCC links with gold on this branch, which does not take it (and keeps the sections that `__start_`/`__stop_` symbols reference). (cherry picked from commit d55d98c) Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit ce3f447)
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
The gcc build and test jobs ran with `-c fastbuild`, a configuration nothing ships: the clang release build and its tests use `-c opt`. They now use `-c opt` too. They use a new `gcc-ci` config: `--config=gcc` with `-c opt` and without debug info (`--fission=no` and `-g0`), so `--config=gcc` itself keeps its debug info for other builds. At `-c opt` fission adds `-gsplit-dwarf -g` to every compile, test targets included, and with GCC that debug info pushed compiles over the small RBE pool (squeezed at its limit until they time out) and the kitchen-sink links (`envoy-static`, `config_test`, the router_check/config_load_check/schema_validator tools) to 12-13GB, on xlarge, with 1.2-1.3GB binaries. Without it, measured on `config_test`: compiles peak at 6.7GB, the link at 2.3GB with a 195MB binary (fastbuild: 12.2GB and about 0.6GB). Nothing from these jobs is published. At `-c opt` the GCC toolchain links with `--gc-sections`, which drops the link array sections upb registers extensions in under GCC, leaving `__start_linkarr_upb_AllExts`/`__stop_linkarr_upb_AllExts` undefined. `--config=gcc` now links with `-z nostart-stop-gc`, until the toolshed GCC toolchain does. With optimization GCC also inlines through null checks and casts and reports the null branch: `-Wnonnull` (a null source in the header length death test, the async files mocks) and `-Wstringop-overflow` (a store through a `dynamic_cast` result in the new gRPC mux test). Like the GCC false positives already listed in `.bazelrc`, they are no longer errors. Testing: CI; gcc `-c opt` across `//test/...` in envoy-ci-staging (1831 pass, only the two warnings above failed builds); debug-info variants measured on `//test/config_test:config_test`. Risk Level: low (CI only) Release Notes: added (minor behavior change, build) Signed-off-by: Ryan Northey <[email protected]> Backport note: without the LLD `-z nostart-stop-gc` link option: GCC links with gold on this branch, which does not take it (and keeps the sections that `__start_`/`__stop_` symbols reference). (cherry picked from commit d55d98c) Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit ce3f447) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
The gcc build and test jobs ran with `-c fastbuild`, a configuration nothing ships: the clang release build and its tests use `-c opt`. They now use `-c opt` too. They use a new `gcc-ci` config: `--config=gcc` with `-c opt` and without debug info (`--fission=no` and `-g0`), so `--config=gcc` itself keeps its debug info for other builds. At `-c opt` fission adds `-gsplit-dwarf -g` to every compile, test targets included, and with GCC that debug info pushed compiles over the small RBE pool (squeezed at its limit until they time out) and the kitchen-sink links (`envoy-static`, `config_test`, the router_check/config_load_check/schema_validator tools) to 12-13GB, on xlarge, with 1.2-1.3GB binaries. Without it, measured on `config_test`: compiles peak at 6.7GB, the link at 2.3GB with a 195MB binary (fastbuild: 12.2GB and about 0.6GB). Nothing from these jobs is published. At `-c opt` the GCC toolchain links with `--gc-sections`, which drops the link array sections upb registers extensions in under GCC, leaving `__start_linkarr_upb_AllExts`/`__stop_linkarr_upb_AllExts` undefined. `--config=gcc` now links with `-z nostart-stop-gc`, until the toolshed GCC toolchain does. With optimization GCC also inlines through null checks and casts and reports the null branch: `-Wnonnull` (a null source in the header length death test, the async files mocks) and `-Wstringop-overflow` (a store through a `dynamic_cast` result in the new gRPC mux test). Like the GCC false positives already listed in `.bazelrc`, they are no longer errors. Testing: CI; gcc `-c opt` across `//test/...` in envoy-ci-staging (1831 pass, only the two warnings above failed builds); debug-info variants measured on `//test/config_test:config_test`. Risk Level: low (CI only) Release Notes: added (minor behavior change, build) Signed-off-by: Ryan Northey <[email protected]> Backport note: without the LLD `-z nostart-stop-gc` link option: GCC links with gold on this branch, which does not take it (and keeps the sections that `__start_`/`__stop_` symbols reference). (cherry picked from commit d55d98c) Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit ce3f447) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
…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. A link is pinned separately from its compiles where they differ (1387 targets), below them where it needs less. 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: 21 pins added, 1362 changed, 26 removed (on `source/`: 1 removed, 1 changed); 593 targets exceeded their current pool with no headroom. 17 targets added since the measurement keep their pins. As in envoyproxy#49078, the integration tests envoyproxy#36784 moved to a multi-core pool keep their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`), and the loop-defined codec fuzz tests in `test/common/http` keep their hand pin, which covers their measured links. `execution_context_test` is not a C++ rule (it has no `cpp_link` execution group): its measured link is in its build pool. 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
…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. 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: 21 pins added, 1362 changed, 26 removed (on `source/`: 1 removed, 1 changed); 593 targets exceeded their current pool with no headroom. 17 targets added since the measurement keep their pins. As in envoyproxy#49078, the integration tests envoyproxy#36784 moved to a multi-core pool keep their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`), and the loop-defined codec fuzz tests in `test/common/http` keep their hand pin, which covers their measured links. `execution_context_test` is not a C++ rule (it has no `cpp_link` execution group): its measured link is in its build pool. 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
…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. 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: 21 pins added, 1362 changed, 26 removed (on `source/`: 1 removed, 1 changed); 593 targets exceeded their current pool with no headroom. 17 targets added since the measurement keep their pins. As in envoyproxy#49078, the integration tests envoyproxy#36784 moved to a multi-core pool keep their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`), and the loop-defined codec fuzz tests in `test/common/http` keep their hand pin, which covers their measured links. `execution_context_test` is not a C++ rule (it has no `cpp_link` execution group): its measured link is in its build pool. 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
The gcc build and test jobs ran with `-c fastbuild`, a configuration nothing ships: the clang release build and its tests use `-c opt`. They now use `-c opt` too. They use a new `gcc-ci` config: `--config=gcc` with `-c opt` and without debug info (`--fission=no` and `-g0`), so `--config=gcc` itself keeps its debug info for other builds. At `-c opt` fission adds `-gsplit-dwarf -g` to every compile, test targets included, and with GCC that debug info pushed compiles over the small RBE pool (squeezed at its limit until they time out) and the kitchen-sink links (`envoy-static`, `config_test`, the router_check/config_load_check/schema_validator tools) to 12-13GB, on xlarge, with 1.2-1.3GB binaries. Without it, measured on `config_test`: compiles peak at 6.7GB, the link at 2.3GB with a 195MB binary (fastbuild: 12.2GB and about 0.6GB). Nothing from these jobs is published. At `-c opt` the GCC toolchain links with `--gc-sections`, which drops the link array sections upb registers extensions in under GCC, leaving `__start_linkarr_upb_AllExts`/`__stop_linkarr_upb_AllExts` undefined. `--config=gcc` now links with `-z nostart-stop-gc`, until the toolshed GCC toolchain does. With optimization GCC also inlines through null checks and casts and reports the null branch: `-Wnonnull` (a null source in the header length death test, the async files mocks) and `-Wstringop-overflow` (a store through a `dynamic_cast` result in the new gRPC mux test). Like the GCC false positives already listed in `.bazelrc`, they are no longer errors. Testing: CI; gcc `-c opt` across `//test/...` in envoy-ci-staging (1831 pass, only the two warnings above failed builds); debug-info variants measured on `//test/config_test:config_test`. Risk Level: low (CI only) Release Notes: added (minor behavior change, build) Signed-off-by: Ryan Northey <[email protected]> Backport note: without the LLD `-z nostart-stop-gc` link option: GCC links with gold on this branch, which does not take it (and keeps the sections that `__start_`/`__stop_` symbols reference). (cherry picked from commit d55d98c) Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit ce3f447) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
The gcc build and test jobs ran with `-c fastbuild`, a configuration nothing ships: the clang release build and its tests use `-c opt`. They now use `-c opt` too. They use a new `gcc-ci` config: `--config=gcc` with `-c opt` and without debug info (`--fission=no` and `-g0`), so `--config=gcc` itself keeps its debug info for other builds. At `-c opt` fission adds `-gsplit-dwarf -g` to every compile, test targets included, and with GCC that debug info pushed compiles over the small RBE pool (squeezed at its limit until they time out) and the kitchen-sink links (`envoy-static`, `config_test`, the router_check/config_load_check/schema_validator tools) to 12-13GB, on xlarge, with 1.2-1.3GB binaries. Without it, measured on `config_test`: compiles peak at 6.7GB, the link at 2.3GB with a 195MB binary (fastbuild: 12.2GB and about 0.6GB). Nothing from these jobs is published. At `-c opt` the GCC toolchain links with `--gc-sections`, which drops the link array sections upb registers extensions in under GCC, leaving `__start_linkarr_upb_AllExts`/`__stop_linkarr_upb_AllExts` undefined. `--config=gcc` now links with `-z nostart-stop-gc`, until the toolshed GCC toolchain does. With optimization GCC also inlines through null checks and casts and reports the null branch: `-Wnonnull` (a null source in the header length death test, the async files mocks) and `-Wstringop-overflow` (a store through a `dynamic_cast` result in the new gRPC mux test). Like the GCC false positives already listed in `.bazelrc`, they are no longer errors. Testing: CI; gcc `-c opt` across `//test/...` in envoy-ci-staging (1831 pass, only the two warnings above failed builds); debug-info variants measured on `//test/config_test:config_test`. Risk Level: low (CI only) Release Notes: added (minor behavior change, build) Signed-off-by: Ryan Northey <[email protected]> Backport note: without the LLD `-z nostart-stop-gc` link option: GCC links with gold on this branch, which does not take it (and keeps the sections that `__start_`/`__stop_` symbols reference). (cherry picked from commit d55d98c) Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit ce3f447) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
The gcc build and test jobs ran with `-c fastbuild`, a configuration nothing ships: the clang release build and its tests use `-c opt`. They now use `-c opt` too. They use a new `gcc-ci` config: `--config=gcc` with `-c opt` and without debug info (`--fission=no` and `-g0`), so `--config=gcc` itself keeps its debug info for other builds. At `-c opt` fission adds `-gsplit-dwarf -g` to every compile, test targets included, and with GCC that debug info pushed compiles over the small RBE pool (squeezed at its limit until they time out) and the kitchen-sink links (`envoy-static`, `config_test`, the router_check/config_load_check/schema_validator tools) to 12-13GB, on xlarge, with 1.2-1.3GB binaries. Without it, measured on `config_test`: compiles peak at 6.7GB, the link at 2.3GB with a 195MB binary (fastbuild: 12.2GB and about 0.6GB). Nothing from these jobs is published. At `-c opt` the GCC toolchain links with `--gc-sections`, which drops the link array sections upb registers extensions in under GCC, leaving `__start_linkarr_upb_AllExts`/`__stop_linkarr_upb_AllExts` undefined. `--config=gcc` now links with `-z nostart-stop-gc`, until the toolshed GCC toolchain does. With optimization GCC also inlines through null checks and casts and reports the null branch: `-Wnonnull` (a null source in the header length death test, the async files mocks) and `-Wstringop-overflow` (a store through a `dynamic_cast` result in the new gRPC mux test). Like the GCC false positives already listed in `.bazelrc`, they are no longer errors. Testing: CI; gcc `-c opt` across `//test/...` in envoy-ci-staging (1831 pass, only the two warnings above failed builds); debug-info variants measured on `//test/config_test:config_test`. Risk Level: low (CI only) Release Notes: added (minor behavior change, build) Signed-off-by: Ryan Northey <[email protected]> Backport note: without the LLD `-z nostart-stop-gc` link option: GCC links with gold on this branch, which does not take it (and keeps the sections that `__start_`/`__stop_` symbols reference). (cherry picked from commit d55d98c) Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit ce3f447) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
…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. 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: 21 pins added, 1362 changed, 26 removed (on `source/`: 1 removed, 1 changed); 593 targets exceeded their current pool with no headroom. 17 targets added since the measurement keep their pins. As in their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`), and the loop-defined codec fuzz tests in `test/common/http` keep their hand pin, which covers their measured links. `execution_context_test` is not a C++ rule (it has no `cpp_link` execution group): its measured link is in its build pool. 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, spelled out only for the configurations and actions that need it, as in envoyproxy#49078. A link is pinned separately from its compiles where they differ (1707 targets), below them where it needs less. Some links and one test need more than the large pool (12GiB) with headroom: 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). They are pinned to large, where EngFlow moves them to a larger pool as it does today. No compile needs more than large. Result: 199 pins added, 1503 changed, 60 removed (on `source/`: 9 removed, 1 changed); 1218 targets exceeded their current pool with no headroom. The same hand edits as envoyproxy#49078: the loop-defined codec fuzz tests in `test/common/http` are pinned by hand (their `_lib`s compile at up to ~5.3GB, their tsan links at ~3.9GB, their fuzz coverage links at ~12.5GB), and the integration tests envoyproxy#36784 moved to a multi-core pool keep their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`). 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, spelled out only for the configurations and actions that need it, as in envoyproxy#49078. A link is pinned separately from its compiles where they differ (1707 targets), below them where it needs less. Some links and one test need more than the large pool (12GiB) with headroom, and are pinned to xlarge as measured: 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). These are the actions to bring down; until then they run where they fit, instead of being killed on large and moved up by EngFlow. No compile needs more than large. Result: 199 pins added, 1503 changed, 60 removed (on `source/`: 9 removed, 1 changed); 1218 targets exceeded their current pool with no headroom. The same hand edits as envoyproxy#49078: the loop-defined codec fuzz tests in `test/common/http` are pinned by hand (their `_lib`s compile at up to ~5.3GB, their tsan links at ~3.9GB, their fuzz coverage links at ~12.5GB), and the integration tests envoyproxy#36784 moved to a multi-core pool keep their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`). 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). 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, spelled out only for the configurations and actions that need it, as in envoyproxy#49078. A link is pinned separately from its compiles where they differ (1796 targets), below them where it needs less. 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: 211 pins added, 1579 changed, 102 removed (on `source/`: 9 removed, 1 changed); 575 targets exceeded their current pool with no headroom. The same hand edits as envoyproxy#49078: the loop-defined codec fuzz tests in `test/common/http` are pinned by hand (their `_lib`s compile at ~3.2GB, their fuzz coverage links at ~8.5GB), and the integration tests envoyproxy#36784 moved to a multi-core pool keep their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`). `execution_context_test` is not a C++ rule (it has no `cpp_link` execution group): its measured link is in its build pool. 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, spelled out only for the configurations and actions that need it, as in envoyproxy#49078. A link is pinned separately from its compiles where they differ (1707 targets), below them where it needs less. 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. No compile needs more than large. Result: 199 pins added, 1503 changed, 60 removed (on `source/`: 9 removed, 1 changed); 1218 targets exceeded their current pool with no headroom. The same hand edits as envoyproxy#49078: the loop-defined codec fuzz tests in `test/common/http` are pinned by hand (their `_lib`s compile at up to ~5.3GB, their tsan links at ~3.9GB, their fuzz coverage links at ~12.5GB), and the integration tests envoyproxy#36784 moved to a multi-core pool keep their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`). 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
…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. 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: 21 pins added, 1362 changed, 26 removed (on `source/`: 1 removed, 1 changed); 593 targets exceeded their current pool with no headroom. 17 targets added since the measurement keep their pins. As in their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`), and the loop-defined codec fuzz tests in `test/common/http` keep their hand pin, which covers their measured links. `execution_context_test` is not a C++ rule (it has no `cpp_link` execution group): its measured link is in its build pool. 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
The gcc build and test jobs ran with `-c fastbuild`, a configuration nothing ships: the clang release build and its tests use `-c opt`. They now use `-c opt` too. They use a new `gcc-ci` config: `--config=gcc` with `-c opt` and without debug info (`--fission=no` and `-g0`), so `--config=gcc` itself keeps its debug info for other builds. At `-c opt` fission adds `-gsplit-dwarf -g` to every compile, test targets included, and with GCC that debug info pushed compiles over the small RBE pool (squeezed at its limit until they time out) and the kitchen-sink links (`envoy-static`, `config_test`, the router_check/config_load_check/schema_validator tools) to 12-13GB, on xlarge, with 1.2-1.3GB binaries. Without it, measured on `config_test`: compiles peak at 6.7GB, the link at 2.3GB with a 195MB binary (fastbuild: 12.2GB and about 0.6GB). Nothing from these jobs is published. At `-c opt` the GCC toolchain links with `--gc-sections`, which drops the link array sections upb registers extensions in under GCC, leaving `__start_linkarr_upb_AllExts`/`__stop_linkarr_upb_AllExts` undefined. `--config=gcc` now links with `-z nostart-stop-gc`, until the toolshed GCC toolchain does. With optimization GCC also inlines through null checks and casts and reports the null branch: `-Wnonnull` (a null source in the header length death test, the async files mocks) and `-Wstringop-overflow` (a store through a `dynamic_cast` result in the new gRPC mux test). Like the GCC false positives already listed in `.bazelrc`, they are no longer errors. Testing: CI; gcc `-c opt` across `//test/...` in envoy-ci-staging (1831 pass, only the two warnings above failed builds); debug-info variants measured on `//test/config_test:config_test`. Risk Level: low (CI only) Release Notes: added (minor behavior change, build) Signed-off-by: Ryan Northey <[email protected]> Backport note: without the LLD `-z nostart-stop-gc` link option: GCC links with gold on this branch, which does not take it (and keeps the sections that `__start_`/`__stop_` symbols reference). (cherry picked from commit d55d98c) Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit ce3f447) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
…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. 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: 21 pins added, 1362 changed, 26 removed (on `source/`: 1 removed, 1 changed); 593 targets exceeded their current pool with no headroom. 17 targets added since the measurement keep their pins. As in their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`), and the loop-defined codec fuzz tests in `test/common/http` keep their hand pin, which covers their measured links. `execution_context_test` is not a C++ rule (it has no `cpp_link` execution group): its measured link is in its build pool. 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
…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. 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: 21 pins added, 1362 changed, 26 removed (on `source/`: 1 removed, 1 changed); 593 targets exceeded their current pool with no headroom. 17 targets added since the measurement keep their pins. As in their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`), and the loop-defined codec fuzz tests in `test/common/http` keep their hand pin, which covers their measured links. `execution_context_test` is not a C++ rule (it has no `cpp_link` execution group): its measured link is in its build pool. 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
…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: 21 pins added, 1362 changed, 26 removed (on `source/`: 1 removed, 1 changed); 593 targets exceeded their current pool with no headroom. 17 targets added since the measurement keep their pins. As in their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`), and the loop-defined codec fuzz tests in `test/common/http` keep their hand pin, which covers their measured links. `execution_context_test` is not a C++ rule (it has no `cpp_link` execution group): its measured link is in its build pool. 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
…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: 21 pins added, 1362 changed, 26 removed (on `source/`: 1 removed, 1 changed); 593 targets exceeded their current pool with no headroom. 17 targets added since the measurement keep their pins. As in their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`), and the loop-defined codec fuzz tests in `test/common/http` keep their hand pin, which covers their measured links. `execution_context_test` is not a C++ rule (it has no `cpp_link` execution group): its measured link is in its build pool. 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
…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: 21 pins added, 1362 changed, 26 removed (on `source/`: 1 removed, 1 changed); 593 targets exceeded their current pool with no headroom. 17 targets added since the measurement keep their pins. As in their test action on medium (`cds`, `direct_response`, `http2_flood`, `idle_timeout`, `tcp_async_client`, `tcp_tunneling`, `xds`, `conn_manager_impl_test`), and the loop-defined codec fuzz tests in `test/common/http` keep their hand pin, which covers their measured links. `execution_context_test` is not a C++ rule (it has no `cpp_link` execution group): its measured link is in its build pool. 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, 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. 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, 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
…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
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The gcc build and test jobs ran with
-c fastbuild, a configurationnothing ships: the clang release build and its tests use
-c opt. Theynow use
-c opttoo.They use a new
gcc-ciconfig:--config=gccwith-c optand withoutdebug info (
--fission=noand-g0), so--config=gccitself keepsits debug info for other builds. At
-c optfission adds-gsplit-dwarf -gto every compile,test targets included, and with GCC that debug info pushed compiles
over the small RBE pool (squeezed at its limit until they time out) and
the kitchen-sink links (
envoy-static,config_test, therouter_check/config_load_check/schema_validator tools) to 12-13GB, on
xlarge, with 1.2-1.3GB binaries. Without it, measured on
config_test:compiles peak at 6.7GB, the link at 2.3GB with a 195MB binary (fastbuild:
12.2GB and about 0.6GB). Nothing from these jobs is published.
At
-c optthe GCC toolchain links with--gc-sections, which dropsthe link array sections upb registers extensions in under GCC, leaving
__start_linkarr_upb_AllExts/__stop_linkarr_upb_AllExtsundefined.--config=gccnow links with-z nostart-stop-gc, until the toolshedGCC toolchain does.
With optimization GCC also inlines through null checks and casts and
reports the null branch:
-Wnonnull(a null source in the header lengthdeath test, the async files mocks) and
-Wstringop-overflow(a storethrough a
dynamic_castresult in the new gRPC mux test). Like the GCCfalse positives already listed in
.bazelrc, they are no longer errors.Testing: CI; gcc
-c optacross//test/...in envoy-ci-staging (1831 pass, only the two warnings above failed builds); debug-info variants measured on//test/config_test:config_test.Risk Level: low (CI only)
Release Notes: added (minor behavior change, build)