Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2015 The LUCI Authors. All rights reserved. | 1 // Copyright (c) 2015 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 syntax = "proto3"; | 5 syntax = "proto3"; |
| 6 | 6 |
| 7 package milo; | 7 package milo; |
| 8 | 8 |
| 9 import "google/protobuf/timestamp.proto"; | 9 import "google/protobuf/timestamp.proto"; |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 24 message FailureDetails { | 24 message FailureDetails { |
| 25 // Type is the type of failure. | 25 // Type is the type of failure. |
| 26 enum Type { | 26 enum Type { |
| 27 // The failure is a general failure. | 27 // The failure is a general failure. |
| 28 GENERAL = 0; | 28 GENERAL = 0; |
| 29 // An unhandled exception occured during execution. | 29 // An unhandled exception occured during execution. |
| 30 EXCEPTION = 1; | 30 EXCEPTION = 1; |
| 31 // The failure is related to a failed infrastructure component, not an error | 31 // The failure is related to a failed infrastructure component, not an error |
| 32 // with the Step itself. | 32 // with the Step itself. |
| 33 INFRA = 2; | 33 INFRA = 2; |
| 34 // The failure was due to an resource exhausion. The step was scheduled | |
| 35 // but never ran, and never will run. | |
| 36 EXPIRED = 3; | |
|
dnj
2016/09/06 16:46:52
NO, bad! This protobuf is already in play, and you
hinoka
2016/09/07 22:13:58
Done.
| |
| 34 // The failure is due to a failed Dungeon Master dependency. This should be | 37 // The failure is due to a failed Dungeon Master dependency. This should be |
| 35 // used if a Step's external depdendency fails and the Step cannot recover | 38 // used if a Step's external depdendency fails and the Step cannot recover |
| 36 // or proceed without it. | 39 // or proceed without it. |
| 37 DM_DEPENDENCY_FAILED = 3; | 40 DM_DEPENDENCY_FAILED = 4; |
| 38 // The step was cancelled. | 41 // The step was cancelled. |
| 39 CANCELLED = 4; | 42 CANCELLED = 5; |
| 40 } | 43 } |
| 41 Type type = 1; | 44 Type type = 1; |
| 42 | 45 |
| 43 // An optional string describing the failure. | 46 // An optional string describing the failure. |
| 44 string text = 2; | 47 string text = 2; |
| 45 | 48 |
| 46 // If the failure type is DEPENDENCY_FAILED, the failed dependencies should be | 49 // If the failure type is DEPENDENCY_FAILED, the failed dependencies should be |
| 47 // listed here. | 50 // listed here. |
| 48 repeated DMLink failed_dm_dependency = 3; | 51 repeated DMLink failed_dm_dependency = 3; |
| 49 } | 52 } |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 186 | 189 |
| 187 // The quest name. | 190 // The quest name. |
| 188 string quest = 2; | 191 string quest = 2; |
| 189 | 192 |
| 190 // The attempt number. | 193 // The attempt number. |
| 191 int64 attempt = 3; | 194 int64 attempt = 3; |
| 192 | 195 |
| 193 // The execution number. | 196 // The execution number. |
| 194 int64 execution = 4; | 197 int64 execution = 4; |
| 195 } | 198 } |
| OLD | NEW |