Skip to content

Commit c77790f

Browse files
coeuvrecopybara-github
authored andcommitted
Flip flag --incompatible_remote_use_new_exit_code_for_lost_inputs
so that when remote cache evicts blobs, Bazel will exit with code 39. RELNOTES[INC]: When remote cache evicts blobs, Bazel will exit with code 39. PiperOrigin-RevId: 509499179 Change-Id: Ic218cd5b91cfaa44cf96742325af6badd87abce4
1 parent 3a9618c commit c77790f

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/main/java/com/google/devtools/build/lib/remote/options/RemoteOptions.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ public RemoteOutputsStrategyConverter() {
660660

661661
@Option(
662662
name = "incompatible_remote_use_new_exit_code_for_lost_inputs",
663-
defaultValue = "false",
663+
defaultValue = "true",
664664
documentationCategory = OptionDocumentationCategory.REMOTE,
665665
effectTags = {OptionEffectTag.UNKNOWN},
666666
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},

‎src/test/java/com/google/devtools/build/lib/remote/BuildWithoutTheBytesIntegrationTest.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,6 @@ public void remoteCacheEvictBlobs_exitWithCode39() throws Exception {
446446
getOutputPath("a/bar.out").delete();
447447
getOutputBase().getRelative("action_cache").deleteTreesBelow();
448448
restartServer();
449-
addOptions("--incompatible_remote_use_new_exit_code_for_lost_inputs");
450449

451450
// Clean build, foo.out isn't downloaded
452451
buildTarget("//a:bar");

0 commit comments

Comments
 (0)