Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.0.0] Delete the now redundant --experimental_execution_log_file flag, and optimize creation of unsorted logs. #20132

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

tjgq
Copy link
Contributor

@tjgq tjgq commented Nov 9, 2023

Since we're about to introduce a new log format (see #18643), let's take this opportunity to clean up the command line API.

Avoid a pointless copy of the execution log, if no sorting is requested, by writing directly into the requested output binary path. If a temporary file is necessary, write it to a well-known path in the output base, and delete it after conversions are successful; this ensures that large temporary files don't accumulate in /tmp.

RELNOTES[INC]: Delete the --experimental_execution_log_file flag. Use --execution_log_binary_file in conjunction with --noexecution_log_sort instead.

PiperOrigin-RevId: 580132026
Change-Id: Icca827260176b3ea804384d2bed4a56ce85cfc14

…ag, and optimize creation of unsorted logs.

Since we're about to introduce a new log format (see bazelbuild#18643), let's take this opportunity to clean up the command line API.

Avoid a pointless copy of the execution log, if no sorting is requested, by writing directly into the requested output binary path. If a temporary file is necessary, write it to a well-known path in the output base, and delete it after conversions are successful; this ensures that large temporary files don't accumulate in /tmp.

RELNOTES[INC]: Delete the --experimental_execution_log_file flag. Use --execution_log_binary_file in conjunction with --noexecution_log_sort instead.

PiperOrigin-RevId: 580132026
Change-Id: Icca827260176b3ea804384d2bed4a56ce85cfc14
@tjgq tjgq requested a review from a team as a code owner November 9, 2023 22:12
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Nov 9, 2023
@sgowroji sgowroji added the team-Remote-Exec Issues and PRs for the Execution (Remote) team label Nov 10, 2023
@keertk keertk self-requested a review November 10, 2023 08:56
@keertk keertk merged commit b2115a7 into bazelbuild:release-7.0.0 Nov 10, 2023
32 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Nov 10, 2023
@tjgq tjgq deleted the execlog-flag-cherrypick branch March 7, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants