-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Remote Cache] Don't delete tree artifacts on failure
Previously if a remote cache request failed, bazel would cleanup all directories that were marked as outputs for the action. These directories wouldn't end up being re-created by bazel, and could lead to failures if the actions didn't create the directories themselves. With this patch bazel deletes all output files, and the child directories of all output directories. Fixes bazelbuild/bazel#6260 Closes #6851. PiperOrigin-RevId: 224781649
- Loading branch information
Luca Di Grazia
committed
Sep 4, 2022
1 parent
33b115e
commit 0f11aa1
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters