bazelbuild/bazel

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

Open

#19,589 创建于 2023年9月21日

在 GitHub 查看
 (0 评论) (6 反应) (0 负责人)Java (4,465 fork)batch import
P3help wantedteam-CLItype: feature request

仓库指标

Star
 (25,384 star)
PR 合并指标
 (平均合并 22天 20小时) (30 天内合并 77 个 PR)

描述

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

贡献者指南