Skip to content

Commit

Permalink
Mark remote cache errors as retriable by expanding `--incompatible_re…
Browse files Browse the repository at this point in the history
…mote_use_new_exit_code_for_lost_inputs` [

PiperOrigin-RevId: 667544073
  • Loading branch information
criemen authored and copybara-github committed Aug 26, 2024
1 parent d243db6 commit 5ea0680
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions third_party/bazel/src/main/protobuf/failure_details.proto
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ message Spawn {
// refactored to prohibit undetailed failures
UNSPECIFIED_EXECUTION_FAILURE = 12 [(metadata) = { exit_code: 1 }];
FORBIDDEN_INPUT = 13 [(metadata) = { exit_code: 1 }];
// This also includes other remote cache errors, not just evictions,
// if --incompatible_remote_use_new_exit_code_for_lost_inputs is set.
// TODO: Rename it to a more general name when
// --experimental_remote_cache_eviction_retries is moved to
// non-experimental.
REMOTE_CACHE_EVICTED = 14 [(metadata) = { exit_code: 39 }];
SPAWN_LOG_IO_EXCEPTION = 15 [(metadata) = { exit_code: 36 }];
}
Expand Down

0 comments on commit 5ea0680

Please sign in to comment.