bazelbuild/bazel

Allow for suppressing `Use --sandbox_debug to see verbose ...`

Open

#19,589 opened on Sep 21, 2023

View on GitHub
 (0 comments) (6 reactions) (0 assignees)Java (4,465 forks)batch import
P3help wantedteam-CLItype: feature request

Repository metrics

Stars
 (25,384 stars)
PR merge metrics
 (Avg merge 22d 20h) (77 merged PRs in 30d)

Description

Description of the feature request:

Today on build failures when using sandboxing, Bazel prints a message similar to Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging.

Make it so --ui_event_filters can be used to suppress this message.

Which category does this issue belong to?

CLI

What underlying problem are you trying to solve with this feature?

For many "non-build" engineers interacting with Bazel, --sandbox_debug is almost certainly not the reccomened workflow to understand a build failure, because the build failure is likely due to an error at the "application" level rather than than due to an issue with Bazel sandboxing. Today, we see engineers frequently being mislead by this help text and it would be nice to be able to easily suppress it using --ui_event_filters or similar.

Which operating system are you running Bazel on?

No response

What is the output of bazel info release?

release 6.3.1

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Contributor guide