go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/bisection/task/proto/task.proto (about) 1 // Copyright 2022 The LUCI Authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 syntax = "proto3"; 16 17 package proto; 18 19 import "go.chromium.org/luci/bisection/proto/v1/common.proto"; 20 21 option go_package = "go.chromium.org/luci/bisection/task/proto"; 22 23 // Payload of the FailedBuildIngestionTask task. 24 message FailedBuildIngestionTask { 25 // The bbid of the failed build. 26 int64 bbid = 1; 27 } 28 29 // Payload of the RevertCulpritTask 30 message RevertCulpritTask { 31 // The ID of the CompileFailureAnalysis associated with the culprit 32 int64 analysis_id = 1; 33 34 // The ID of the Suspect which is the culprit 35 int64 culprit_id = 2; 36 } 37 38 // Payload of the CancelAnalysis 39 message CancelAnalysisTask { 40 // The analysis ID that we need to cancel. 41 int64 analysis_id = 1; 42 } 43 44 // Payload for Culprit Verification 45 message CulpritVerificationTask { 46 // The analysis ID 47 int64 analysis_id = 1; 48 // The ID of the suspect for culprit verification 49 int64 suspect_id = 2; 50 // The encoded datastore key of suspect parent 51 string parent_key = 3; 52 } 53 54 // Payload for test failure detection. 55 message TestFailureDetectionTask { 56 // The project to select test failures from. 57 string project = 1; 58 59 // Test variants selected must not satisfy any dimension in the dimension excludes list. 60 // Eg. [{key:"os", value:"Ubuntu-22.04"},{key:"os", value:"Mac13"}], 61 // test failures with either these two OS should be excluded. 62 repeated luci.bisection.v1.Dimension dimension_excludes = 2; 63 } 64 65 // Payload for test failure bisection. 66 message TestFailureBisectionTask { 67 // The ID of TestFailureAnalysis that the bisector should bisect. 68 int64 analysis_id = 1; 69 } 70 71 // Payload for test failure culprit verification 72 message TestFailureCulpritVerificationTask { 73 // The analysis ID 74 int64 analysis_id = 1; 75 } 76 77 // Payload for test failure culprit action. 78 message TestFailureCulpritActionTask { 79 // The analysis ID 80 int64 analysis_id = 1; 81 }