Skip to content

Add --file_write_strategy to Bazel #9

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

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

Conversation

arvi18
Copy link

@arvi18 arvi18 commented Apr 16, 2025

Work towards bazelbuild#24808

RELNOTES: If the new --file_write_strategy flag is set to lazy, files produced by file write actions (e.g. the ones produced by ctx.actions.write and ctx.actions.expand_template) are not written to disk with BwoB unless required by local execution or upon explicit request. The default is eager, which retains the current behavior.

fmeum added 25 commits February 20, 2025 14:32
# Conflicts:
#	src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java
#	src/main/java/com/google/devtools/build/lib/remote/AbstractActionInputPrefetcher.java
#	src/main/java/com/google/devtools/build/lib/skyframe/CompletionFunction.java

# Conflicts:
#	src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java
� Conflicts:
�	src/main/java/com/google/devtools/build/lib/actions/cache/VirtualActionInput.java
�	src/main/java/com/google/devtools/build/lib/remote/merkletree/DirectoryTree.java
�	src/main/java/com/google/devtools/build/lib/remote/merkletree/MerkleTree.java
# Conflicts:
#	src/test/java/com/google/devtools/build/lib/actions/ActionCacheCheckerTest.java
#	src/test/java/com/google/devtools/build/lib/skyframe/FilesystemValueCheckerTest.java
@arvi18
Copy link
Author

arvi18 commented Apr 16, 2025

@tjgq I resolved your comments and CI should be green

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants