Repository navigation
[bp/1.40] ci: Flattened compile-time options and gcc checks - #49184
Merged
Merged
Conversation
Member
Author
|
@jwendell this include the openssl.asan - which i dont mind too much as its pretty lightweight - altho probs it could be dropped |
phlax
force-pushed
the
bp-1.40-ci-checks
branch
2 times, most recently
from
November 11, 2026 21:00
1dd4644 to
a703c37
Compare
…voyproxy#49007) Added post-merge ASAN build of the OpenSSL compatibility layer utests. Signed-off-by: Ted Poole <[email protected]> Signed-off-by: Ryan Northey <[email protected]>
`_request.yml` lists a Check/build job for each `check-build-<check>-<option>` run flag set in the target branch's config, as the `<check>.<option>` target, for the compile-time options (`cto`) and `gcc` checks. `_check_build.yml` runs that list. A branch with no flags for a check keeps its single job (`compile_time_options`, `gcc`). No branch has any yet, so nothing changes. this will allow more dynamic (per-branch) handling of the checks sub/jobs - cto, gcc, openssl Signed-off-by: Ryan Northey <[email protected]>
The check ran the whole tree twice in one job, each time with several options mixed in. It is now one `do_ci.sh` subtask and one Check/build job per option: - `cto.base`: the `compile-time-options` config plus jemalloc, all tests - `cto.noadmin`: admin disabled, all tests - `cto.gperftools`: the server tests and those that observe allocation - `cto.wamr`, `cto.wasmtime`: the wasm extension tests, and those that link the engine with the rest of Envoy (the server, dynamic modules) - `cto.asserts`, `cto.nolog`: the same targets as before `compile_time_options` (or `cto`) runs them all. Test runs use `--build_tests_only`. Jobs are enabled and path selected by `check-build-cto-<option>` run flags; a branch with none keeps the single `compile_time_options` job. Fixes AdminInstanceTest.MemoryTcmalloc under jemalloc. Requires envoyproxy#49170, which this is stacked on. --------- Signed-off-by: Ryan Northey <[email protected]>
`gcc` built the server and tools in five bazel invocations, then ran the tests in a sixth. It now builds them as part of the test invocation. `gcc.build` and `gcc.test` (were `gcc.server_only`, `gcc.test_only`) do one half each, and `gcc.build` builds in one invocation too. Check/build runs `gcc.build` and `gcc.test` as separate jobs, enabled and path selected by `check-build-gcc-*` run flags in the same way as the `cto.*` jobs; a branch with none keeps the single `gcc` job. This changes when gcc runs: it was part of `check-build`, which runs for any change, and now only runs when the paths its flags list change (the source and test trees, the build configuration and the CI scripts), so not for e.g. a docs only change. --------- (cherry picked from commit c64ab1f) Backport note: the gcc section of `ci/do_ci.sh` and its paragraph in `ci/README.md` conflicted with this branch's older text and are taken as on main. `AGENTS.md` is left as on this branch. Signed-off-by: Ryan Northey <[email protected]>
…49173) `openssl.presubmit` built the server and tools in five bazel invocations before selecting and running the affected tests. `openssl.build` now builds them in one, and `openssl.test_affected` only selects and tests; the selection itself is unchanged. `openssl.test` is the test half of `openssl`. Check/build (OpenSSL) runs these and `openssl.asan` as separate jobs, enabled and path selected by `check-build-openssl-*` run flags in the same way as the `cto.*` and `gcc.*` jobs. Pull requests get the build and the affected tests, anything else the build, all tests and asan, as before. A branch without the new flags keeps the jobs it had. release/v1.40 already has a `check-build-openssl-presubmit` flag, so the request ignores the old flag names when deciding that; this can be removed once the branches that predate the `openssl.*` targets are no longer supported. `openssl.presubmit` stays in `do_ci.sh` until the flags are on main, as that is what a pull request is asked for until then. --------- Signed-off-by: Ryan Northey <[email protected]>
envoyproxy#49177) …arget For consistency with the other `do_ci.sh` subtargets. `fuzz_coverage` still works, and is what CI uses until the branches it runs for have the new name. 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: "Compile time options (jemalloc)". Signed-off-by: Ryan Northey <[email protected]>
phlax
force-pushed
the
bp-1.40-ci-checks
branch
from
November 11, 2026 21:28
12bf1fd to
b045cc4
Compare
Member
Feel free to remove or leave it, whatever is easier for you (maybe leaving it means less merge conflicts when backporting stuff?) |
jwendell
approved these changes
Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the flattened
Check/buildlayout frommaintorelease/v1.40, so that each compile-time option, the gcc build and test, and the OpenSSL targets run as their own jobs and failures can be seen per job.Rebased onto
release/v1.40after #49174 landed, and rebuilt from the commits as merged tomain:coverage.fuzzas the name of thefuzz_coveragetarget (ci/coverage: Addcoverage.fuzzas the name of thefuzz_coveraget… #49177)cto.basetocto.jemalloc(ci/cto: Renamecto.basetocto.jemalloc#49188)Differences from
main:ci/do_ci.shand its paragraph inci/README.mdconflict with this branch's older text and are taken as onmain(the commit has a backport note).AGENTS.md(andcompat/openssl/AGENTS.md) are left as on this branch.With the wasmtime tests now re-enabled on this branch,
cto.wasmtimeis included as onmain.Note that the previous
compile_time_optionstarget on this branch exited after the wamr run, so the jemalloc, admin-disabled, release-assert and logging-disabled runs have not been running here. They now do, ascto.jemalloc,cto.noadmin,cto.assertsandcto.nolog.