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

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

Issue 2191693003: Milo: Add LogDog annotation stream support. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Rebarse Created 4 years, 4 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
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
11 // Status is the expressed root step of this step or substep. 11 // Status is the expressed root step of this step or substep.
12 enum Status { 12 enum Status {
13 // The step is still running. 13 // The step is still running.
14 RUNNING = 0; 14 RUNNING = 0;
15 // The step has finished successfully. 15 // The step has finished successfully.
16 SUCCESS = 1; 16 SUCCESS = 1;
17 // The step has finished unsuccessfully. 17 // The step has finished unsuccessfully.
18 FAILURE = 2; 18 FAILURE = 2;
19 // The step has been scheduled, but not yet started.
20 PENDING = 3;
19 } 21 }
20 22
21 // FailureType provides more details on the nature of the Status. 23 // FailureType provides more details on the nature of the Status.
22 message FailureDetails { 24 message FailureDetails {
23 // Type is the type of failure. 25 // Type is the type of failure.
24 enum Type { 26 enum Type {
25 // The failure is a general failure. 27 // The failure is a general failure.
26 GENERAL = 0; 28 GENERAL = 0;
27 // An unhandled exception occured during execution. 29 // An unhandled exception occured during execution.
28 EXCEPTION = 1; 30 EXCEPTION = 1;
29 // 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
30 // with the Step itself. 32 // with the Step itself.
31 INFRA = 2; 33 INFRA = 2;
32 // 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
33 // 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
34 // or proceed without it. 36 // or proceed without it.
35 DM_DEPENDENCY_FAILED = 3; 37 DM_DEPENDENCY_FAILED = 3;
38 // The step was cancelled.
39 CANCELLED = 4;
36 } 40 }
37 Type type = 1; 41 Type type = 1;
38 42
39 // An optional string describing the failure. 43 // An optional string describing the failure.
40 string text = 2; 44 string text = 2;
41 45
42 // If the failure type is DEPENDENCY_FAILED, the failed dependencies should be 46 // If the failure type is DEPENDENCY_FAILED, the failed dependencies should be
43 // listed here. 47 // listed here.
44 repeated DMLink failed_dm_dependency = 3; 48 repeated DMLink failed_dm_dependency = 3;
45 } 49 }
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 186
183 // The quest name. 187 // The quest name.
184 string quest = 2; 188 string quest = 2;
185 189
186 // The attempt number. 190 // The attempt number.
187 int64 attempt = 3; 191 int64 attempt = 3;
188 192
189 // The execution number. 193 // The execution number.
190 int64 execution = 4; 194 int64 execution = 4;
191 } 195 }
OLDNEW
« no previous file with comments | « appengine/cmd/milo/swarming/expectations/build-unicode.json ('k') | common/proto/milo/annotations.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698