bazelbuild/bazel

Include execution kind in RunnerCount of BEP

Open

#17,296 创建于 2023年1月23日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)Java (4,465 fork)batch import
P3category: BEPhelp wantedteam-Performancetype: feature request

仓库指标

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

描述

Description of the feature request:

The Build Event Protocol currently includes information about how many of each type of runner were created during a build in the RunnerCount message found inside the BuildMetrics message. We think it would be useful if RunnerCount also included the field execution_kind, which would contain a string corresponding to the return value of SpawnMetrics#execKind() to clarify what type of execution the runner corresponds to.

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

We find that we often want to know higher-level information about how many local and how many remote runners were used during a build, rather than a more granular breakdown within these. With the current structure of the Build Event Protocol, this requires knowledge about which types of runners exist and which execution kinds they correspond to at the time when the data is analyzed. This information also has to be kept up do date if new runner types are added in the future. Analyzing the BEP data would be simpler if the execution kind information could instead be found directly in the data itself.

Which operating system are you running Bazel on?

Red Hat Enterprise Linux 7.9

What is the output of bazel info release?

No response

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

贡献者指南