Skip to content

ci/cto: Rename cto.base to cto.jemalloc - #49188

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-cto-jemalloc
Nov 11, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-cto-jemalloc

Conversation

@phlax

@phlax phlax commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

cto.base suggests a base run that the other cto.* targets share or build on. There is none: each target is the compile-time-options config plus one option of its own, and this one's is jemalloc. It is the only run in CI that uses jemalloc.

Name it for that, so that when it fails and nothing else does it is obvious where to look.

The run flag is renamed to match (check-build-cto-jemalloc), which is what names the job: "Compile time options (jemalloc)".

phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
`cto.base` suggests a base run that the other `cto.*` targets share or
build on. There is none: each target is the compile-time-options config
plus one option of its own, and this one's is jemalloc. It is the only
run in CI that uses jemalloc.

Name it for that, so that when it fails and nothing else does it is
obvious where to look.

The run flag is renamed to match, `check-build-cto-jemalloc`, which is
what names the job.

Backport note: picked from the pull request ahead of its merge to main. The `cto.all` list keeps
`cto.wasmtime` commented out, as on this branch.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
`cto.base` suggests a base run that the other `cto.*` targets share or
build on. There is none: each target is the compile-time-options config
plus one option of its own, and this one's is jemalloc. It is the only
run in CI that uses jemalloc.

Name it for that, so that when it fails and nothing else does it is
obvious where to look.

The run flag is renamed to match, `check-build-cto-jemalloc`, which is
what names the job.

`cto.base` is still accepted by `do_ci.sh` until the flag has landed, as the job is named from
the flag on the target branch.

Backport note: picked from the pull request ahead of its merge to main. The `cto.all` list keeps
`cto.wasmtime` commented out, as on this branch.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
`cto.base` suggests a base run that the other `cto.*` targets share or
build on. There is none: each target is the compile-time-options config
plus one option of its own, and this one's is jemalloc. It is the only
run in CI that uses jemalloc.

Name it for that, so that when it fails and nothing else does it is
obvious where to look.

The run flag is renamed to match, `check-build-cto-jemalloc`, which is
what names the job.

`cto.base` is still accepted by `do_ci.sh` until the flag has landed, as the job is named from
the flag on the target branch.

Backport note: picked from the pull request ahead of its merge to main. The `cto.all` list keeps
`cto.wasmtime` commented out, as on this branch.

Signed-off-by: Ryan Northey <[email protected]>
`cto.base` suggests a base run that the other `cto.*` targets share or
build on. There is none: each target is the compile-time-options config
plus one option of its own, and this one's is jemalloc. It is the only
run in CI that uses jemalloc.

Name it for that, so that when it fails and nothing else does it is
obvious where to look.

The run flag is renamed to match, `check-build-cto-jemalloc`, which is
what names the job.

`cto.base` is still accepted by `do_ci.sh` until the flag has landed, as the job is named from
the flag on the target branch.

Signed-off-by: Ryan Northey <[email protected]>
@phlax
phlax merged commit 874cbe0 into envoyproxy:main Nov 11, 2026
25 checks passed
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
`cto.base` suggests a base run that the other `cto.*` targets share or
build on. There is none: each target is the compile-time-options config
plus one option of its own, and this one's is jemalloc. It is the only
run in CI that uses jemalloc.

Name it for that, so that when it fails and nothing else does it is
obvious where to look.

The run flag is renamed to match (`check-build-cto-jemalloc`), which is
what names the job: "Compile time options (jemalloc)".

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 11, 2026
`cto.base` suggests a base run that the other `cto.*` targets share or
build on. There is none: each target is the compile-time-options config
plus one option of its own, and this one's is jemalloc. It is the only
run in CI that uses jemalloc.

Name it for that, so that when it fails and nothing else does it is
obvious where to look.

The run flag is renamed to match (`check-build-cto-jemalloc`), which is
what names the job: "Compile time options (jemalloc)".

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Port of envoyproxy#49161 (with the naming from envoyproxy#49188) for this branch.

`compile_time_options` ran everything in one job, and exited after the
wamr run: the jemalloc, admin-disabled, release-assert and
logging-disabled runs were never executed here. Each is now its own
`cto.*` target and, through the `check-build-cto-*` run flags, its own
job.

Differences from main:

- the wasm engine is selected with `--define wasm=`, as elsewhere on this
  branch
