[bazel] Set modular_config scope for host_modular_config by keith · Pull Request #6687 · modular/modular · GitHub
Skip to content

[bazel] Set modular_config scope for host_modular_config#6687

Open
keith wants to merge 1 commit into
modular:mainfrom
keith:ks/bazel-set-modular_config-scope-for-host_modular_config
Open

[bazel] Set modular_config scope for host_modular_config#6687
keith wants to merge 1 commit into
modular:mainfrom
keith:ks/bazel-set-modular_config-scope-for-host_modular_config

Conversation

@keith

@keith keith commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This sets modular_config to be inherited from host_modular_config
when in the exec configuration. This stuff is still changing upstream
but since this repo uses such a new bazel version this works.

Before this any places that select() on modular_config in the exec
transition would get the default value.

bazelbuild/bazel#28320

This sets `modular_config` to be inherited from `host_modular_config`
when in the exec configuration. This stuff is still changing upstream
but since this repo uses such a new bazel version this works.

Before this any places that `select()` on `modular_config` in the exec
transition would get the default value.

bazelbuild/bazel#28320
Copilot AI review requested due to automatic review settings June 16, 2026 20:01
@keith keith requested a review from a team as a code owner June 16, 2026 20:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the Bazel build setting for modular_config to introduce an execution-scope mapping to a host-specific modular config flag.

Changes:

  • Adds a scope attribute to the string_flag(name = "modular_config", ...) definition.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread BUILD.bazel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants