Skip to content

Commit 385717a

Browse files
authored
chore: turn off bzlmod misguided warning (#901)
* chore: turn off bzlmod misguided warning These are misinformed, the module resolver should be permitted to find an MVS solution * chore: update golden
1 parent 5d09fc1 commit 385717a

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.aspect/bazelrc/bazel7.bazelrc

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Speed up all builds by not checking if external repository files have been modified.
22
# Docs: https://github.com/bazelbuild/bazel/blob/1af61b21df99edc2fc66939cdf14449c2661f873/src/main/java/com/google/devtools/build/lib/bazel/repository/RepositoryOptions.java#L244
3-
build --noexperimental_check_external_repository_files
4-
fetch --noexperimental_check_external_repository_files
5-
query --noexperimental_check_external_repository_files
3+
common --noexperimental_check_external_repository_files
4+
5+
# Don't report when the root module's lower bound for a dependency happens to be less than the resolved version.
6+
# This is expected and should NOT prompt an engineer to update our lower bound to match.
7+
# WARNING: For repository 'aspect_bazel_lib', the root module requires module version aspect_bazel_lib@1.30.2,
8+
# but got aspect_bazel_lib@1.31.2 in the resolved dependency graph.
9+
common --check_direct_dependencies=off
610

711
# Directories used by sandboxed non-worker execution may be reused to avoid unnecessary setup costs.
812
# Save time on Sandbox creation and deletion when many of the same kind of action run during the

lib/tests/bazelrc_presets/all/bazel7.bazelrc

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Speed up all builds by not checking if external repository files have been modified.
22
# Docs: https://github.com/bazelbuild/bazel/blob/1af61b21df99edc2fc66939cdf14449c2661f873/src/main/java/com/google/devtools/build/lib/bazel/repository/RepositoryOptions.java#L244
3-
build --noexperimental_check_external_repository_files
4-
fetch --noexperimental_check_external_repository_files
5-
query --noexperimental_check_external_repository_files
3+
common --noexperimental_check_external_repository_files
4+
5+
# Don't report when the root module's lower bound for a dependency happens to be less than the resolved version.
6+
# This is expected and should NOT prompt an engineer to update our lower bound to match.
7+
# WARNING: For repository 'aspect_bazel_lib', the root module requires module version aspect_bazel_lib@1.30.2,
8+
# but got aspect_bazel_lib@1.31.2 in the resolved dependency graph.
9+
common --check_direct_dependencies=off
610

711
# Directories used by sandboxed non-worker execution may be reused to avoid unnecessary setup costs.
812
# Save time on Sandbox creation and deletion when many of the same kind of action run during the

0 commit comments

Comments
 (0)