pb/issue_state/issue_state.proto (30 lines of code) (raw):

// Backing state for issues associated with a TestGrid test group. syntax = "proto3"; package testgrid.issue_state; option go_package = "github.com/GoogleCloudPlatform/testgrid/pb/issue_state"; message TargetAndMethods { string target_name = 1; repeated string method_names = 2; } message IssueInfo { string issue_id = 1; string title = 2; // Issue title or description. bool is_autobug = 3; // True if auto-created by TestGrid for a failing test. bool is_flakiness_bug = 8; // True if auto-created by TestGrid for a flaky test. double last_modified = 4; // In seconds since epoch. repeated string row_ids = 5; // Associated row IDs (mentioned in the issue). // Run IDs used to associate this issue with a particular target (in case of // repeats, or across runs on different dashboards). repeated string run_ids = 6; // Targets + methods associated with this issue. // Only set if test group's `link_bugs_by_test_methods` is True, else all // targets + methods will be linked to this issue. repeated TargetAndMethods targets_and_methods = 7; } message IssueState { // List of collected info for bugs. repeated IssueInfo issue_info = 1; reserved 2; reserved 3; }