Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: common/proto/milo/annotations.proto

Issue 2254993002: Milo: Add task expired as a failure status (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Use proto instead Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | common/proto/milo/annotations.pb.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 19 matching lines...) Expand all
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 is due to a failed Dungeon Master dependency. This should be 34 // 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 35 // used if a Step's external depdendency fails and the Step cannot recover
36 // or proceed without it. 36 // or proceed without it.
37 DM_DEPENDENCY_FAILED = 3; 37 DM_DEPENDENCY_FAILED = 3;
38 // The step was cancelled. 38 // The step was cancelled.
39 CANCELLED = 4; 39 CANCELLED = 4;
40 // The failure was due to an resource exhausion. The step was scheduled
41 // but never ran, and never will run.
42 EXPIRED = 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
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 }
OLDNEW
« no previous file with comments | « no previous file | common/proto/milo/annotations.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698