Only get specific BEP events with -build_event_json_file #14054
Labels
P4
This is either out of scope or we don't have bandwidth to review a PR. (No assignee)
team-Core
Skyframe, bazel query, BEP, options parsing, bazelrc
type: feature request
Description of the problem / feature request:
I want to get the uuid of the
BuildStarted
BEP event of a large CI build, so I am currently doing this by adding the-build_event_json_file
flag to my runs and extracting the data from there, by reading the head of the built event json file and saving that. (BuildStarted
is the first BEP event in the build event json).However, a lot of the builds unfortunately time out, due to the large amount of time writing the build event json file. I'd like to get rid of this behaviour where it tries to upload the full file. Is there any way of doing this? I couldn't find anything on this, and no response on slack
Feature request
If it doesn't exist already, could the flag
-build_event_json_file
include a way to only dump the json for certain events? E.g. I just want the BEP Json forBuildStarted
eventWhat operating system are you running Bazel on?
Ubuntu 20.04.3
Any other information, logs, or outputs that you want to share?
The text was updated successfully, but these errors were encountered: