Repository navigation
ci/openssl: Leave incompatible targets out of the presubmit selection - #49150
Merged
Merged
Conversation
The presubmit selects the affected tests with cquery and passes them to bazel test as explicit labels. cquery includes targets that are incompatible with the target platform, such as the Windows-only //test/exe:win32_scm_test (envoyproxy#48922), and Bazel only skips those for wildcard patterns: as explicit labels they abort the build with "command succeeded, but not all targets were analyzed", as on any PR touching test/exe/BUILD. The selection now drops them, by checking for IncompatiblePlatformProvider in the cquery starlark output. Signed-off-by: Ryan Northey <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the change excluding platform-incompatible targets from OpenSSL presubmit tests.
No open issues 🎉
What changed in this PR
Updates OpenSSL presubmit test selection to exclude platform-incompatible targets, preventing Windows-only tests from aborting builds when passed to Bazel as explicit labels.
Changes:
- Filters cquery results using
IncompatiblePlatformProviderand removes resulting blank lines. - Updates comments to explain the filtering and clarify the remaining purpose of
--keep_going.
| File | Description |
|---|---|
ci/do_ci.sh |
Excludes incompatible targets from cquery output used for OpenSSL presubmit testing. |
Review effort: Balanced
phlax
enabled auto-merge (squash)
November 10, 2026 17:52
jwendell
approved these changes
Nov 10, 2026
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 11, 2026
…envoyproxy#49150) The presubmit selects the affected tests with cquery and passes them to bazel test as explicit labels. cquery includes targets that are incompatible with the target platform, such as the Windows-only //test/exe:win32_scm_test (envoyproxy#48922), and Bazel only skips those for wildcard patterns: as explicit labels they abort the build with "command succeeded, but not all targets were analyzed", as on any PR touching test/exe/BUILD. The selection now drops them, by checking for IncompatiblePlatformProvider in the cquery starlark output. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 11, 2026
…envoyproxy#49150) The presubmit selects the affected tests with cquery and passes them to bazel test as explicit labels. cquery includes targets that are incompatible with the target platform, such as the Windows-only //test/exe:win32_scm_test (envoyproxy#48922), and Bazel only skips those for wildcard patterns: as explicit labels they abort the build with "command succeeded, but not all targets were analyzed", as on any PR touching test/exe/BUILD. The selection now drops them, by checking for IncompatiblePlatformProvider in the cquery starlark output. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 11, 2026
…envoyproxy#49150) The presubmit selects the affected tests with cquery and passes them to bazel test as explicit labels. cquery includes targets that are incompatible with the target platform, such as the Windows-only //test/exe:win32_scm_test (envoyproxy#48922), and Bazel only skips those for wildcard patterns: as explicit labels they abort the build with "command succeeded, but not all targets were analyzed", as on any PR touching test/exe/BUILD. The selection now drops them, by checking for IncompatiblePlatformProvider in the cquery starlark output. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 11, 2026
…envoyproxy#49150) The presubmit selects the affected tests with cquery and passes them to bazel test as explicit labels. cquery includes targets that are incompatible with the target platform, such as the Windows-only //test/exe:win32_scm_test (envoyproxy#48922), and Bazel only skips those for wildcard patterns: as explicit labels they abort the build with "command succeeded, but not all targets were analyzed", as on any PR touching test/exe/BUILD. The selection now drops them, by checking for IncompatiblePlatformProvider in the cquery starlark output. Signed-off-by: Ryan Northey <[email protected]>
jwendell
pushed a commit
that referenced
this pull request
Nov 11, 2026
…#49150) The presubmit selects the affected tests with cquery and passes them to bazel test as explicit labels. cquery includes targets that are incompatible with the target platform, such as the Windows-only //test/exe:win32_scm_test (#48922), and Bazel only skips those for wildcard patterns: as explicit labels they abort the build with "command succeeded, but not all targets were analyzed", as on any PR touching test/exe/BUILD. The selection now drops them, by checking for IncompatiblePlatformProvider in the cquery starlark output. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 13, 2026
Backport of envoyproxy#49173 and envoyproxy#49150, and the `openssl.asan` target of envoyproxy#49007, so that this branch runs the same OpenSSL jobs as main and release/v1.40: `openssl.build` and `openssl.test_affected` for pull requests, and `openssl.build` and `openssl.test` for everything else. CI's workflows run from main, and set the OpenSSL jobs from the `check-build-openssl-*` run flags in this branch's `.github/config.yml`, so only the config and `ci/do_ci.sh` are ported. As before on this branch, the OpenSSL builds set up the clang toolchain and leave the quiche tests out, and `WORKSPACE` is treated as a build-wide change. The post-merge ASAN job is not turned on: the compat layer on this branch still loads OpenSSL with `RTLD_DEEPBIND`, which ASAN does not support. Main stopped using it in envoyproxy#48972. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 13, 2026
Backport of envoyproxy#49173 and envoyproxy#49150, and the `openssl.asan` target of envoyproxy#49007, so that this branch runs the same OpenSSL jobs as main and release/v1.40: `openssl.build` and `openssl.test_affected` for pull requests, and `openssl.build` and `openssl.test` for everything else. CI's workflows run from main, and set the OpenSSL jobs from the `check-build-openssl-*` run flags in this branch's `.github/config.yml`, so only the config and `ci/do_ci.sh` are ported. As before on this branch, the OpenSSL builds set up the clang toolchain and leave the quiche tests out, and `WORKSPACE` is treated as a build-wide change. The post-merge ASAN job is not turned on: the compat layer on this branch still loads OpenSSL with `RTLD_DEEPBIND`, which ASAN does not support. Main stopped using it in envoyproxy#48972. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 13, 2026
Backport of envoyproxy#49173 and envoyproxy#49150, and the `openssl.asan` target of envoyproxy#49007, so that this branch runs the same OpenSSL jobs as main and release/v1.40: `openssl.build` and `openssl.test_affected` for pull requests, and `openssl.build` and `openssl.test` for everything else. CI's workflows run from main, and set the OpenSSL jobs from the `check-build-openssl-*` run flags in this branch's `.github/config.yml`, so only the config and `ci/do_ci.sh` are ported. As before on this branch, the OpenSSL builds set up the clang toolchain and leave the quiche tests out, and `WORKSPACE` is treated as a build-wide change. The post-merge ASAN job is not turned on: the compat layer on this branch still loads OpenSSL with `RTLD_DEEPBIND`, which ASAN does not support. Main stopped using it in envoyproxy#48972. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 13, 2026
Backport of envoyproxy#49173 and envoyproxy#49150, and the `openssl.asan` target of envoyproxy#49007, so that this branch runs the same OpenSSL jobs as main and release/v1.40: `openssl.build` and `openssl.test_affected` for pull requests, and `openssl.build` and `openssl.test` for everything else. CI's workflows run from main, and set the OpenSSL jobs from the `check-build-openssl-*` run flags in this branch's `.github/config.yml`, so only the config and `ci/do_ci.sh` are ported. As before on this branch, the OpenSSL builds set up the clang toolchain and leave the quiche tests out, and `WORKSPACE` is treated as a build-wide change. The post-merge ASAN job is not turned on: the compat layer on this branch still loads OpenSSL with `RTLD_DEEPBIND`, which ASAN does not support. Main stopped using it in envoyproxy#48972. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…49173) Backport of envoyproxy#49173 and envoyproxy#49150, and the `openssl.asan` target of envoyproxy#49007, so that this branch runs the same OpenSSL jobs as main and release/v1.40: `openssl.build` and `openssl.test_affected` for pull requests, and `openssl.build` and `openssl.test` for everything else. CI's workflows run from main, and set the OpenSSL jobs from the `check-build-openssl-*` run flags in this branch's `.github/config.yml`, so only the config and `ci/do_ci.sh` are ported. As before on this branch, the OpenSSL builds set up the clang toolchain and leave the quiche tests out, and `WORKSPACE` is treated as a build-wide change. The post-merge ASAN job is not turned on: the compat layer on this branch still loads OpenSSL with `RTLD_DEEPBIND`, which ASAN does not support. Main stopped using it in envoyproxy#48972. (cherry picked from commit 02bc21e) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…49173) Backport of envoyproxy#49173 and envoyproxy#49150, and the `openssl.asan` target of envoyproxy#49007, so that this branch runs the same OpenSSL jobs as main and release/v1.40: `openssl.build` and `openssl.test_affected` for pull requests, and `openssl.build` and `openssl.test` for everything else. CI's workflows run from main, and set the OpenSSL jobs from the `check-build-openssl-*` run flags in this branch's `.github/config.yml`, so only the config and `ci/do_ci.sh` are ported. As before on this branch, the OpenSSL builds set up the clang toolchain and leave the quiche tests out, and `WORKSPACE` is treated as a build-wide change. The post-merge ASAN job is not turned on: the compat layer on this branch still loads OpenSSL with `RTLD_DEEPBIND`, which ASAN does not support. Main stopped using it in envoyproxy#48972. (cherry picked from commit 02bc21e) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 17, 2026
Backport of #49173 and #49150, and the `openssl.asan` target of #49007, so that this branch runs the same OpenSSL jobs as main and release/v1.40: `openssl.build` and `openssl.test_affected` for pull requests, and `openssl.build` and `openssl.test` for everything else. CI's workflows run from main, and set the OpenSSL jobs from the `check-build-openssl-*` run flags in this branch's `.github/config.yml`, so only the config and `ci/do_ci.sh` are ported. As before on this branch, the OpenSSL builds set up the clang toolchain and leave the quiche tests out, and `WORKSPACE` is treated as a build-wide change. The post-merge ASAN job is not turned on: the compat layer on this branch still loads OpenSSL with `RTLD_DEEPBIND`, which ASAN does not support. Main stopped using it in #48972. (cherry picked from commit 02bc21e) Signed-off-by: Ryan Northey <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The presubmit selects the affected tests with cquery and passes them to bazel test as explicit labels. cquery includes targets that are incompatible with the target platform, such as the Windows-only //test/exe:win32_scm_test (#48922), and Bazel only skips those for wildcard patterns: as explicit labels they abort the build with "command succeeded, but not all targets were analyzed", as on any PR touching test/exe/BUILD. The selection now drops them, by checking for IncompatiblePlatformProvider in the cquery starlark output.