- `cto.wasmtime` is kept but commented out, in `.github/config.yml` and in
  the `cto.all` list, until the wasmtime tests are re-enabled here
- the workflow changes are not needed: the workflows run from main and
  read the run flags from this branch

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Port of envoyproxy#49161 (with the naming from envoyproxy#49188) for this branch.

`compile_time_options` ran everything in one job, and exited after the
wamr run: the jemalloc, admin-disabled, release-assert and
logging-disabled runs were never executed here. Each is now its own
`cto.*` target and, through the `check-build-cto-*` run flags, its own
job.

Differences from main:

- the wasm engine is selected with `--define wasm=`, as elsewhere on this
  branch
- `cto.wasmtime` is kept but commented out, in `.github/config.yml` and in
  the `cto.all` list, until the wasmtime tests are re-enabled here
- the workflow changes are not needed: the workflows run from main and
  read the run flags from this branch

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Port of envoyproxy#49161 (with the naming from envoyproxy#49188) for this branch.

`compile_time_options` ran everything in one job, and exited after the
wamr run: the jemalloc, admin-disabled, release-assert and
logging-disabled runs were never executed here. Each is now its own
`cto.*` target and, through the `check-build-cto-*` run flags, its own
job.

Differences from main:

- the wasm engine is selected with `--define wasm=`, as elsewhere on this
  branch
- `cto.wasmtime` is kept but commented out, in `.github/config.yml` and in
  the `cto.all` list, until the wasmtime tests are re-enabled here
- the workflow changes are not needed: the workflows run from main and
  read the run flags from this branch

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Port of envoyproxy#49161 (with the naming from envoyproxy#49188) for this branch.

`compile_time_options` ran everything in one job, and exited after the
wamr run: the jemalloc, admin-disabled, release-assert and
logging-disabled runs were never executed here. Each is now its own
`cto.*` target and, through the `check-build-cto-*` run flags, its own
job.

Differences from main:

- the wasm engine is selected with `--define wasm=`, as elsewhere on this
  branch
- `cto.wasmtime` is kept but commented out, in `.github/config.yml` and in
  the `cto.all` list, until the wasmtime tests are re-enabled here
- the workflow changes are not needed: the workflows run from main and
  read the run flags from this branch

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Port of envoyproxy#49161 (with the naming from envoyproxy#49188) for this branch.

`compile_time_options` ran everything in one job, and exited after the
wamr run: the jemalloc, admin-disabled, release-assert and
logging-disabled runs were never executed here. Each is now its own
`cto.*` target and, through the `check-build-cto-*` run flags, its own
job.

Differences from main:

- the wasm engine is selected with `--define wasm=`, as elsewhere on this
  branch
- `cto.wasmtime` is kept but commented out, in `.github/config.yml` and in
  the `cto.all` list, until the wasmtime tests are re-enabled here
- the workflow changes are not needed: the workflows run from main and
  read the run flags from this branch

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Port of envoyproxy#49161 (with the naming from envoyproxy#49188) for this branch.

`compile_time_options` ran everything in one job, and exited after the
wamr run: the jemalloc, admin-disabled, release-assert and
logging-disabled runs were never executed here. Each is now its own
`cto.*` target and, through the `check-build-cto-*` run flags, its own
job.

Differences from main:

- the wasm engine is selected with `--define wasm=`, as elsewhere on this
  branch
- `cto.wasmtime` is kept but commented out, in `.github/config.yml` and in
  the `cto.all` list, until the wasmtime tests are re-enabled here
- the workflow changes are not needed: the workflows run from main and
  read the run flags from this branch

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Port of envoyproxy#49161 (with the target names of envoyproxy#49188), as on release/v1.38
and release/v1.39, so that each compile-time option runs as its own job
and a failure can be seen per option. CI's workflows run from main and
set the jobs from the `check-build-cto-*` run flags in this branch's
`.github/config.yml`.

This branch differs from the later ones, so the targets do too:

- there is no jemalloc, and `compile-time-options` already builds with
  gperftools and zlib-ng, so there are no `cto.jemalloc` or
  `cto.gperftools` targets
- `cto.wamr` and `cto.noadmin` run the whole tree, as the two
  whole-tree runs of the previous target did; the others run the tests
  their option can affect
