From d435dd23616fcfcef346bf2a7926616ba2bbbf00 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Fri, 3 Oct 2025 11:22:42 -0700 Subject: [PATCH] fix(bazel): expose codspeed_mode flag My root module depends transitively on codspeed through an intermediary. It does not depend on it directly with a `bazel_dep` in MODULE.bazel. Thus I cannot set `--@codspeed//core:codspeed_mode` on my command line - in bzlmod that's a strict visibility violation. The intermediary should provide an alias to set the mode. This requires the flag to be public. --- core/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/core/BUILD b/core/BUILD index d1cdef2..1390823 100644 --- a/core/BUILD +++ b/core/BUILD @@ -67,6 +67,7 @@ string_flag( "instrumentation", "walltime", ], + visibility = ["//visibility:public"], ) config_setting(