diff options
author | Googler <noreply@google.com> | 2018-05-14 12:57:02 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-05-14 12:58:17 -0700 |
commit | aa255552dc60fca2fcbf085a2f214c74d87d3a2d (patch) | |
tree | 41c885faa82fdbfdc10cb31865327e7c0f1c835b /src/main/java/com/google/devtools/build/lib/util | |
parent | 5217712b50674f283b36192b4b67c173aecb2172 (diff) |
Augment comments about blaze exit code classifications.
RELNOTES: None
PiperOrigin-RevId: 196553226
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/util')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/util/ExitCode.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/util/ExitCode.java b/src/main/java/com/google/devtools/build/lib/util/ExitCode.java index c5743c852e..b51e720338 100644 --- a/src/main/java/com/google/devtools/build/lib/util/ExitCode.java +++ b/src/main/java/com/google/devtools/build/lib/util/ExitCode.java @@ -29,6 +29,10 @@ import java.util.HashMap; * * <p>Note that these exit codes should be kept consistent with the codes * returned by Blaze's launcher in //devtools/blaze/main:blaze.cc + * Blaze exit codes should be consistently classified as permanent vs. + * transient (i.e. retriable) vs. unknown transient/permanent because users, + * in particular infrastructure users, will use the exit code to decide whether + * the request should be retried or not. */ public class ExitCode { // Tracks all exit codes defined here and elsewhere in Bazel. |