Skip to content

Move root bzlmod sibling overrides into CI and compose defaults - #1401

Draft
phlax with Copilot wants to merge 2 commits into
mainfrom
copilot/clean-root-module-bazel
Draft

Move root bzlmod sibling overrides into CI and compose defaults#1401
phlax with Copilot wants to merge 2 commits into
mainfrom
copilot/clean-root-module-bazel

Conversation

Copilot AI commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

The root envoy-examples module had committed sibling local_path_override stanzas, unlike the sibling modules that keep MODULE.bazel publishable and inject overrides in CI. This makes the root module follow the same pattern while preserving local compose-based development.

  • Root module

    • Removed committed sibling and commented upstream override stanzas from MODULE.bazel.
    • Kept published sibling dependencies as versioned bazel_deps.
  • CI wiring

    • Added a _verify_examples.yml step to append sibling overrides during CI, after Bazel cache setup and before verification.
local_path_override(
    module_name = "envoy-example-filter-cc",
    path = "filter-cc",
)
local_path_override(
    module_name = "envoy-example-wasm-cc",
    path = "wasm-cc",
)
  • Local development
    • Added default BAZEL_BUILD_EXTRA_OPTIONS for the examples compose service so local runs resolve sibling modules from the checkout by default.

Co-authored-by: phlax <454682+phlax@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor root MODULE.bazel to clean local path overrides Move root bzlmod sibling overrides into CI and compose defaults Sep 4, 2026
Copilot AI requested a review from phlax September 4, 2026 11:05
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