Skip to content

[9.3.0] Add --incompatible_require_repo_extension_metadata (https://github.com/bazelbuild/bazel/pull/30202) - #30656

Open
keith wants to merge 1 commit into
bazelbuild:release-9.3.0from
keith:ks/9.3.0-add-incompatible_require_repo_extension_metadata-https-github.com-bazelbuild-bazel-pull-30202
Open

[9.3.0] Add --incompatible_require_repo_extension_metadata (https://github.com/bazelbuild/bazel/pull/30202)#30656
keith wants to merge 1 commit into
bazelbuild:release-9.3.0from
keith:ks/9.3.0-add-incompatible_require_repo_extension_metadata-https-github.com-bazelbuild-bazel-pull-30202

Conversation

@keith

@keith keith commented Aug 10, 2026

Copy link
Copy Markdown
Member

This flag allows you to enforce that all module_extensions and
repository_rules return metadata. This metadata is used to determine how
to handle the extension for the lockfile and R2C2 respectively. You can
either error on any of these missing metadata, or just ones defined in
the root module. Eventually it would be ideal to flip this but that
likely requires a lot of backfilling (that we want to do anyways)

Closes #30202.

Closees #30464

PiperOrigin-RevId: 955379016
Change-Id: I8facf9291188f503d8f82e77e8f63e20cec9a828
(cherry picked from commit d194e06)

…d#30202)

This flag allows you to enforce that all module_extensions and
repository_rules return metadata. This metadata is used to determine how
to handle the extension for the lockfile and R2C2 respectively. You can
either error on any of these missing metadata, or just ones defined in
the root module. Eventually it would be ideal to flip this but that
likely requires a lot of backfilling (that we want to do anyways)

Closes bazelbuild#30202.

Closees bazelbuild#30464

PiperOrigin-RevId: 955379016
Change-Id: I8facf9291188f503d8f82e77e8f63e20cec9a828
(cherry picked from commit d194e06)
@keith
keith requested a review from a team as a code owner August 10, 2026 21:15
@keith
keith requested a review from iancha1992 August 10, 2026 21:16
@github-actions github-actions Bot added team-Configurability platforms, toolchains, cquery, select(), config transitions team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. team-Core Skyframe, bazel query, BEP, options parsing, bazelrc area-Bzlmod Bzlmod-specific PRs, issues, and feature requests awaiting-review PR is awaiting review from an assigned reviewer labels Aug 10, 2026
@iancha1992
iancha1992 enabled auto-merge August 11, 2026 17:12
@iancha1992
iancha1992 added this pull request to the merge queue Aug 12, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 12, 2026
@keith

keith commented Aug 12, 2026

Copy link
Copy Markdown
Member Author

@iancha1992 can you re-enqueue, looks like a CI issue

@iancha1992
iancha1992 added this pull request to the merge queue Aug 12, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 12, 2026
@keith

keith commented Aug 12, 2026

Copy link
Copy Markdown
Member Author

now it says canceled, but that's not something I did 🤔

@iancha1992
iancha1992 added this pull request to the merge queue Aug 12, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Bzlmod Bzlmod-specific PRs, issues, and feature requests awaiting-review PR is awaiting review from an assigned reviewer team-Configurability platforms, toolchains, cquery, select(), config transitions team-Core Skyframe, bazel query, BEP, options parsing, bazelrc team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants