Skip to content

tests/wasm: Refactor to improve CI efficiency - #48681

Merged
phlax merged 2 commits into
envoyproxy:mainfrom
phlax:wasm-tests
Oct 28, 2026
Merged

phlax merged 2 commits into
envoyproxy:mainfrom
phlax:wasm-tests

Conversation

@phlax

@phlax phlax commented Oct 25, 2026 •

Copy link
Copy Markdown
Member
  • reduce sharding and resource pools for wasm host tests
  • split wasm filter test and test modules by concern
  • only test first available engine in host tests (all engines still tested in compile-time-options)
  • additional tests to ensure coverage of runtime compilation

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

Shared build-rule changes, precompiled loading, and reduced CI resources require human validation across supported runtimes and platforms.

2 open issues
What changed in this PR

This PR reduces Envoy’s Wasm test CI workload by splitting HTTP filter tests and fixtures, narrowing host-test runtime selection, and enabling precompiled modules.

Changes:

  • Split HTTP filter tests into headers, body, asynchronous calls, and miscellaneous suites with smaller resource allocations.
  • Select the first available sandbox engine for host tests and add runtime-matrix coverage.
  • Enable V8 precompilation for test fixtures and update Bazel registry pins.
File Description
test/​test_common/​wasm_base.h Allow precompiled modules in shared fixtures.
test/​extensions/​stats_sinks/​wasm/​wasm_stat_sink_test.cc Narrow runtime selection.
test/​extensions/​stats_sinks/​wasm/​test_data/​BUILD Enable fixture precompilation.
test/​extensions/​stats_sinks/​wasm/​config_test.cc Narrow runtimes and allow precompiled loading.
test/​extensions/​filters/​network/​wasm/​wasm_filter_test.cc Use the host-test runtime matrix.
test/​extensions/​filters/​network/​wasm/​test_data/​BUILD Enable fixture precompilation.
test/​extensions/​filters/​network/​wasm/​config_test.cc Narrow runtimes and allow precompiled loading.
test/​extensions/​filters/​http/​wasm/​wasm_filter_test_base.h Share fixtures and select concern-specific modules.
test/​extensions/​filters/​http/​wasm/​wasm_filter_misc_test.cc Extract miscellaneous filter tests.
test/​extensions/​filters/​http/​wasm/​wasm_filter_integration_test.cc Load split modules with precompilation allowed.
test/​extensions/​filters/​http/​wasm/​wasm_filter_headers_test.cc Extract header and access-log tests.
test/​extensions/​filters/​http/​wasm/​wasm_filter_body_test.cc Extract body-processing tests.
test/​extensions/​filters/​http/​wasm/​wasm_filter_async_test.cc Extract asynchronous HTTP and gRPC tests.
test/​extensions/​filters/​http/​wasm/​test_data/​test_shared_queue_cpp.cc Use standalone-module intrinsics.
test/​extensions/​filters/​http/​wasm/​test_data/​test_shared_data_cpp.cc Use standalone-module intrinsics.
test/​extensions/​filters/​http/​wasm/​test_data/​test_resume_call_cpp.cc Use standalone-module intrinsics.
test/​extensions/​filters/​http/​wasm/​test_data/​test_panic_cpp.cc Use standalone-module intrinsics.
test/​extensions/​filters/​http/​wasm/​test_data/​test_cpp.cc Separate lightweight headers from advanced functionality.
test/​extensions/​filters/​http/​wasm/​test_data/​test_close_stream_cpp.cc Use standalone-module intrinsics.
test/​extensions/​filters/​http/​wasm/​test_data/​test_body_cpp.cc Update intrinsics and string-view type.
test/​extensions/​filters/​http/​wasm/​test_data/​test_async_call_cpp.cc Use standalone-module intrinsics.
test/​extensions/​filters/​http/​wasm/​test_data/​BUILD Split C++ modules and enable precompilation.
test/​extensions/​filters/​http/​wasm/​config_test.cc Use headers module and narrower runtime selection.
test/​extensions/​filters/​http/​wasm/​BUILD Define split suites and reduce CI resources.
test/​extensions/​common/​wasm/​wasm_test.cc Allow precompiled loading in selected configurations.
test/​extensions/​common/​wasm/​wasm_runtime.h Expose single-runtime test matrices.
test/​extensions/​common/​wasm/​wasm_runtime.cc Implement first-runtime selection.
test/​extensions/​common/​wasm/​wasm_runtime_test.cc Test host-runtime matrix selection.
test/​extensions/​common/​wasm/​test_data/​BUILD Enable common-fixture precompilation.
test/​extensions/​common/​wasm/​BUILD Register runtime-matrix tests.
test/​extensions/​bootstrap/​wasm/​wasm_test.cc Narrow runtimes and set precompilation configuration.
test/​extensions/​bootstrap/​wasm/​wasm_integration_test.cc Allow precompiled module loading.
test/​extensions/​bootstrap/​wasm/​test_data/​BUILD Enable bootstrap-fixture precompilation.
test/​extensions/​bootstrap/​wasm/​config_test.cc Narrow runtimes and allow precompiled loading.
test/​extensions/​access_loggers/​wasm/​test_data/​BUILD Enable access-logger fixture precompilation.
test/​extensions/​access_loggers/​wasm/​config_test.cc Narrow runtimes and allow precompiled loading.
bazel/​wasm/​wasm.bzl Add optional C++ Wasm precompilation wrapper.
bazel/​tests/​external/​.bazelrc Update external-workspace registry pin.
bazel/​tests/​codeql/​.bazelrc Update CodeQL-workspace registry pin.
api/​MODULE.bazel.lock Refresh registry URLs in lockfile.
api/​.bazelrc Update API-workspace registry pin.
.bazelrc Update root-workspace registry pin.

Review effort: Balanced

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

The shared Bazel wrapper, precompilation rollout, and test split need cross-runtime and platform CI validation plus final human review.

1 open issue
1 resolved since last review

Review effort: Balanced

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

Shared Bazel rule changes and cross-runtime fixture restructuring need CI validation and final human review.

2 open issues
1 resolved since last review

Review effort: Balanced

envoy_wasm_cc_binary(
name = "test_cpp.wasm",
srcs = ["test_cpp.cc"],
precompile = envoy_select_wasm_v8_bool(),

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.

; the only remaining unset consumer is the VmCacheVmConfigChange base config, which is intentionally source-loaded (see comment at L915)

phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
- reduce sharding and resource pools for wasm host tests
- split wasm filter test and test modules by concern
- only test first available engine in host tests (all engines still
tested in compile-time-options)
- additional tests to ensure coverage of runtime compilation

---------

Backport note: as on release/v1.39, `getSha256Digest()` keeps this
branch's `Buffer::Instance` signature, `Plugin` keeps its
`TrafficDirection` and (here) listener metadata arguments,
`envoy_wasm_cc_binary` keeps its `@envoy//` string labels, the
proxy-wasm repositories keep this branch's names, and the tests for
envoyproxy#46893 are left out. Also left out here are the tests for changes not on
this branch: the deferred data integration test and its Rust module
(envoyproxy#44279), `VmCacheEnvVarChange` (envoyproxy#44563) and the `localWasmConfig()`
config test helper (envoyproxy#45242). The filter tests keep this branch's
`absl::optional` and `absl::nullopt`, and `wee8_compile` keeps its
summary output.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit b50daf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…nvoyproxy#49076)

The target is marked "enormous" (a one hour timeout), split into 16
shards and run on the large RBE pool. Since envoyproxy#48681 it runs one engine
per build (all engines only across the compile-time-options legs), which
leaves it with 24-31 cases per leg. Measured in CI: 2s of cases in opt,
10s under coverage and in the wamr leg, 56s in the wasmtime leg and 65s
under tsan, so none of the three does anything but spread ~30 cases over
16 large executors.

Backport note: this branch has the `4core` pool name where `main` had `linux_x64_large`.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 50b28d5)
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
- reduce sharding and resource pools for wasm host tests
- split wasm filter test and test modules by concern
- only test first available engine in host tests (all engines still
tested in compile-time-options)
- additional tests to ensure coverage of runtime compilation

---------

Backport note: `getSha256Digest()` keeps this branch's
`Buffer::Instance` signature, `Plugin` keeps its `TrafficDirection`
argument, `envoy_wasm_cc_binary` keeps its `@envoy//` string labels, the
proxy-wasm repositories keep this branch's names (`proxy_wasm_cpp_host`,
`proxy_wasm_cpp_sdk`), and the `VmCacheVmConfigChange`,
`VmCacheDeprecatedCapabilityRestriction` and
`FilterConfigDeprecatedPluginLevelCapabilityRestriction` tests are left
out, as they test envoyproxy#46893, which is not on this branch.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit b50daf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…nvoyproxy#49076)

The target is marked "enormous" (a one hour timeout), split into 16
shards and run on the large RBE pool. Since envoyproxy#48681 it runs one engine
per build (all engines only across the compile-time-options legs), which
leaves it with 24-31 cases per leg. Measured in CI: 2s of cases in opt,
10s under coverage and in the wamr leg, 56s in the wasmtime leg and 65s
under tsan, so none of the three does anything but spread ~30 cases over
16 large executors.

Backport note: this branch has the `4core` pool name where `main` had `linux_x64_large`.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 50b28d5)
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
- reduce sharding and resource pools for wasm host tests
- split wasm filter test and test modules by concern
- only test first available engine in host tests (all engines still
tested in compile-time-options)
- additional tests to ensure coverage of runtime compilation

