Skip to content

Commit

Permalink
Flip flag --incompatible_remote_use_new_exit_code_for_lost_inputs
Browse files Browse the repository at this point in the history
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
  • Loading branch information
coeuvre authored and copybara-github committed Feb 14, 2023
1 parent 3a9618c commit c77790f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ public RemoteOutputsStrategyConverter() {

@Option(
name = "incompatible_remote_use_new_exit_code_for_lost_inputs",
defaultValue = "false",
defaultValue = "true",
documentationCategory = OptionDocumentationCategory.REMOTE,
effectTags = {OptionEffectTag.UNKNOWN},
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ public void remoteCacheEvictBlobs_exitWithCode39() throws Exception {
getOutputPath("a/bar.out").delete();
getOutputBase().getRelative("action_cache").deleteTreesBelow();
restartServer();
addOptions("--incompatible_remote_use_new_exit_code_for_lost_inputs");

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

0 comments on commit c77790f

Please sign in to comment.