- `cto.noadmin`, `cto.asserts` and `cto.nolog` build with wasmtime, as
  before
- `cto.zlib_ng` keeps this branch's check of zlib-ng without the rest of
  the options
- the targets that cannot build with BoringSSL FIPS are left out, as
  before

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Port of envoyproxy#49161 (with the naming from envoyproxy#49188) for this branch.

`compile_time_options` ran everything in one job, and exited after the
wamr run: the jemalloc, admin-disabled, release-assert and
logging-disabled runs were never executed here. Each is now its own
`cto.*` target and, through the `check-build-cto-*` run flags, its own
job.

Differences from main:

- the wasm engine is selected with `--define wasm=`, as elsewhere on this
  branch
- `cto.wasmtime` is kept but commented out, in `.github/config.yml` and in
  the `cto.all` list, until the wasmtime tests are re-enabled here
- the workflow changes are not needed: the workflows run from main and
  read the run flags from this branch

(cherry picked from commit 3b16c1b)

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Port of envoyproxy#49161 (with the naming from envoyproxy#49188) for this branch.

`compile_time_options` ran everything in one job, and exited after the
wamr run: the jemalloc, admin-disabled, release-assert and
logging-disabled runs were never executed here. Each is now its own
`cto.*` target and, through the `check-build-cto-*` run flags, its own
job.

Differences from main:

- the wasm engine is selected with `--define wasm=`, as elsewhere on this
  branch
- `cto.wasmtime` is kept but commented out, in `.github/config.yml` and in
  the `cto.all` list, until the wasmtime tests are re-enabled here
- the workflow changes are not needed: the workflows run from main and
  read the run flags from this branch

(cherry picked from commit 3b16c1b)

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Port of envoyproxy#49161 (with the target names of envoyproxy#49188), as on release/v1.38
and release/v1.39, so that each compile-time option runs as its own job
and a failure can be seen per option. CI's workflows run from main and
set the jobs from the `check-build-cto-*` run flags in this branch's
`.github/config.yml`.

This branch differs from the later ones, so the targets do too:

- there is no jemalloc, and `compile-time-options` already builds with
  gperftools and zlib-ng, so there are no `cto.jemalloc` or
  `cto.gperftools` targets
- `cto.wamr` and `cto.noadmin` run the whole tree, as the two
  whole-tree runs of the previous target did; the others run the tests
  their option can affect
- `cto.noadmin`, `cto.asserts` and `cto.nolog` build with wasmtime, as
  before
- `cto.zlib_ng` keeps this branch's check of zlib-ng without the rest of
  the options
- the targets that cannot build with BoringSSL FIPS are left out, as
  before

(cherry picked from commit 3b16c1b)

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
Port of #49161 (with the naming from #49188) for this branch.

`compile_time_options` ran everything in one job, and exited after the
wamr run: the jemalloc, admin-disabled, release-assert and
logging-disabled runs were never executed here. Each is now its own
`cto.*` target and, through the `check-build-cto-*` run flags, its own
job.

Differences from main:

- the wasm engine is selected with `--define wasm=`, as elsewhere on this
  branch
- `cto.wasmtime` is kept but commented out, in `.github/config.yml` and in
  the `cto.all` list, until the wasmtime tests are re-enabled here
- the workflow changes are not needed: the workflows run from main and
  read the run flags from this branch

(cherry picked from commit 3b16c1b)

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
Port of envoyproxy#49161 (with the target names of envoyproxy#49188), as on release/v1.38
and release/v1.39, so that each compile-time option runs as its own job
and a failure can be seen per option. CI's workflows run from main and
set the jobs from the `check-build-cto-*` run flags in this branch's
`.github/config.yml`.

This branch differs from the later ones, so the targets do too:

- there is no jemalloc, and `compile-time-options` already builds with
  gperftools and zlib-ng, so there are no `cto.jemalloc` or
  `cto.gperftools` targets
- `cto.wamr` and `cto.noadmin` run the whole tree, as the two
  whole-tree runs of the previous target did; the others run the tests
  their option can affect
- `cto.noadmin`, `cto.asserts` and `cto.nolog` build with wasmtime, as
  before
- `cto.zlib_ng` keeps this branch's check of zlib-ng without the rest of
  the options
- the targets that cannot build with BoringSSL FIPS are left out, as
  before

(cherry picked from commit 3b16c1b)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants