-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visibility failure on Bazel 6.0 #23390
Comments
Adding |
FYI there's a small wrinkle with aliases ( If you're comfortable with the solution from the above comment, it doesn't matter: ignore this comment entirely. Just noting because I realize this case has an alias via |
Adding |
Note that, the flag has been flipped at HEAD, and Envoy is currently failing in downstream: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2670#0183ca5c-4612-4980-88f5-86240a1f7c65 |
Fixes envoyproxy#23390 Signed-off-by: Keith Smiley <[email protected]>
Waiting on the fix for envoyproxy/envoy#23390
Waiting on the fix for envoyproxy/envoy#23390
everything should be fixed here, please lmk if anyone else spots more issues with this! |
Hi @keith, It looks like Envoy is still failing in the downstream: https://buildkite.com/bazel/bazel-at-head-plus-disabled/builds/1461#0184143d-e174-4fa1-94a6-1b2337dd9476 |
thanks, im interested to hear replies about this on bazelbuild/bazel-skylib#404 |
Fixes envoyproxy#23390 This is an edge case, upstream issue: bazelbuild/bazel-skylib#404 Signed-off-by: Keith Smiley <[email protected]>
Fixes #23390 This is an edge case, upstream issue: bazelbuild/bazel-skylib#404 Signed-off-by: Keith Smiley <[email protected]>
Fixes envoyproxy#23390 This is an edge case, upstream issue: bazelbuild/bazel-skylib#404 Signed-off-by: Keith Smiley <[email protected]> Signed-off-by: Jonh Wendell <[email protected]>
Waiting on the fix for envoyproxy/envoy#23390
Title: Visibility failure on Bazel 6.0
Description:
Bazel 6.0 pre-release tests show envoy failing with
--incompatible_enforce_config_setting_visibility
.This isn't a surprise. That flag fixes a long-standing omission in Bazel's visibility checking:
config_setting
has never been visibility-checked. That means that if aconfig_setting
is defined in a package with private visibility, theconfig_setting
is still public. The flag updatesconfig_setting
to properly honor visibility.So flipping the flag makes it possible for existing
config_setting
references to fail. The fix is to update their visibility to reflect actual usage.Repro steps:
This leads to these config settings which need broader visibility. One option is adding this to their package:
Other options here.
I'd write a PR, but I don't understand who owns proxy-wasm-cpp-host vs. envoy and what actual visibility levels the owners want.
The text was updated successfully, but these errors were encountered: