-
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.
Introduce options for remote cache key scrubbing.
Introduce an experimental flag for remote cache key scrubbing. This PR introduces the --experimental_remote_scrubbing_config flag, which can be used to scrub platform-dependent data from the key used to retrieve and store action results from a remote or disk cache This way, actions executing on different platforms but targeting the same platform may be able to share cache entries. To avoid flag proliferation and make for a nicer API, the scrubbing parameters are supplied via an external file in text proto format. This is a simplified implementation of one of the ideas described in [1], highly influenced by Olivier Notteghem's earlier proposal [2], intended to provide a simple yet flexible API to enable further experimentation. It must be used with care, as incorrect settings can compromise build correctness. [1] https://docs.google.com/document/d/1uMPj2s0TlHSIKSngqOkWJoeqOtKzaxQLtBrRfYif3Lo/edit?usp=sharing [2] #18669 Closes #19523. PiperOrigin-RevId: 571947013 Change-Id: Ic8da59946ea6d6811b840aee01548746aab2eba0
- Loading branch information
1 parent
3bb882d
commit 24de276
Showing
20 changed files
with
1,004 additions
and
27 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
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
Oops, something went wrong.