-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 #6260 Closes #6851. PiperOrigin-RevId: 224781649
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
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