Repository navigation
ci: Remove the toolchain default behavior test - #49358
Merged
Merged
Conversation
phlax
force-pushed
the
toolchain-test-build-images
branch
2 times, most recently
from
November 17, 2026 16:12
1e1718b to
e8e229b
Compare
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages from the `ubuntu-toolchain-r/test` PPA, which often returns 503s: every failure of the workflow sampled from its last 60 runs was the image build, not a test. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, which is what the rest of CI builds with. Remove the workflow, `ci/matrix`, the `//tools/toolchain:detect` binary that only it used, and the Dependabot entry for its Dockerfile. Signed-off-by: Ryan Northey <[email protected]>
phlax
force-pushed
the
toolchain-test-build-images
branch
from
November 17, 2026 16:12
e8e229b to
c001a67
Compare
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the removal of the Docker-based toolchain tests and associated infrastructure.
No open issues 🎉
What changed in this PR
Removes the Docker-based toolchain selection tests to eliminate failures from their package-installation infrastructure. Envoy now uses hermetic toolchains, with LLVM and GCC exercised by existing CI jobs.
Changes:
- Deletes the four-environment workflow and its Docker setup, scripts, and documentation.
- Removes the compiler-detection executable and its Bazel target.
- Removes Dependabot tracking for the deleted Dockerfile. Dedicated host GCC override coverage is also removed.
| File | Description |
|---|---|
tools/toolchain/detect.cc |
Deletes the compiler, standard-library, and sysroot probe. |
tools/toolchain/BUILD |
Removes the detection binary’s Bazel target. |
ci/matrix/test.sh |
Deletes toolchain selection and host GCC checks. |
ci/matrix/README.md |
Removes documentation for the deleted test suite. |
ci/matrix/entrypoint.sh |
Deletes the test container’s user-setup entrypoint. |
ci/matrix/Dockerfile |
Removes the test container image definition. |
ci/matrix/docker-compose.yml |
Deletes the four test environment configurations. |
.github/workflows/toolchain-test.yml |
Removes the toolchain test workflow. |
.github/dependabot.yml |
Removes updates for the deleted matrix Dockerfile. |
Review effort: Balanced
phlax
marked this pull request as ready for review
November 17, 2026 16:27
jwendell
approved these changes
Nov 17, 2026
phlax
enabled auto-merge (squash)
November 17, 2026 16:32
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Backport note (release/v1.39): the files differ on this branch, and are removed as they are here. The GCC toolchain is not hermetic on this branch, so the test did cover the default here; it is removed all the same, as its environments fail to build from the PPA. (cherry picked from commit 1e33223) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Backport note (release/v1.38): the files differ on this branch, and are removed as they are here. The GCC toolchain is not hermetic on this branch, so the test did cover the default here; it is removed all the same, as its environments fail to build from the PPA. (cherry picked from commit 1e33223) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Backport note (release/v1.38): the files differ on this branch, and are removed as they are here. The GCC toolchain is not hermetic on this branch, so the test did cover the default here; it is removed all the same, as its environments fail to build from the PPA. (cherry picked from commit 1e33223) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Backport note (release/v1.37): the files differ on this branch, and are removed as they are here. The GCC toolchain is not hermetic on this branch, so the test did cover the default here; it is removed all the same, as its environments fail to build from the PPA. (cherry picked from commit 1e33223) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Backport note (release/v1.38): the files differ on this branch, and are removed as they are here. The GCC toolchain is not hermetic on this branch, so the test did cover the default here; it is removed all the same, as its environments fail to build from the PPA. (cherry picked from commit 1e33223) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Backport note (release/v1.37): the files differ on this branch, and are removed as they are here. The GCC toolchain is not hermetic on this branch, so the test did cover the default here; it is removed all the same, as its environments fail to build from the PPA. (cherry picked from commit 1e33223) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Backport note (release/v1.37): the files differ on this branch, and are removed as they are here. The GCC toolchain is not hermetic on this branch, so the test did cover the default here; it is removed all the same, as its environments fail to build from the PPA. (cherry picked from commit 1e33223) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Backport note (release/v1.38): the files differ on this branch, and are removed as they are here. The GCC toolchain is not hermetic on this branch, so the test did cover the default here; it is removed all the same, as its environments fail to build from the PPA. (cherry picked from commit 1e33223) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Backport note (release/v1.37): the files differ on this branch, and are removed as they are here. The GCC toolchain is not hermetic on this branch, so the test did cover the default here; it is removed all the same, as its environments fail to build from the PPA. (cherry picked from commit 1e33223) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 18, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Backport note (release/v1.37): the files differ on this branch, and are removed as they are here. The GCC toolchain is not hermetic on this branch, so the test did cover the default here; it is removed all the same, as its environments fail to build from the PPA. (cherry picked from commit 1e33223) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 18, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.40): the workflow and the dependabot entry differ on this branch, and are removed as they are here. (cherry picked from commit 1e33223)
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 19, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.40): the workflow and the dependabot entry differ on this branch, and are removed as they are here. (cherry picked from commit 1e33223)
phlax
added a commit
that referenced
this pull request
Nov 19, 2026
The test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the `ubuntu-toolchain-r/test` PPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure. The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and `--config=gcc` the GCC one, and both are what the rest of CI builds with. Removed: - the `Toolchain default behavior test` workflow (`.github/workflows/toolchain-test.yml`) - `ci/matrix` - `//tools/toolchain:detect`, which only the test used - the Dependabot entry for the test's Dockerfile What only this test covered is the explicit host GCC override, `gcc.host` (still documented in `bazel/README.md`): nothing in CI builds with a host GCC. Its other checks (which compiler and standard library a build gets, that `//bazel:gcc_build` matches with `--config=gcc`, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used. Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.40): the workflow and the dependabot entry differ on this branch, and are removed as they are here. (cherry picked from commit 1e33223)
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 test built four Docker environments (host GCC, the LLVM prerequisites, both, neither) and checked which toolchain each got. The environments were built by installing packages into a stock Ubuntu image from the
ubuntu-toolchain-r/testPPA, which often returns 503s. Of the last 60 runs of the workflow 10 failed, and every failed job sampled (12) died in that image build; none was a toolchain test failure.The toolchains are hermetic now, so the environment does not decide anything: the default is the LLVM toolchain and
--config=gccthe GCC one, and both are what the rest of CI builds with.Removed:
Toolchain default behavior testworkflow (.github/workflows/toolchain-test.yml)ci/matrix//tools/toolchain:detect, which only the test usedWhat only this test covered is the explicit host GCC override,
gcc.host(still documented inbazel/README.md): nothing in CI builds with a host GCC.Its other checks (which compiler and standard library a build gets, that
//bazel:gcc_buildmatches with--config=gcc, the hermetic GCC's sysroot) are not asserted elsewhere, but the clang and gcc CI jobs build and test everything with those toolchains and their compiler-specific options, and would break if the wrong one was used.