---------

Backport note: as on release/v1.39, `getSha256Digest()` keeps this
branch's `Buffer::Instance` signature, `Plugin` keeps its
`TrafficDirection` and (here) listener metadata arguments,
`envoy_wasm_cc_binary` keeps its `@envoy//` string labels, the
proxy-wasm repositories keep this branch's names, and the tests for
envoyproxy#46893 are left out. Also left out here are the tests for changes not on
this branch: the deferred data integration test and its Rust module
(envoyproxy#44279), `VmCacheEnvVarChange` (envoyproxy#44563) and the `localWasmConfig()`
config test helper (envoyproxy#45242). The filter tests keep this branch's
`absl::optional` and `absl::nullopt`, and `wee8_compile` keeps its
summary output.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit b50daf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…nvoyproxy#49076)

The target is marked "enormous" (a one hour timeout), split into 16
shards and run on the large RBE pool. Since envoyproxy#48681 it runs one engine
per build (all engines only across the compile-time-options legs), which
leaves it with 24-31 cases per leg. Measured in CI: 2s of cases in opt,
10s under coverage and in the wamr leg, 56s in the wasmtime leg and 65s
under tsan, so none of the three does anything but spread ~30 cases over
16 large executors.

Backport note: this branch has the `4core` pool name where `main` had `linux_x64_large`.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 50b28d5)
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…nvoyproxy#49076)

The target is marked "enormous" (a one hour timeout), split into 16
shards and run on the large RBE pool. Since envoyproxy#48681 it runs one engine
per build (all engines only across the compile-time-options legs), which
leaves it with 24-31 cases per leg. Measured in CI: 2s of cases in opt,
10s under coverage and in the wamr leg, 56s in the wasmtime leg and 65s
under tsan, so none of the three does anything but spread ~30 cases over
16 large executors.

Backport note: the size and sharding are dropped as on `main`, but the
target keeps its `4core` RBE pool: this branch has no per-configuration
pools (envoyproxy#49078), so without it the coverage-instrumented compile falls to
the default pool and runs out of memory.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 50b28d5)
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…nvoyproxy#49076)

The target is marked "enormous" (a one hour timeout), split into 16
shards and run on the large RBE pool. Since envoyproxy#48681 it runs one engine
per build (all engines only across the compile-time-options legs), which
leaves it with 24-31 cases per leg. Measured in CI: 2s of cases in opt,
10s under coverage and in the wamr leg, 56s in the wasmtime leg and 65s
under tsan, so none of the three does anything but spread ~30 cases over
16 large executors.

Backport note: the size and sharding are dropped as on `main`, but the
target keeps its `4core` RBE pool: this branch has no per-configuration
pools (envoyproxy#49078), so without it the coverage-instrumented compile falls to
the default pool and runs out of memory.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 50b28d5)
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
- reduce sharding and resource pools for wasm host tests
- split wasm filter test and test modules by concern
- only test first available engine in host tests (all engines still
tested in compile-time-options)
- additional tests to ensure coverage of runtime compilation

---------

Backport note: as on release/v1.39, `getSha256Digest()` keeps this
branch's `Buffer::Instance` signature, `Plugin` keeps its
`TrafficDirection` and (here) listener metadata arguments,
`envoy_wasm_cc_binary` keeps its `@envoy//` string labels, the
proxy-wasm repositories keep this branch's names, and the tests for
envoyproxy#46893 are left out. Also left out here are the tests for changes not on
this branch: the deferred data integration test and its Rust module
(envoyproxy#44279), `VmCacheEnvVarChange` (envoyproxy#44563) and the `localWasmConfig()`
config test helper (envoyproxy#45242). The tests keep this branch's
`absl::optional` and `absl::nullopt`, and `wee8_compile` keeps its
summary output.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit b50daf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…nvoyproxy#49076)

The target is marked "enormous" (a one hour timeout), split into 16
shards and run on the large RBE pool. Since envoyproxy#48681 it runs one engine
per build (all engines only across the compile-time-options legs), which
leaves it with 24-31 cases per leg. Measured in CI: 2s of cases in opt,
10s under coverage and in the wamr leg, 56s in the wasmtime leg and 65s
under tsan, so none of the three does anything but spread ~30 cases over
16 large executors.

Backport note: the size and sharding are dropped as on `main`, but the
target keeps its `4core` RBE pool: this branch has no per-configuration
pools (envoyproxy#49078), so without it the coverage-instrumented compile falls to
the default pool and runs out of memory.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 50b28d5)
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…nvoyproxy#49076)

The target is marked "enormous" (a one hour timeout), split into 16
shards and run on the large RBE pool. Since envoyproxy#48681 it runs one engine
per build (all engines only across the compile-time-options legs), which
leaves it with 24-31 cases per leg. Measured in CI: 2s of cases in opt,
10s under coverage and in the wamr leg, 56s in the wasmtime leg and 65s
under tsan, so none of the three does anything but spread ~30 cases over
16 large executors.

Backport note: the size and sharding are dropped as on `main`, but the
target keeps its `4core` RBE pool: this branch has no per-configuration
pools (envoyproxy#49078), so without it the coverage-instrumented compile falls to
the default pool and runs out of memory.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 50b28d5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
- reduce sharding and resource pools for wasm host tests
- split wasm filter test and test modules by concern
- only test first available engine in host tests (all engines still
tested in compile-time-options)
- additional tests to ensure coverage of runtime compilation

---------

Backport note: as on release/v1.39, `getSha256Digest()` keeps this
branch's `Buffer::Instance` signature, `Plugin` keeps its
`TrafficDirection` and (here) listener metadata arguments,
`envoy_wasm_cc_binary` keeps its `@envoy//` string labels, the
proxy-wasm repositories keep this branch's names, and the tests for
this branch: the deferred data integration test and its Rust module
(envoyproxy#44279), `VmCacheEnvVarChange` (envoyproxy#44563) and the `localWasmConfig()`
config test helper (envoyproxy#45242). The tests keep this branch's
`absl::optional` and `absl::nullopt`, and `wee8_compile` keeps its
summary output.

Signed-off-by: Ryan Northey <[email protected]>
Backport note (release/v1.37): as on release/v1.38, with this branch's
`@com_google_absl` label, its `ParseFromArray` in the C++ test module, its
`EXPECT_CALL` stream info mocks, and without the server context config test,
which is not on this branch. The split tests are the 66 of this branch's
`wasm_filter_test.cc`.

(cherry picked from commit b50daf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
- reduce sharding and resource pools for wasm host tests
- split wasm filter test and test modules by concern
- only test first available engine in host tests (all engines still
tested in compile-time-options)
- additional tests to ensure coverage of runtime compilation

---------

Backport note: as on release/v1.39, `getSha256Digest()` keeps this
branch's `Buffer::Instance` signature, `Plugin` keeps its
`TrafficDirection` and (here) listener metadata arguments,
`envoy_wasm_cc_binary` keeps its `@envoy//` string labels, the
proxy-wasm repositories keep this branch's names, and the tests for
this branch: the deferred data integration test and its Rust module
(envoyproxy#44279), `VmCacheEnvVarChange` (envoyproxy#44563) and the `localWasmConfig()`
config test helper (envoyproxy#45242). The tests keep this branch's
`absl::optional` and `absl::nullopt`, and `wee8_compile` keeps its
summary output.

Signed-off-by: Ryan Northey <[email protected]>
Backport note (release/v1.37): as on release/v1.38, with this branch's
`@com_google_absl` label, its `ParseFromArray` in the C++ test module, its
`EXPECT_CALL` stream info mocks, and without the server context config test,
which is not on this branch. The split tests are the 66 of this branch's
`wasm_filter_test.cc`.

(cherry picked from commit b50daf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…nvoyproxy#49076)

The target is marked "enormous" (a one hour timeout), split into 16
shards and run on the large RBE pool. Since envoyproxy#48681 it runs one engine
per build (all engines only across the compile-time-options legs), which
leaves it with 24-31 cases per leg. Measured in CI: 2s of cases in opt,
10s under coverage and in the wamr leg, 56s in the wasmtime leg and 65s
under tsan, so none of the three does anything but spread ~30 cases over
16 large executors.

Backport note: the size and sharding are dropped as on `main`, but the
target keeps its `4core` RBE pool: this branch has no per-configuration
pools (envoyproxy#49078), so without it the coverage-instrumented compile falls to
the default pool and runs out of memory.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 50b28d5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
- reduce sharding and resource pools for wasm host tests
- split wasm filter test and test modules by concern
- only test first available engine in host tests (all engines still
tested in compile-time-options)
- additional tests to ensure coverage of runtime compilation

---------

Backport note: as on release/v1.39, `getSha256Digest()` keeps this
branch's `Buffer::Instance` signature, `Plugin` keeps its
`TrafficDirection` and (here) listener metadata arguments,
`envoy_wasm_cc_binary` keeps its `@envoy//` string labels, the
proxy-wasm repositories keep this branch's names, and the tests for
this branch: the deferred data integration test and its Rust module
(envoyproxy#44279), `VmCacheEnvVarChange` (envoyproxy#44563) and the `localWasmConfig()`
config test helper (envoyproxy#45242). The tests keep this branch's
`absl::optional` and `absl::nullopt`, and `wee8_compile` keeps its
summary output.

Signed-off-by: Ryan Northey <[email protected]>
Backport note (release/v1.37): as on release/v1.38, with this branch's
`@com_google_absl` label, its `ParseFromArray` in the C++ test module, its
`EXPECT_CALL` stream info mocks, and without the server context config test,
which is not on this branch. The split tests are the 66 of this branch's
`wasm_filter_test.cc`.

(cherry picked from commit b50daf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
- reduce sharding and resource pools for wasm host tests
- split wasm filter test and test modules by concern
- only test first available engine in host tests (all engines still
tested in compile-time-options)
- additional tests to ensure coverage of runtime compilation

---------

Backport note: as on release/v1.39, `getSha256Digest()` keeps this
branch's `Buffer::Instance` signature, `Plugin` keeps its
`TrafficDirection` and (here) listener metadata arguments,
`envoy_wasm_cc_binary` keeps its `@envoy//` string labels, the
proxy-wasm repositories keep this branch's names, and the tests for
this branch: the deferred data integration test and its Rust module
(envoyproxy#44279), `VmCacheEnvVarChange` (envoyproxy#44563) and the `localWasmConfig()`
config test helper (envoyproxy#45242). The tests keep this branch's
`absl::optional` and `absl::nullopt`, and `wee8_compile` keeps its
summary output.

Signed-off-by: Ryan Northey <[email protected]>
Backport note (release/v1.37): as on release/v1.38, with this branch's
`@com_google_absl` label, its `ParseFromArray` in the C++ test module, its
`EXPECT_CALL` stream info mocks, and without the server context config test,
which is not on this branch. The split tests are the 66 of this branch's
`wasm_filter_test.cc`.

(cherry picked from commit b50daf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
- reduce sharding and resource pools for wasm host tests
- split wasm filter test and test modules by concern
- only test first available engine in host tests (all engines still
tested in compile-time-options)
- additional tests to ensure coverage of runtime compilation

---------

Backport note: as on release/v1.39, `getSha256Digest()` keeps this
branch's `Buffer::Instance` signature, `Plugin` keeps its
`TrafficDirection` and (here) listener metadata arguments,
`envoy_wasm_cc_binary` keeps its `@envoy//` string labels, the
proxy-wasm repositories keep this branch's names, and the tests for
this branch: the deferred data integration test and its Rust module
(envoyproxy#44279), `VmCacheEnvVarChange` (envoyproxy#44563) and the `localWasmConfig()`
config test helper (envoyproxy#45242). The tests keep this branch's
`absl::optional` and `absl::nullopt`, and `wee8_compile` keeps its
summary output.

Signed-off-by: Ryan Northey <[email protected]>
Backport note (release/v1.37): as on release/v1.38, with this branch's
`@com_google_absl` label, its `ParseFromArray` in the C++ test module, its
`EXPECT_CALL` stream info mocks, and without the server context config test,
which is not on this branch. The split tests are the 66 of this branch's
`wasm_filter_test.cc`.

(cherry picked from commit b50daf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
- reduce sharding and resource pools for wasm host tests
- split wasm filter test and test modules by concern
- only test first available engine in host tests (all engines still
tested in compile-time-options)
- additional tests to ensure coverage of runtime compilation

---------

Backport note: as on release/v1.39, `getSha256Digest()` keeps this
branch's `Buffer::Instance` signature, `Plugin` keeps its
`TrafficDirection` and (here) listener metadata arguments,
`envoy_wasm_cc_binary` keeps its `@envoy//` string labels, the
proxy-wasm repositories keep this branch's names, and the tests for
this branch: the deferred data integration test and its Rust module
(envoyproxy#44279), `VmCacheEnvVarChange` (envoyproxy#44563) and the `localWasmConfig()`
config test helper (envoyproxy#45242). The tests keep this branch's
`absl::optional` and `absl::nullopt`, and `wee8_compile` keeps its
summary output.

Signed-off-by: Ryan Northey <[email protected]>
Backport note (release/v1.37): as on release/v1.38, with this branch's
`@com_google_absl` label, its `ParseFromArray` in the C++ test module, its
`EXPECT_CALL` stream info mocks, and without the server context config test,
which is not on this branch. The split tests are the 66 of this branch's
`wasm_filter_test.cc`.

(cherry picked from commit b50daf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
- reduce sharding and resource pools for wasm host tests
- split wasm filter test and test modules by concern
- only test first available engine in host tests (all engines still
tested in compile-time-options)
- additional tests to ensure coverage of runtime compilation

---------

Backport note: as on release/v1.39, `getSha256Digest()` keeps this
branch's `Buffer::Instance` signature, `Plugin` keeps its
`TrafficDirection` and (here) listener metadata arguments,
`envoy_wasm_cc_binary` keeps its `@envoy//` string labels, the
proxy-wasm repositories keep this branch's names, and the tests for
this branch: the deferred data integration test and its Rust module
(envoyproxy#44279), `VmCacheEnvVarChange` (envoyproxy#44563) and the `localWasmConfig()`
config test helper (envoyproxy#45242). The tests keep this branch's
`absl::optional` and `absl::nullopt`, and `wee8_compile` keeps its
summary output.

Signed-off-by: Ryan Northey <[email protected]>
Backport note (release/v1.37): as on release/v1.38, with this branch's
`@com_google_absl` label, its `ParseFromArray` in the C++ test module, its
`EXPECT_CALL` stream info mocks, and without the server context config test,
which is not on this branch. The split tests are the 66 of this branch's
`wasm_filter_test.cc`.

(cherry picked from commit b50daf5)
The gRPC call and stream test modules link `envoy_proxy_wasm_api_lib`, as
this branch's combined test module did: with this branch's proxy-wasm C++
SDK their protobuf code imports `HaveOffsetConverter`, which that library
defines (`GrpcCall` failed with "missing import: env.HaveOffsetConverter").

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
… 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.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.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]>
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.

4 participants