Skip to content

ci: fix OpenSSL presubmit test selection under bzlmod - #47300

Merged
jwendell merged 1 commit into
envoyproxy:mainfrom
jwendell:ci-openssl-presubmit-bzlmod-query
Sep 8, 2026
Merged

jwendell merged 1 commit into
envoyproxy:mainfrom
jwendell:ci-openssl-presubmit-bzlmod-query

Conversation

@jwendell

@jwendell jwendell commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

The presubmit selects affected tests with bazel query/rdeps. Since the
WORKSPACE removal (#47217) that query aborted with exit 7, failing the job
for reasons unrelated to the PR under test.

  • Use cquery rather than query. It resolves against the configured graph,
    so unresolvable untaken select() branches (e.g. @@perfetto+//:perfetto)
    are never visited. Pass --config=openssl so selection matches the tests
    actually run.
  • Import rules_fuzzing_oss_fuzz, referenced by //bazel:fuzzing_engine.
  • Fail loudly when the merge-base diff fails, rather than selecting no
    tests and reporting a green job that tested nothing.

Comment thread MODULE.bazel Resolved
Comment thread ci/do_ci.sh Resolved
Comment thread ci/do_ci.sh Resolved
The presubmit selects affected tests with bazel query/rdeps. Since the
WORKSPACE removal (envoyproxy#47217) that query aborted with exit 7, failing the job
for reasons unrelated to the PR under test.

- Use cquery rather than query. It resolves against the configured graph,
  so unresolvable untaken select() branches (e.g. @@perfetto+//:perfetto)
  are never visited. Pass --config=openssl so selection matches the tests
  actually run.
- Import rules_fuzzing_oss_fuzz, referenced by //bazel:fuzzing_engine.
- Fail loudly when the merge-base diff fails, rather than selecting no
  tests and reporting a green job that tested nothing.

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Jonh Wendell <[email protected]>
@jwendell
jwendell force-pushed the ci-openssl-presubmit-bzlmod-query branch from 5e81078 to f95efa3 Compare September 8, 2026 15:47

@phlax phlax left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @jwendell

@jwendell
jwendell enabled auto-merge (squash) September 8, 2026 16:04
@jwendell
jwendell merged commit 703f66f into envoyproxy:main Sep 8, 2026
23 of 24 checks passed
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.

2 participants