diff --git a/api/stovepipe/proto/stovepipe.proto b/api/stovepipe/proto/stovepipe.proto index 2bd3a7334..f6d4675f1 100644 --- a/api/stovepipe/proto/stovepipe.proto +++ b/api/stovepipe/proto/stovepipe.proto @@ -421,6 +421,42 @@ message ListOpenIssuesResponse { string next_page_token = 2; } +// IssueHistoryEvent is one immutable retained occurrence across requests. +message IssueHistoryEvent { + // "open" (including reopenings), "reported", or "closed". + string event = 1; + // Opaque source build identity. + string build_id = 2; + // Original occurrence timestamp in Unix milliseconds, not request ingest order. + int64 timestamp_ms = 3; + // Opening build for this occurrence; empty on legacy lifecycle records. + string first_seen_build_id = 4; + // Source request; empty when its build is no longer retained. + string request_id = 5; +} + +message ListIssueHistoryRequest { + // Required configured queue. + string queue = 1; + // Required validation task. + string task_id = 2; + // Validation unit; empty selects task-wide history. + string unit_id = 3; + // Maximum events to return. Zero selects 50; otherwise 1 through 200. + int32 page_size = 4; + // Opaque continuation bound to the queue, task, and unit. + string page_token = 5; +} + +// History is retained coverage only, not a snapshot or proof of current issue status. +// Late writes can precede a cursor; restart at the first page to refresh coverage. +message ListIssueHistoryResponse { + // Ascending timestamp order with bytewise build ID and event tie-breakers. + repeated IssueHistoryEvent events = 1; + // Empty ends the currently observed range. + string next_page_token = 2; +} + // RequestIssueSummary describes one accepted issue update, not the queue's open-issue set. message RequestIssueSummary { // Logical validation task. @@ -528,6 +564,8 @@ service Stovepipe { rpc GetQueueStatus(GetQueueStatusRequest) returns (GetQueueStatusResponse) {} // ListOpenIssues returns current open issues validated against their summaries. rpc ListOpenIssues(ListOpenIssuesRequest) returns (ListOpenIssuesResponse) {} + // ListIssueHistory returns retained occurrences of one issue across requests. + rpc ListIssueHistory(ListIssueHistoryRequest) returns (ListIssueHistoryResponse) {} // GetIssuesByRequestID returns accepted issue results for one request. rpc GetIssuesByRequestID(GetIssuesByRequestIDRequest) returns (GetIssuesByRequestIDResponse) {} // ListRequestProjectsByIssue returns the projects affected by one request's issue. diff --git a/api/stovepipe/protopb/stovepipe.pb.go b/api/stovepipe/protopb/stovepipe.pb.go index 9234d3bf5..01b2461b5 100644 --- a/api/stovepipe/protopb/stovepipe.pb.go +++ b/api/stovepipe/protopb/stovepipe.pb.go @@ -2632,6 +2632,225 @@ func (x *ListOpenIssuesResponse) GetNextPageToken() string { return "" } +// IssueHistoryEvent is one immutable retained occurrence across requests. +type IssueHistoryEvent struct { + state protoimpl.MessageState `protogen:"open.v1"` + // "open" (including reopenings), "reported", or "closed". + Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` + // Opaque source build identity. + BuildId string `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` + // Original occurrence timestamp in Unix milliseconds, not request ingest order. + TimestampMs int64 `protobuf:"varint,3,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"` + // Opening build for this occurrence; empty on legacy lifecycle records. + FirstSeenBuildId string `protobuf:"bytes,4,opt,name=first_seen_build_id,json=firstSeenBuildId,proto3" json:"first_seen_build_id,omitempty"` + // Source request; empty when its build is no longer retained. + RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IssueHistoryEvent) Reset() { + *x = IssueHistoryEvent{} + mi := &file_stovepipe_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IssueHistoryEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IssueHistoryEvent) ProtoMessage() {} + +func (x *IssueHistoryEvent) ProtoReflect() protoreflect.Message { + mi := &file_stovepipe_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IssueHistoryEvent.ProtoReflect.Descriptor instead. +func (*IssueHistoryEvent) Descriptor() ([]byte, []int) { + return file_stovepipe_proto_rawDescGZIP(), []int{32} +} + +func (x *IssueHistoryEvent) GetEvent() string { + if x != nil { + return x.Event + } + return "" +} + +func (x *IssueHistoryEvent) GetBuildId() string { + if x != nil { + return x.BuildId + } + return "" +} + +func (x *IssueHistoryEvent) GetTimestampMs() int64 { + if x != nil { + return x.TimestampMs + } + return 0 +} + +func (x *IssueHistoryEvent) GetFirstSeenBuildId() string { + if x != nil { + return x.FirstSeenBuildId + } + return "" +} + +func (x *IssueHistoryEvent) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +type ListIssueHistoryRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Required configured queue. + Queue string `protobuf:"bytes,1,opt,name=queue,proto3" json:"queue,omitempty"` + // Required validation task. + TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` + // Validation unit; empty selects task-wide history. + UnitId string `protobuf:"bytes,3,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"` + // Maximum events to return. Zero selects 50; otherwise 1 through 200. + PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Opaque continuation bound to the queue, task, and unit. + PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListIssueHistoryRequest) Reset() { + *x = ListIssueHistoryRequest{} + mi := &file_stovepipe_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListIssueHistoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListIssueHistoryRequest) ProtoMessage() {} + +func (x *ListIssueHistoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_stovepipe_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListIssueHistoryRequest.ProtoReflect.Descriptor instead. +func (*ListIssueHistoryRequest) Descriptor() ([]byte, []int) { + return file_stovepipe_proto_rawDescGZIP(), []int{33} +} + +func (x *ListIssueHistoryRequest) GetQueue() string { + if x != nil { + return x.Queue + } + return "" +} + +func (x *ListIssueHistoryRequest) GetTaskId() string { + if x != nil { + return x.TaskId + } + return "" +} + +func (x *ListIssueHistoryRequest) GetUnitId() string { + if x != nil { + return x.UnitId + } + return "" +} + +func (x *ListIssueHistoryRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ListIssueHistoryRequest) GetPageToken() string { + if x != nil { + return x.PageToken + } + return "" +} + +// History is retained coverage only, not a snapshot or proof of current issue status. +// Late writes can precede a cursor; restart at the first page to refresh coverage. +type ListIssueHistoryResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Ascending timestamp order with bytewise build ID and event tie-breakers. + Events []*IssueHistoryEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + // Empty ends the currently observed range. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListIssueHistoryResponse) Reset() { + *x = ListIssueHistoryResponse{} + mi := &file_stovepipe_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListIssueHistoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListIssueHistoryResponse) ProtoMessage() {} + +func (x *ListIssueHistoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_stovepipe_proto_msgTypes[34] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListIssueHistoryResponse.ProtoReflect.Descriptor instead. +func (*ListIssueHistoryResponse) Descriptor() ([]byte, []int) { + return file_stovepipe_proto_rawDescGZIP(), []int{34} +} + +func (x *ListIssueHistoryResponse) GetEvents() []*IssueHistoryEvent { + if x != nil { + return x.Events + } + return nil +} + +func (x *ListIssueHistoryResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken + } + return "" +} + // RequestIssueSummary describes one accepted issue update, not the queue's open-issue set. type RequestIssueSummary struct { state protoimpl.MessageState `protogen:"open.v1"` @@ -2651,7 +2870,7 @@ type RequestIssueSummary struct { func (x *RequestIssueSummary) Reset() { *x = RequestIssueSummary{} - mi := &file_stovepipe_proto_msgTypes[32] + mi := &file_stovepipe_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2663,7 +2882,7 @@ func (x *RequestIssueSummary) String() string { func (*RequestIssueSummary) ProtoMessage() {} func (x *RequestIssueSummary) ProtoReflect() protoreflect.Message { - mi := &file_stovepipe_proto_msgTypes[32] + mi := &file_stovepipe_proto_msgTypes[35] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2676,7 +2895,7 @@ func (x *RequestIssueSummary) ProtoReflect() protoreflect.Message { // Deprecated: Use RequestIssueSummary.ProtoReflect.Descriptor instead. func (*RequestIssueSummary) Descriptor() ([]byte, []int) { - return file_stovepipe_proto_rawDescGZIP(), []int{32} + return file_stovepipe_proto_rawDescGZIP(), []int{35} } func (x *RequestIssueSummary) GetTaskId() string { @@ -2730,7 +2949,7 @@ type GetIssuesByRequestIDRequest struct { func (x *GetIssuesByRequestIDRequest) Reset() { *x = GetIssuesByRequestIDRequest{} - mi := &file_stovepipe_proto_msgTypes[33] + mi := &file_stovepipe_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2742,7 +2961,7 @@ func (x *GetIssuesByRequestIDRequest) String() string { func (*GetIssuesByRequestIDRequest) ProtoMessage() {} func (x *GetIssuesByRequestIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_stovepipe_proto_msgTypes[33] + mi := &file_stovepipe_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2755,7 +2974,7 @@ func (x *GetIssuesByRequestIDRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetIssuesByRequestIDRequest.ProtoReflect.Descriptor instead. func (*GetIssuesByRequestIDRequest) Descriptor() ([]byte, []int) { - return file_stovepipe_proto_rawDescGZIP(), []int{33} + return file_stovepipe_proto_rawDescGZIP(), []int{36} } func (x *GetIssuesByRequestIDRequest) GetQueue() string { @@ -2803,7 +3022,7 @@ type GetIssuesByRequestIDResponse struct { func (x *GetIssuesByRequestIDResponse) Reset() { *x = GetIssuesByRequestIDResponse{} - mi := &file_stovepipe_proto_msgTypes[34] + mi := &file_stovepipe_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2815,7 +3034,7 @@ func (x *GetIssuesByRequestIDResponse) String() string { func (*GetIssuesByRequestIDResponse) ProtoMessage() {} func (x *GetIssuesByRequestIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_stovepipe_proto_msgTypes[34] + mi := &file_stovepipe_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2828,7 +3047,7 @@ func (x *GetIssuesByRequestIDResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetIssuesByRequestIDResponse.ProtoReflect.Descriptor instead. func (*GetIssuesByRequestIDResponse) Descriptor() ([]byte, []int) { - return file_stovepipe_proto_rawDescGZIP(), []int{34} + return file_stovepipe_proto_rawDescGZIP(), []int{37} } func (x *GetIssuesByRequestIDResponse) GetIssues() []*RequestIssueSummary { @@ -2867,7 +3086,7 @@ type ProjectIssueAttribution struct { func (x *ProjectIssueAttribution) Reset() { *x = ProjectIssueAttribution{} - mi := &file_stovepipe_proto_msgTypes[35] + mi := &file_stovepipe_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2879,7 +3098,7 @@ func (x *ProjectIssueAttribution) String() string { func (*ProjectIssueAttribution) ProtoMessage() {} func (x *ProjectIssueAttribution) ProtoReflect() protoreflect.Message { - mi := &file_stovepipe_proto_msgTypes[35] + mi := &file_stovepipe_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2892,7 +3111,7 @@ func (x *ProjectIssueAttribution) ProtoReflect() protoreflect.Message { // Deprecated: Use ProjectIssueAttribution.ProtoReflect.Descriptor instead. func (*ProjectIssueAttribution) Descriptor() ([]byte, []int) { - return file_stovepipe_proto_rawDescGZIP(), []int{35} + return file_stovepipe_proto_rawDescGZIP(), []int{38} } func (x *ProjectIssueAttribution) GetTaskId() string { @@ -2936,7 +3155,7 @@ type ListRequestProjectsByIssueRequest struct { func (x *ListRequestProjectsByIssueRequest) Reset() { *x = ListRequestProjectsByIssueRequest{} - mi := &file_stovepipe_proto_msgTypes[36] + mi := &file_stovepipe_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2948,7 +3167,7 @@ func (x *ListRequestProjectsByIssueRequest) String() string { func (*ListRequestProjectsByIssueRequest) ProtoMessage() {} func (x *ListRequestProjectsByIssueRequest) ProtoReflect() protoreflect.Message { - mi := &file_stovepipe_proto_msgTypes[36] + mi := &file_stovepipe_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2961,7 +3180,7 @@ func (x *ListRequestProjectsByIssueRequest) ProtoReflect() protoreflect.Message // Deprecated: Use ListRequestProjectsByIssueRequest.ProtoReflect.Descriptor instead. func (*ListRequestProjectsByIssueRequest) Descriptor() ([]byte, []int) { - return file_stovepipe_proto_rawDescGZIP(), []int{36} + return file_stovepipe_proto_rawDescGZIP(), []int{39} } func (x *ListRequestProjectsByIssueRequest) GetQueue() string { @@ -3024,7 +3243,7 @@ type ListRequestIssuesByProjectRequest struct { func (x *ListRequestIssuesByProjectRequest) Reset() { *x = ListRequestIssuesByProjectRequest{} - mi := &file_stovepipe_proto_msgTypes[37] + mi := &file_stovepipe_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3036,7 +3255,7 @@ func (x *ListRequestIssuesByProjectRequest) String() string { func (*ListRequestIssuesByProjectRequest) ProtoMessage() {} func (x *ListRequestIssuesByProjectRequest) ProtoReflect() protoreflect.Message { - mi := &file_stovepipe_proto_msgTypes[37] + mi := &file_stovepipe_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3049,7 +3268,7 @@ func (x *ListRequestIssuesByProjectRequest) ProtoReflect() protoreflect.Message // Deprecated: Use ListRequestIssuesByProjectRequest.ProtoReflect.Descriptor instead. func (*ListRequestIssuesByProjectRequest) Descriptor() ([]byte, []int) { - return file_stovepipe_proto_rawDescGZIP(), []int{37} + return file_stovepipe_proto_rawDescGZIP(), []int{40} } func (x *ListRequestIssuesByProjectRequest) GetQueue() string { @@ -3103,7 +3322,7 @@ type ListRequestProjectIssuesResponse struct { func (x *ListRequestProjectIssuesResponse) Reset() { *x = ListRequestProjectIssuesResponse{} - mi := &file_stovepipe_proto_msgTypes[38] + mi := &file_stovepipe_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3115,7 +3334,7 @@ func (x *ListRequestProjectIssuesResponse) String() string { func (*ListRequestProjectIssuesResponse) ProtoMessage() {} func (x *ListRequestProjectIssuesResponse) ProtoReflect() protoreflect.Message { - mi := &file_stovepipe_proto_msgTypes[38] + mi := &file_stovepipe_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3128,7 +3347,7 @@ func (x *ListRequestProjectIssuesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRequestProjectIssuesResponse.ProtoReflect.Descriptor instead. func (*ListRequestProjectIssuesResponse) Descriptor() ([]byte, []int) { - return file_stovepipe_proto_rawDescGZIP(), []int{38} + return file_stovepipe_proto_rawDescGZIP(), []int{41} } func (x *ListRequestProjectIssuesResponse) GetAttributions() []*ProjectIssueAttribution { @@ -3347,6 +3566,23 @@ const file_stovepipe_proto_rawDesc = "" + "page_token\x18\x03 \x01(\tR\tpageToken\"\x82\x01\n" + "\x16ListOpenIssuesResponse\x12@\n" + "\x06issues\x18\x01 \x03(\v2(.uber.submitqueue.stovepipe.IssueSummaryR\x06issues\x12&\n" + + "\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xb5\x01\n" + + "\x11IssueHistoryEvent\x12\x14\n" + + "\x05event\x18\x01 \x01(\tR\x05event\x12\x19\n" + + "\bbuild_id\x18\x02 \x01(\tR\abuildId\x12!\n" + + "\ftimestamp_ms\x18\x03 \x01(\x03R\vtimestampMs\x12-\n" + + "\x13first_seen_build_id\x18\x04 \x01(\tR\x10firstSeenBuildId\x12\x1d\n" + + "\n" + + "request_id\x18\x05 \x01(\tR\trequestId\"\x9d\x01\n" + + "\x17ListIssueHistoryRequest\x12\x14\n" + + "\x05queue\x18\x01 \x01(\tR\x05queue\x12\x17\n" + + "\atask_id\x18\x02 \x01(\tR\x06taskId\x12\x17\n" + + "\aunit_id\x18\x03 \x01(\tR\x06unitId\x12\x1b\n" + + "\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x1d\n" + + "\n" + + "page_token\x18\x05 \x01(\tR\tpageToken\"\x89\x01\n" + + "\x18ListIssueHistoryResponse\x12E\n" + + "\x06events\x18\x01 \x03(\v2-.uber.submitqueue.stovepipe.IssueHistoryEventR\x06events\x12&\n" + "\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xa5\x01\n" + "\x13RequestIssueSummary\x12\x17\n" + "\atask_id\x18\x01 \x01(\tR\x06taskId\x12\x17\n" + @@ -3393,7 +3629,7 @@ const file_stovepipe_proto_rawDesc = "" + "\x0fQueueEnablement\x12\x1c\n" + "\x18QUEUE_ENABLEMENT_UNKNOWN\x10\x00\x12\x1c\n" + "\x18QUEUE_ENABLEMENT_ENABLED\x10\x01\x12\x1d\n" + - "\x19QUEUE_ENABLEMENT_DISABLED\x10\x022\xac\f\n" + + "\x19QUEUE_ENABLEMENT_DISABLED\x10\x022\xad\r\n" + "\tStovepipe\x12[\n" + "\x04Ping\x12'.uber.submitqueue.stovepipe.PingRequest\x1a(.uber.submitqueue.stovepipe.PingResponse\"\x00\x12a\n" + "\x06Ingest\x12).uber.submitqueue.stovepipe.IngestRequest\x1a*.uber.submitqueue.stovepipe.IngestResponse\"\x00\x12\x8e\x01\n" + @@ -3403,7 +3639,8 @@ const file_stovepipe_proto_rawDesc = "" + "\x15GetProjectStatusByURI\x128.uber.submitqueue.stovepipe.GetProjectStatusByURIRequest\x1a9.uber.submitqueue.stovepipe.GetProjectStatusByURIResponse\"\x00\x12[\n" + "\x04List\x12'.uber.submitqueue.stovepipe.ListRequest\x1a(.uber.submitqueue.stovepipe.ListResponse\"\x00\x12y\n" + "\x0eGetQueueStatus\x121.uber.submitqueue.stovepipe.GetQueueStatusRequest\x1a2.uber.submitqueue.stovepipe.GetQueueStatusResponse\"\x00\x12y\n" + - "\x0eListOpenIssues\x121.uber.submitqueue.stovepipe.ListOpenIssuesRequest\x1a2.uber.submitqueue.stovepipe.ListOpenIssuesResponse\"\x00\x12\x8b\x01\n" + + "\x0eListOpenIssues\x121.uber.submitqueue.stovepipe.ListOpenIssuesRequest\x1a2.uber.submitqueue.stovepipe.ListOpenIssuesResponse\"\x00\x12\x7f\n" + + "\x10ListIssueHistory\x123.uber.submitqueue.stovepipe.ListIssueHistoryRequest\x1a4.uber.submitqueue.stovepipe.ListIssueHistoryResponse\"\x00\x12\x8b\x01\n" + "\x14GetIssuesByRequestID\x127.uber.submitqueue.stovepipe.GetIssuesByRequestIDRequest\x1a8.uber.submitqueue.stovepipe.GetIssuesByRequestIDResponse\"\x00\x12\x9b\x01\n" + "\x1aListRequestProjectsByIssue\x12=.uber.submitqueue.stovepipe.ListRequestProjectsByIssueRequest\x1a<.uber.submitqueue.stovepipe.ListRequestProjectIssuesResponse\"\x00\x12\x9b\x01\n" + "\x1aListRequestIssuesByProject\x12=.uber.submitqueue.stovepipe.ListRequestIssuesByProjectRequest\x1a<.uber.submitqueue.stovepipe.ListRequestProjectIssuesResponse\"\x00Be\n" + @@ -3422,7 +3659,7 @@ func file_stovepipe_proto_rawDescGZIP() []byte { } var file_stovepipe_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_stovepipe_proto_msgTypes = make([]protoimpl.MessageInfo, 39) +var file_stovepipe_proto_msgTypes = make([]protoimpl.MessageInfo, 42) var file_stovepipe_proto_goTypes = []any{ (QueueEnablement)(0), // 0: uber.submitqueue.stovepipe.QueueEnablement (*PingRequest)(nil), // 1: uber.submitqueue.stovepipe.PingRequest @@ -3457,13 +3694,16 @@ var file_stovepipe_proto_goTypes = []any{ (*IssueSummary)(nil), // 30: uber.submitqueue.stovepipe.IssueSummary (*ListOpenIssuesRequest)(nil), // 31: uber.submitqueue.stovepipe.ListOpenIssuesRequest (*ListOpenIssuesResponse)(nil), // 32: uber.submitqueue.stovepipe.ListOpenIssuesResponse - (*RequestIssueSummary)(nil), // 33: uber.submitqueue.stovepipe.RequestIssueSummary - (*GetIssuesByRequestIDRequest)(nil), // 34: uber.submitqueue.stovepipe.GetIssuesByRequestIDRequest - (*GetIssuesByRequestIDResponse)(nil), // 35: uber.submitqueue.stovepipe.GetIssuesByRequestIDResponse - (*ProjectIssueAttribution)(nil), // 36: uber.submitqueue.stovepipe.ProjectIssueAttribution - (*ListRequestProjectsByIssueRequest)(nil), // 37: uber.submitqueue.stovepipe.ListRequestProjectsByIssueRequest - (*ListRequestIssuesByProjectRequest)(nil), // 38: uber.submitqueue.stovepipe.ListRequestIssuesByProjectRequest - (*ListRequestProjectIssuesResponse)(nil), // 39: uber.submitqueue.stovepipe.ListRequestProjectIssuesResponse + (*IssueHistoryEvent)(nil), // 33: uber.submitqueue.stovepipe.IssueHistoryEvent + (*ListIssueHistoryRequest)(nil), // 34: uber.submitqueue.stovepipe.ListIssueHistoryRequest + (*ListIssueHistoryResponse)(nil), // 35: uber.submitqueue.stovepipe.ListIssueHistoryResponse + (*RequestIssueSummary)(nil), // 36: uber.submitqueue.stovepipe.RequestIssueSummary + (*GetIssuesByRequestIDRequest)(nil), // 37: uber.submitqueue.stovepipe.GetIssuesByRequestIDRequest + (*GetIssuesByRequestIDResponse)(nil), // 38: uber.submitqueue.stovepipe.GetIssuesByRequestIDResponse + (*ProjectIssueAttribution)(nil), // 39: uber.submitqueue.stovepipe.ProjectIssueAttribution + (*ListRequestProjectsByIssueRequest)(nil), // 40: uber.submitqueue.stovepipe.ListRequestProjectsByIssueRequest + (*ListRequestIssuesByProjectRequest)(nil), // 41: uber.submitqueue.stovepipe.ListRequestIssuesByProjectRequest + (*ListRequestProjectIssuesResponse)(nil), // 42: uber.submitqueue.stovepipe.ListRequestProjectIssuesResponse } var file_stovepipe_proto_depIdxs = []int32{ 0, // 0: uber.submitqueue.stovepipe.IngestRequest.enablement:type_name -> uber.submitqueue.stovepipe.QueueEnablement @@ -3492,37 +3732,40 @@ var file_stovepipe_proto_depIdxs = []int32{ 0, // 23: uber.submitqueue.stovepipe.QueueEnablementStatus.state:type_name -> uber.submitqueue.stovepipe.QueueEnablement 28, // 24: uber.submitqueue.stovepipe.GetQueueStatusResponse.enablement:type_name -> uber.submitqueue.stovepipe.QueueEnablementStatus 30, // 25: uber.submitqueue.stovepipe.ListOpenIssuesResponse.issues:type_name -> uber.submitqueue.stovepipe.IssueSummary - 33, // 26: uber.submitqueue.stovepipe.GetIssuesByRequestIDResponse.issues:type_name -> uber.submitqueue.stovepipe.RequestIssueSummary - 36, // 27: uber.submitqueue.stovepipe.ListRequestProjectIssuesResponse.attributions:type_name -> uber.submitqueue.stovepipe.ProjectIssueAttribution - 1, // 28: uber.submitqueue.stovepipe.Stovepipe.Ping:input_type -> uber.submitqueue.stovepipe.PingRequest - 3, // 29: uber.submitqueue.stovepipe.Stovepipe.Ingest:input_type -> uber.submitqueue.stovepipe.IngestRequest - 5, // 30: uber.submitqueue.stovepipe.Stovepipe.GetRequestHistoryByID:input_type -> uber.submitqueue.stovepipe.GetRequestHistoryByIDRequest - 6, // 31: uber.submitqueue.stovepipe.Stovepipe.GetRequestHistoryByURI:input_type -> uber.submitqueue.stovepipe.GetRequestHistoryByURIRequest - 19, // 32: uber.submitqueue.stovepipe.Stovepipe.GetProjectStatusByID:input_type -> uber.submitqueue.stovepipe.GetProjectStatusByIDRequest - 20, // 33: uber.submitqueue.stovepipe.Stovepipe.GetProjectStatusByURI:input_type -> uber.submitqueue.stovepipe.GetProjectStatusByURIRequest - 25, // 34: uber.submitqueue.stovepipe.Stovepipe.List:input_type -> uber.submitqueue.stovepipe.ListRequest - 27, // 35: uber.submitqueue.stovepipe.Stovepipe.GetQueueStatus:input_type -> uber.submitqueue.stovepipe.GetQueueStatusRequest - 31, // 36: uber.submitqueue.stovepipe.Stovepipe.ListOpenIssues:input_type -> uber.submitqueue.stovepipe.ListOpenIssuesRequest - 34, // 37: uber.submitqueue.stovepipe.Stovepipe.GetIssuesByRequestID:input_type -> uber.submitqueue.stovepipe.GetIssuesByRequestIDRequest - 37, // 38: uber.submitqueue.stovepipe.Stovepipe.ListRequestProjectsByIssue:input_type -> uber.submitqueue.stovepipe.ListRequestProjectsByIssueRequest - 38, // 39: uber.submitqueue.stovepipe.Stovepipe.ListRequestIssuesByProject:input_type -> uber.submitqueue.stovepipe.ListRequestIssuesByProjectRequest - 2, // 40: uber.submitqueue.stovepipe.Stovepipe.Ping:output_type -> uber.submitqueue.stovepipe.PingResponse - 4, // 41: uber.submitqueue.stovepipe.Stovepipe.Ingest:output_type -> uber.submitqueue.stovepipe.IngestResponse - 17, // 42: uber.submitqueue.stovepipe.Stovepipe.GetRequestHistoryByID:output_type -> uber.submitqueue.stovepipe.GetRequestHistoryByIDResponse - 18, // 43: uber.submitqueue.stovepipe.Stovepipe.GetRequestHistoryByURI:output_type -> uber.submitqueue.stovepipe.GetRequestHistoryByURIResponse - 22, // 44: uber.submitqueue.stovepipe.Stovepipe.GetProjectStatusByID:output_type -> uber.submitqueue.stovepipe.GetProjectStatusByIDResponse - 23, // 45: uber.submitqueue.stovepipe.Stovepipe.GetProjectStatusByURI:output_type -> uber.submitqueue.stovepipe.GetProjectStatusByURIResponse - 26, // 46: uber.submitqueue.stovepipe.Stovepipe.List:output_type -> uber.submitqueue.stovepipe.ListResponse - 29, // 47: uber.submitqueue.stovepipe.Stovepipe.GetQueueStatus:output_type -> uber.submitqueue.stovepipe.GetQueueStatusResponse - 32, // 48: uber.submitqueue.stovepipe.Stovepipe.ListOpenIssues:output_type -> uber.submitqueue.stovepipe.ListOpenIssuesResponse - 35, // 49: uber.submitqueue.stovepipe.Stovepipe.GetIssuesByRequestID:output_type -> uber.submitqueue.stovepipe.GetIssuesByRequestIDResponse - 39, // 50: uber.submitqueue.stovepipe.Stovepipe.ListRequestProjectsByIssue:output_type -> uber.submitqueue.stovepipe.ListRequestProjectIssuesResponse - 39, // 51: uber.submitqueue.stovepipe.Stovepipe.ListRequestIssuesByProject:output_type -> uber.submitqueue.stovepipe.ListRequestProjectIssuesResponse - 40, // [40:52] is the sub-list for method output_type - 28, // [28:40] is the sub-list for method input_type - 28, // [28:28] is the sub-list for extension type_name - 28, // [28:28] is the sub-list for extension extendee - 0, // [0:28] is the sub-list for field type_name + 33, // 26: uber.submitqueue.stovepipe.ListIssueHistoryResponse.events:type_name -> uber.submitqueue.stovepipe.IssueHistoryEvent + 36, // 27: uber.submitqueue.stovepipe.GetIssuesByRequestIDResponse.issues:type_name -> uber.submitqueue.stovepipe.RequestIssueSummary + 39, // 28: uber.submitqueue.stovepipe.ListRequestProjectIssuesResponse.attributions:type_name -> uber.submitqueue.stovepipe.ProjectIssueAttribution + 1, // 29: uber.submitqueue.stovepipe.Stovepipe.Ping:input_type -> uber.submitqueue.stovepipe.PingRequest + 3, // 30: uber.submitqueue.stovepipe.Stovepipe.Ingest:input_type -> uber.submitqueue.stovepipe.IngestRequest + 5, // 31: uber.submitqueue.stovepipe.Stovepipe.GetRequestHistoryByID:input_type -> uber.submitqueue.stovepipe.GetRequestHistoryByIDRequest + 6, // 32: uber.submitqueue.stovepipe.Stovepipe.GetRequestHistoryByURI:input_type -> uber.submitqueue.stovepipe.GetRequestHistoryByURIRequest + 19, // 33: uber.submitqueue.stovepipe.Stovepipe.GetProjectStatusByID:input_type -> uber.submitqueue.stovepipe.GetProjectStatusByIDRequest + 20, // 34: uber.submitqueue.stovepipe.Stovepipe.GetProjectStatusByURI:input_type -> uber.submitqueue.stovepipe.GetProjectStatusByURIRequest + 25, // 35: uber.submitqueue.stovepipe.Stovepipe.List:input_type -> uber.submitqueue.stovepipe.ListRequest + 27, // 36: uber.submitqueue.stovepipe.Stovepipe.GetQueueStatus:input_type -> uber.submitqueue.stovepipe.GetQueueStatusRequest + 31, // 37: uber.submitqueue.stovepipe.Stovepipe.ListOpenIssues:input_type -> uber.submitqueue.stovepipe.ListOpenIssuesRequest + 34, // 38: uber.submitqueue.stovepipe.Stovepipe.ListIssueHistory:input_type -> uber.submitqueue.stovepipe.ListIssueHistoryRequest + 37, // 39: uber.submitqueue.stovepipe.Stovepipe.GetIssuesByRequestID:input_type -> uber.submitqueue.stovepipe.GetIssuesByRequestIDRequest + 40, // 40: uber.submitqueue.stovepipe.Stovepipe.ListRequestProjectsByIssue:input_type -> uber.submitqueue.stovepipe.ListRequestProjectsByIssueRequest + 41, // 41: uber.submitqueue.stovepipe.Stovepipe.ListRequestIssuesByProject:input_type -> uber.submitqueue.stovepipe.ListRequestIssuesByProjectRequest + 2, // 42: uber.submitqueue.stovepipe.Stovepipe.Ping:output_type -> uber.submitqueue.stovepipe.PingResponse + 4, // 43: uber.submitqueue.stovepipe.Stovepipe.Ingest:output_type -> uber.submitqueue.stovepipe.IngestResponse + 17, // 44: uber.submitqueue.stovepipe.Stovepipe.GetRequestHistoryByID:output_type -> uber.submitqueue.stovepipe.GetRequestHistoryByIDResponse + 18, // 45: uber.submitqueue.stovepipe.Stovepipe.GetRequestHistoryByURI:output_type -> uber.submitqueue.stovepipe.GetRequestHistoryByURIResponse + 22, // 46: uber.submitqueue.stovepipe.Stovepipe.GetProjectStatusByID:output_type -> uber.submitqueue.stovepipe.GetProjectStatusByIDResponse + 23, // 47: uber.submitqueue.stovepipe.Stovepipe.GetProjectStatusByURI:output_type -> uber.submitqueue.stovepipe.GetProjectStatusByURIResponse + 26, // 48: uber.submitqueue.stovepipe.Stovepipe.List:output_type -> uber.submitqueue.stovepipe.ListResponse + 29, // 49: uber.submitqueue.stovepipe.Stovepipe.GetQueueStatus:output_type -> uber.submitqueue.stovepipe.GetQueueStatusResponse + 32, // 50: uber.submitqueue.stovepipe.Stovepipe.ListOpenIssues:output_type -> uber.submitqueue.stovepipe.ListOpenIssuesResponse + 35, // 51: uber.submitqueue.stovepipe.Stovepipe.ListIssueHistory:output_type -> uber.submitqueue.stovepipe.ListIssueHistoryResponse + 38, // 52: uber.submitqueue.stovepipe.Stovepipe.GetIssuesByRequestID:output_type -> uber.submitqueue.stovepipe.GetIssuesByRequestIDResponse + 42, // 53: uber.submitqueue.stovepipe.Stovepipe.ListRequestProjectsByIssue:output_type -> uber.submitqueue.stovepipe.ListRequestProjectIssuesResponse + 42, // 54: uber.submitqueue.stovepipe.Stovepipe.ListRequestIssuesByProject:output_type -> uber.submitqueue.stovepipe.ListRequestProjectIssuesResponse + 42, // [42:55] is the sub-list for method output_type + 29, // [29:42] is the sub-list for method input_type + 29, // [29:29] is the sub-list for extension type_name + 29, // [29:29] is the sub-list for extension extendee + 0, // [0:29] is the sub-list for field type_name } func init() { file_stovepipe_proto_init() } @@ -3567,7 +3810,7 @@ func file_stovepipe_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_stovepipe_proto_rawDesc), len(file_stovepipe_proto_rawDesc)), NumEnums: 1, - NumMessages: 39, + NumMessages: 42, NumExtensions: 0, NumServices: 1, }, diff --git a/api/stovepipe/protopb/stovepipe.pb.yarpc.go b/api/stovepipe/protopb/stovepipe.pb.yarpc.go index 473a511e3..cb2fb9f60 100644 --- a/api/stovepipe/protopb/stovepipe.pb.yarpc.go +++ b/api/stovepipe/protopb/stovepipe.pb.yarpc.go @@ -30,6 +30,7 @@ type StovepipeYARPCClient interface { List(context.Context, *ListRequest, ...yarpc.CallOption) (*ListResponse, error) GetQueueStatus(context.Context, *GetQueueStatusRequest, ...yarpc.CallOption) (*GetQueueStatusResponse, error) ListOpenIssues(context.Context, *ListOpenIssuesRequest, ...yarpc.CallOption) (*ListOpenIssuesResponse, error) + ListIssueHistory(context.Context, *ListIssueHistoryRequest, ...yarpc.CallOption) (*ListIssueHistoryResponse, error) GetIssuesByRequestID(context.Context, *GetIssuesByRequestIDRequest, ...yarpc.CallOption) (*GetIssuesByRequestIDResponse, error) ListRequestProjectsByIssue(context.Context, *ListRequestProjectsByIssueRequest, ...yarpc.CallOption) (*ListRequestProjectIssuesResponse, error) ListRequestIssuesByProject(context.Context, *ListRequestIssuesByProjectRequest, ...yarpc.CallOption) (*ListRequestProjectIssuesResponse, error) @@ -62,6 +63,7 @@ type StovepipeYARPCServer interface { List(context.Context, *ListRequest) (*ListResponse, error) GetQueueStatus(context.Context, *GetQueueStatusRequest) (*GetQueueStatusResponse, error) ListOpenIssues(context.Context, *ListOpenIssuesRequest) (*ListOpenIssuesResponse, error) + ListIssueHistory(context.Context, *ListIssueHistoryRequest) (*ListIssueHistoryResponse, error) GetIssuesByRequestID(context.Context, *GetIssuesByRequestIDRequest) (*GetIssuesByRequestIDResponse, error) ListRequestProjectsByIssue(context.Context, *ListRequestProjectsByIssueRequest) (*ListRequestProjectIssuesResponse, error) ListRequestIssuesByProject(context.Context, *ListRequestIssuesByProjectRequest) (*ListRequestProjectIssuesResponse, error) @@ -168,6 +170,16 @@ func buildStovepipeYARPCProcedures(params buildStovepipeYARPCProceduresParams) [ }, ), }, + { + MethodName: "ListIssueHistory", + Handler: v2.NewUnaryHandler( + v2.UnaryHandlerParams{ + Handle: handler.ListIssueHistory, + NewRequest: newStovepipeServiceListIssueHistoryYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, { MethodName: "GetIssuesByRequestID", Handler: v2.NewUnaryHandler( @@ -418,6 +430,18 @@ func (c *_StovepipeYARPCCaller) ListOpenIssues(ctx context.Context, request *Lis return response, err } +func (c *_StovepipeYARPCCaller) ListIssueHistory(ctx context.Context, request *ListIssueHistoryRequest, options ...yarpc.CallOption) (*ListIssueHistoryResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "ListIssueHistory", request, newStovepipeServiceListIssueHistoryYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*ListIssueHistoryResponse) + if !ok { + return nil, v2.CastError(emptyStovepipeServiceListIssueHistoryYARPCResponse, responseMessage) + } + return response, err +} + func (c *_StovepipeYARPCCaller) GetIssuesByRequestID(ctx context.Context, request *GetIssuesByRequestIDRequest, options ...yarpc.CallOption) (*GetIssuesByRequestIDResponse, error) { responseMessage, err := c.streamClient.Call(ctx, "GetIssuesByRequestID", request, newStovepipeServiceGetIssuesByRequestIDYARPCResponse, options...) if responseMessage == nil { @@ -602,6 +626,22 @@ func (h *_StovepipeYARPCHandler) ListOpenIssues(ctx context.Context, requestMess return response, err } +func (h *_StovepipeYARPCHandler) ListIssueHistory(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *ListIssueHistoryRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*ListIssueHistoryRequest) + if !ok { + return nil, v2.CastError(emptyStovepipeServiceListIssueHistoryYARPCRequest, requestMessage) + } + } + response, err := h.server.ListIssueHistory(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + func (h *_StovepipeYARPCHandler) GetIssuesByRequestID(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { var request *GetIssuesByRequestIDRequest var ok bool @@ -722,6 +762,14 @@ func newStovepipeServiceListOpenIssuesYARPCResponse() proto.Message { return &ListOpenIssuesResponse{} } +func newStovepipeServiceListIssueHistoryYARPCRequest() proto.Message { + return &ListIssueHistoryRequest{} +} + +func newStovepipeServiceListIssueHistoryYARPCResponse() proto.Message { + return &ListIssueHistoryResponse{} +} + func newStovepipeServiceGetIssuesByRequestIDYARPCRequest() proto.Message { return &GetIssuesByRequestIDRequest{} } @@ -765,6 +813,8 @@ var ( emptyStovepipeServiceGetQueueStatusYARPCResponse = &GetQueueStatusResponse{} emptyStovepipeServiceListOpenIssuesYARPCRequest = &ListOpenIssuesRequest{} emptyStovepipeServiceListOpenIssuesYARPCResponse = &ListOpenIssuesResponse{} + emptyStovepipeServiceListIssueHistoryYARPCRequest = &ListIssueHistoryRequest{} + emptyStovepipeServiceListIssueHistoryYARPCResponse = &ListIssueHistoryResponse{} emptyStovepipeServiceGetIssuesByRequestIDYARPCRequest = &GetIssuesByRequestIDRequest{} emptyStovepipeServiceGetIssuesByRequestIDYARPCResponse = &GetIssuesByRequestIDResponse{} emptyStovepipeServiceListRequestProjectsByIssueYARPCRequest = &ListRequestProjectsByIssueRequest{} @@ -776,153 +826,159 @@ var ( var yarpcFileDescriptorClosurefabdb6b3c0b09022 = [][]byte{ // stovepipe.proto []byte{ - 0x1f, 0x8b, 0x08,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 0x47, 0x79, 0x2c, 0x41, 0xd0, 0x6b, 0x68, 0x1e, 0x1a, 0x03, 0x62, 0x19, - 0x94, 0x38, 0xb6, 0xde, 0x33, 0x4c, 0xaa, 0x7b, 0xd8, 0x74, 0x3c, 0x0b, 0x5b, 0xdc, 0x85, 0xf3, - 0x6b, 0x3f, 0x9d, 0x40, 0xc0, 0xa7, 0x11, 0xc4, 0x63, 0xc3, 0xa4, 0x52, 0x52, 0xe3, 0x30, 0x45, - 0xd5, 0x24, 0x2c, 0x3a, 0x80, 0x86, 0xeb, 0x39, 0x9f, 0x63, 0x93, 0x72, 0x79, 0x7e, 0x2c, 0x70, - 0x66, 0x62, 0x3f, 0xec, 0x08, 0x00, 0x86, 0xeb, 0x4b, 0x71, 0xcb, 0x6e, 0x82, 0x16, 0x09, 0xdb, - 0x87, 0xa6, 0x30, 0x9b, 0x61, 0x1b, 0x83, 0x63, 0x9f, 0xf8, 0xba, 0xd1, 0x35, 0x6c, 0xcb, 0xb1, - 0xb1, 0x75, 0x8a, 0x43, 0x96, 0x34, 0x60, 0x83, 0xe3, 0xad, 0x4b, 0xb8, 0xf5, 0x10, 0x0d, 0xb9, - 0x23, 0x92, 0x4c, 0x67, 0xe8, 0x0e, 0x30, 0xc5, 0x56, 0x73, 0x96, 0x4b, 0xfa, 0x60, 0x52, 0x49, - 0x21, 0x78, 0xae, 0xc4, 0x87, 0x21, 0x2a, 0xea, 0xc1, 0x05, 0xe2, 0xfb, 0x01, 0x16, 0x16, 0xb4, - 0x4d, 0x32, 0xc0, 0x56, 0x73, 0x8e, 0x8b, 0xfa, 0x70, 0x02, 0x51, 0x1d, 0xce, 0xab, 0x45, 0xac, - 0x52, 0xda, 0x12, 0xc9, 0xd0, 0x99, 0x0d, 0x39, 0x4d, 0xa7, 0x9e, 0x61, 0x1e, 0x10, 0xbb, 0x9f, - 0xb0, 0x61, 0xf5, 0x6c, 0x36, 0xe4, 0x78, 0x2f, 0x24, 0x5c, 0x6c, 0xc3, 0xe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5e, 0xd4, 0xf6, 0xec, 0x50, 0x4d, + 0x3e, 0x67, 0x4f, 0x33, 0x0a, 0xfc, 0x46, 0x81, 0xda, 0xb0, 0x7d, 0x32, 0xbc, 0x9b, 0x89, 0x29, + 0xf4, 0xf6, 0x99, 0xe1, 0x4d, 0x1d, 0x45, 0xc7, 0x8d, 0xf1, 0x1f, 0x15, 0xb8, 0x28, 0x7d, 0x33, + 0x65, 0x09, 0x23, 0x28, 0x1c, 0x11, 0x2b, 0xf0, 0x13, 0xff, 0x1d, 0xcb, 0x8a, 0x42, 0x3c, 0x2b, + 0x46, 0x84, 0x7c, 0x36, 0x3d, 0xe4, 0xea, 0x17, 0x62, 0x32, 0x15, 0xb5, 0xd0, 0x08, 0xc2, 0x39, + 0xe5, 0x64, 0x1a, 0x0b, 0x62, 0x3e, 0x33, 0x88, 0x85, 0x64, 0x10, 0xff, 0x24, 0xa6, 0xcf, 0x14, + 0x83, 0x64, 0x20, 0x9f, 0x24, 0xea, 0x74, 0x6d, 0x8c, 0x6f, 0x65, 0x6a, 0xb9, 0x0e, 0x7a, 0x63, + 0x2e, 0xd6, 0x1b, 0x53, 0x42, 0x9c, 0x4f, 0x0b, 0x31, 0x86, 0xcb, 0x12, 0xd0, 0x70, 0xf1, 0x1b, + 0x94, 0xba, 0xa4, 0xe5, 0xf3, 0xf1, 0x73, 0xf2, 0x28, 0x47, 0x06, 0xd6, 0x7c, 0x6c, 0x60, 0x55, + 0xbf, 0x52, 0xe0, 0x46, 0x04, 0x27, 0x49, 0x95, 0x6c, 0xb6, 0x64, 0x5a, 0xa7, 0x8a, 0x53, 0xc4, + 0xcc, 0xfc, 0x28, 0x33, 0x0b, 0xa3, 0xcb, 0x73, 0x36, 0x33, 0xb2, 0xc5, 0x64, 0x64, 0xff, 0x1a, + 0xbf, 0x48, 0x10, 0xe1, 0xdd, 0x60, 0x40, 0x98, 0xe2, 0x22, 0x23, 0xbd, 0x37, 0x55, 0x3f, 0xf9, + 0x5a, 0x81, 0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, + 0x8c, 0x6b, 0x11, 0xc6, 0x35, 0xc3, 0x21, 0x6b, 0x21, 0xf3, 0x1a, 0xff, 0xf7, 0x35, 0xa7, 0xd5, + 0x2a, 0xf2, 0x1f, 0x77, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x63, 0xe6, 0xe7, 0x19, 0xda, 0x26, + 0x00, 0x00, }, } diff --git a/api/stovepipe/protopb/stovepipe_grpc.pb.go b/api/stovepipe/protopb/stovepipe_grpc.pb.go index 2ae4a18e7..4a805f606 100644 --- a/api/stovepipe/protopb/stovepipe_grpc.pb.go +++ b/api/stovepipe/protopb/stovepipe_grpc.pb.go @@ -43,6 +43,7 @@ const ( Stovepipe_List_FullMethodName = "/uber.submitqueue.stovepipe.Stovepipe/List" Stovepipe_GetQueueStatus_FullMethodName = "/uber.submitqueue.stovepipe.Stovepipe/GetQueueStatus" Stovepipe_ListOpenIssues_FullMethodName = "/uber.submitqueue.stovepipe.Stovepipe/ListOpenIssues" + Stovepipe_ListIssueHistory_FullMethodName = "/uber.submitqueue.stovepipe.Stovepipe/ListIssueHistory" Stovepipe_GetIssuesByRequestID_FullMethodName = "/uber.submitqueue.stovepipe.Stovepipe/GetIssuesByRequestID" Stovepipe_ListRequestProjectsByIssue_FullMethodName = "/uber.submitqueue.stovepipe.Stovepipe/ListRequestProjectsByIssue" Stovepipe_ListRequestIssuesByProject_FullMethodName = "/uber.submitqueue.stovepipe.Stovepipe/ListRequestIssuesByProject" @@ -73,6 +74,8 @@ type StovepipeClient interface { GetQueueStatus(ctx context.Context, in *GetQueueStatusRequest, opts ...grpc.CallOption) (*GetQueueStatusResponse, error) // ListOpenIssues returns current open issues validated against their summaries. ListOpenIssues(ctx context.Context, in *ListOpenIssuesRequest, opts ...grpc.CallOption) (*ListOpenIssuesResponse, error) + // ListIssueHistory returns retained occurrences of one issue across requests. + ListIssueHistory(ctx context.Context, in *ListIssueHistoryRequest, opts ...grpc.CallOption) (*ListIssueHistoryResponse, error) // GetIssuesByRequestID returns accepted issue results for one request. GetIssuesByRequestID(ctx context.Context, in *GetIssuesByRequestIDRequest, opts ...grpc.CallOption) (*GetIssuesByRequestIDResponse, error) // ListRequestProjectsByIssue returns the projects affected by one request's issue. @@ -179,6 +182,16 @@ func (c *stovepipeClient) ListOpenIssues(ctx context.Context, in *ListOpenIssues return out, nil } +func (c *stovepipeClient) ListIssueHistory(ctx context.Context, in *ListIssueHistoryRequest, opts ...grpc.CallOption) (*ListIssueHistoryResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(ListIssueHistoryResponse) + err := c.cc.Invoke(ctx, Stovepipe_ListIssueHistory_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *stovepipeClient) GetIssuesByRequestID(ctx context.Context, in *GetIssuesByRequestIDRequest, opts ...grpc.CallOption) (*GetIssuesByRequestIDResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetIssuesByRequestIDResponse) @@ -234,6 +247,8 @@ type StovepipeServer interface { GetQueueStatus(context.Context, *GetQueueStatusRequest) (*GetQueueStatusResponse, error) // ListOpenIssues returns current open issues validated against their summaries. ListOpenIssues(context.Context, *ListOpenIssuesRequest) (*ListOpenIssuesResponse, error) + // ListIssueHistory returns retained occurrences of one issue across requests. + ListIssueHistory(context.Context, *ListIssueHistoryRequest) (*ListIssueHistoryResponse, error) // GetIssuesByRequestID returns accepted issue results for one request. GetIssuesByRequestID(context.Context, *GetIssuesByRequestIDRequest) (*GetIssuesByRequestIDResponse, error) // ListRequestProjectsByIssue returns the projects affected by one request's issue. @@ -277,6 +292,9 @@ func (UnimplementedStovepipeServer) GetQueueStatus(context.Context, *GetQueueSta func (UnimplementedStovepipeServer) ListOpenIssues(context.Context, *ListOpenIssuesRequest) (*ListOpenIssuesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListOpenIssues not implemented") } +func (UnimplementedStovepipeServer) ListIssueHistory(context.Context, *ListIssueHistoryRequest) (*ListIssueHistoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListIssueHistory not implemented") +} func (UnimplementedStovepipeServer) GetIssuesByRequestID(context.Context, *GetIssuesByRequestIDRequest) (*GetIssuesByRequestIDResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetIssuesByRequestID not implemented") } @@ -469,6 +487,24 @@ func _Stovepipe_ListOpenIssues_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _Stovepipe_ListIssueHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListIssueHistoryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StovepipeServer).ListIssueHistory(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Stovepipe_ListIssueHistory_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StovepipeServer).ListIssueHistory(ctx, req.(*ListIssueHistoryRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Stovepipe_GetIssuesByRequestID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetIssuesByRequestIDRequest) if err := dec(in); err != nil { @@ -566,6 +602,10 @@ var Stovepipe_ServiceDesc = grpc.ServiceDesc{ MethodName: "ListOpenIssues", Handler: _Stovepipe_ListOpenIssues_Handler, }, + { + MethodName: "ListIssueHistory", + Handler: _Stovepipe_ListIssueHistory_Handler, + }, { MethodName: "GetIssuesByRequestID", Handler: _Stovepipe_GetIssuesByRequestID_Handler, diff --git a/doc/rfc/stovepipe/issue-history-api.md b/doc/rfc/stovepipe/issue-history-api.md new file mode 100644 index 000000000..70c1e215f --- /dev/null +++ b/doc/rfc/stovepipe/issue-history-api.md @@ -0,0 +1,7 @@ +# Issue history API + +The issue-history lookup returns retained immutable occurrences for one queue, task, and unit across requests. An empty unit selects task-wide failures. Events preserve openings (including reopenings), repeat reports, closures, original timestamps, and opening build references. Source requests are resolved from builds; an expired build leaves its request reference empty without hiding the retained occurrence. + +Pages use ascending recorded timestamp order with bytewise build ID and event tie-breakers. This is recorded history, not request ingest order or a reconstruction of current issue status. The default page size is 50 and the maximum is 200. An issue-bound opaque continuation excludes the last returned occurrence; one extra row establishes whether another page exists. The MySQL reader scans only the selected issue's primary-key prefix and sorts those rows, with no schema change. Returned page size is bounded, but the number of rows examined grows with that issue's retained history. + +Pages are live, not snapshots. Concurrent late writes may precede an existing cursor, so readers restart from the first page to refresh coverage. Empty results mean no retained occurrences, not that an issue never existed. There is no backfill: older lifecycle rows may lack opening references, and repeat reports are available only where they were recorded. diff --git a/service/stovepipe/server/handler/BUILD.bazel b/service/stovepipe/server/handler/BUILD.bazel index f3f853a3f..106936942 100644 --- a/service/stovepipe/server/handler/BUILD.bazel +++ b/service/stovepipe/server/handler/BUILD.bazel @@ -21,6 +21,7 @@ go_test( name = "go_default_test", srcs = [ "get_issues_by_request_id_test.go", + "issue_history_test.go", "list_open_issues_test.go", "list_test.go", "project_issues_test.go", diff --git a/service/stovepipe/server/handler/get_issues_by_request_id_test.go b/service/stovepipe/server/handler/get_issues_by_request_id_test.go index 9a10034d3..a93e61a28 100644 --- a/service/stovepipe/server/handler/get_issues_by_request_id_test.go +++ b/service/stovepipe/server/handler/get_issues_by_request_id_test.go @@ -43,7 +43,7 @@ func TestGetIssuesByRequestID(t *testing.T) { t.Run(tt.name, func(t *testing.T) { c := controllermock.NewMockGetIssuesByRequestIDController(gomock.NewController(t)) c.EXPECT().GetIssuesByRequestID(gomock.Any(), entity.GetIssuesByRequestIDRequest{Queue: "queue", RequestID: "12", PageSize: 10, PageToken: "token"}).Return(entity.GetIssuesByRequestIDResult{Status: entity.RequestIssuesStatusIncomplete, NextPageToken: "next"}, tt.err) - server := NewStovepipeServer(nil, nil, nil, nil, nil, nil, nil, c, nil) + server := NewStovepipeServer(nil, nil, nil, nil, nil, nil, nil, c, nil, nil) response, err := server.GetIssuesByRequestID(context.Background(), &pb.GetIssuesByRequestIDRequest{Queue: "queue", RequestId: "12", PageSize: 10, PageToken: "token"}) require.Equal(t, tt.code, status.Code(err)) if tt.err == nil { diff --git a/service/stovepipe/server/handler/issue_history_test.go b/service/stovepipe/server/handler/issue_history_test.go new file mode 100644 index 000000000..d82b27bf3 --- /dev/null +++ b/service/stovepipe/server/handler/issue_history_test.go @@ -0,0 +1,55 @@ +// Copyright (c) 2026 Uber Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package handler + +import ( + "context" + "testing" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + pb "github.com/uber/submitqueue/api/stovepipe/protopb" + "github.com/uber/submitqueue/stovepipe/controller" + controllermock "github.com/uber/submitqueue/stovepipe/controller/mock" + "github.com/uber/submitqueue/stovepipe/entity" + "go.uber.org/mock/gomock" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +func TestListIssueHistory(t *testing.T) { + for _, tt := range []struct { + name string + err error + code codes.Code + }{ + {"success", nil, codes.OK}, {"invalid", controller.ErrInvalidRequest, codes.InvalidArgument}, + {"canceled", context.Canceled, codes.Canceled}, {"deadline", context.DeadlineExceeded, codes.DeadlineExceeded}, + {"dependency", assert.AnError, codes.Unknown}, + } { + t.Run(tt.name, func(t *testing.T) { + c := controllermock.NewMockListIssueHistoryController(gomock.NewController(t)) + c.EXPECT().ListIssueHistory(gomock.Any(), entity.ListIssueHistoryRequest{Queue: "q", TaskID: "t", PageSize: 2, PageToken: "p"}).Return(entity.ListIssueHistoryResult{NextPageToken: "next"}, tt.err) + server := NewStovepipeServer(nil, nil, nil, nil, nil, nil, nil, nil, nil, c) + response, err := server.ListIssueHistory(context.Background(), &pb.ListIssueHistoryRequest{Queue: "q", TaskId: "t", PageSize: 2, PageToken: "p"}) + require.Equal(t, tt.code, status.Code(err)) + if tt.err == nil { + require.Equal(t, "next", response.NextPageToken) + } else { + require.Nil(t, response) + } + }) + } +} diff --git a/service/stovepipe/server/handler/list_test.go b/service/stovepipe/server/handler/list_test.go index 83af90b07..d9ac5e7ea 100644 --- a/service/stovepipe/server/handler/list_test.go +++ b/service/stovepipe/server/handler/list_test.go @@ -68,7 +68,7 @@ func TestList(t *testing.T) { }, req) return tt.result, tt.err }} - srv := NewStovepipeServer(nil, nil, nil, nil, fake, nil, nil, nil, nil) + srv := NewStovepipeServer(nil, nil, nil, nil, fake, nil, nil, nil, nil, nil) response, err := srv.List(ctx, &pb.ListRequest{ Queue: "queue", PageSize: 25, PageToken: "token", AcceptedLowerBound: &pb.ListRequest_AcceptedAtOrAfterMs{}, diff --git a/service/stovepipe/server/handler/project_issues_test.go b/service/stovepipe/server/handler/project_issues_test.go index c46071e68..d81063bc8 100644 --- a/service/stovepipe/server/handler/project_issues_test.go +++ b/service/stovepipe/server/handler/project_issues_test.go @@ -51,7 +51,7 @@ func TestProjectIssues(t *testing.T) { Attributions: []entity.ProjectIssueAttribution{{TaskID: "test", UnitID: "unit", Project: "app"}}, AttributionComplete: true, NextPageToken: "next", } - server := NewStovepipeServer(nil, nil, nil, nil, nil, nil, nil, nil, c) + server := NewStovepipeServer(nil, nil, nil, nil, nil, nil, nil, nil, c, nil) var got *pb.ListRequestProjectIssuesResponse var err error if byProject { diff --git a/service/stovepipe/server/handler/queue_status_test.go b/service/stovepipe/server/handler/queue_status_test.go index 6798cc1f5..bf76ef173 100644 --- a/service/stovepipe/server/handler/queue_status_test.go +++ b/service/stovepipe/server/handler/queue_status_test.go @@ -53,7 +53,7 @@ func TestGetQueueStatus(t *testing.T) { require.Equal(t, entity.GetQueueStatusRequest{Queue: "repo/main", ChangeURI: "C"}, req) return entity.GetQueueStatusResult{Queue: "repo/main", Enablement: entity.QueueState{Version: 1, State: entity.QueueEnablementDisabled}}, wantErr }} - server := NewStovepipeServer(nil, nil, nil, nil, nil, fake, nil, nil, nil) + server := NewStovepipeServer(nil, nil, nil, nil, nil, fake, nil, nil, nil, nil) response, err := server.GetQueueStatus(context.Background(), &pb.GetQueueStatusRequest{Queue: "repo/main", ChangeUri: "C"}) if wantErr != nil { require.Equal(t, tt.code, status.Code(err)) diff --git a/service/stovepipe/server/handler/server.go b/service/stovepipe/server/handler/server.go index 6a8e5d9c2..800248c27 100644 --- a/service/stovepipe/server/handler/server.go +++ b/service/stovepipe/server/handler/server.go @@ -42,6 +42,7 @@ type StovepipeServer struct { requestIssuesController controller.GetIssuesByRequestIDController projectIssuesController controller.ProjectIssuesController queueStatusController controller.GetQueueStatusController + issueHistoryController controller.ListIssueHistoryController } // NewStovepipeServer creates a gRPC service handler from Stovepipe controllers. @@ -55,6 +56,7 @@ func NewStovepipeServer( openIssuesController controller.ListOpenIssuesController, requestIssuesController controller.GetIssuesByRequestIDController, projectIssuesController controller.ProjectIssuesController, + issueHistoryController controller.ListIssueHistoryController, ) *StovepipeServer { return &StovepipeServer{ pingController: pingController, @@ -66,6 +68,7 @@ func NewStovepipeServer( requestIssuesController: requestIssuesController, projectIssuesController: projectIssuesController, queueStatusController: queueStatusController, + issueHistoryController: issueHistoryController, } } @@ -215,3 +218,11 @@ func projectIssuesError(err error) error { return err } } + +func (s *StovepipeServer) ListIssueHistory(ctx context.Context, req *pb.ListIssueHistoryRequest) (*pb.ListIssueHistoryResponse, error) { + result, err := s.issueHistoryController.ListIssueHistory(ctx, mapper.ProtoToListIssueHistoryRequest(req)) + if err != nil { + return nil, projectIssuesError(err) + } + return mapper.ListIssueHistoryResultToProto(result), nil +} diff --git a/service/stovepipe/server/main.go b/service/stovepipe/server/main.go index 0a9a0da0c..f4719a278 100644 --- a/service/stovepipe/server/main.go +++ b/service/stovepipe/server/main.go @@ -308,10 +308,11 @@ func run() error { openIssuesController := controller.NewListOpenIssuesController(logger.Sugar(), scope, storageFty, tenants) requestIssuesController := controller.NewGetIssuesByRequestIDController(logger.Sugar(), scope, storageFty, tenants) projectIssuesController := controller.NewProjectIssuesController(logger.Sugar(), scope, storageFty, tenants) + issueHistoryController := controller.NewListIssueHistoryController(scope, storageFty, tenants) srv := handler.NewStovepipeServer( pingController, ingestController, requestHistoryController, projectStatusController, listController, queueStatusController, openIssuesController, - requestIssuesController, projectIssuesController, + requestIssuesController, projectIssuesController, issueHistoryController, ) pb.RegisterStovepipeServer(grpcServer, srv) diff --git a/service/stovepipe/server/mapper/BUILD.bazel b/service/stovepipe/server/mapper/BUILD.bazel index cca375816..71305f32f 100644 --- a/service/stovepipe/server/mapper/BUILD.bazel +++ b/service/stovepipe/server/mapper/BUILD.bazel @@ -5,6 +5,7 @@ go_library( srcs = [ "get_issues_by_request_id.go", "ingest.go", + "issue_history.go", "list.go", "list_open_issues.go", "project_issues.go", @@ -26,6 +27,7 @@ go_test( srcs = [ "get_issues_by_request_id_test.go", "ingest_test.go", + "issue_history_test.go", "list_open_issues_test.go", "list_test.go", "project_issues_test.go", diff --git a/service/stovepipe/server/mapper/issue_history.go b/service/stovepipe/server/mapper/issue_history.go new file mode 100644 index 000000000..8ade43f38 --- /dev/null +++ b/service/stovepipe/server/mapper/issue_history.go @@ -0,0 +1,35 @@ +// Copyright (c) 2026 Uber Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package mapper + +import ( + pb "github.com/uber/submitqueue/api/stovepipe/protopb" + "github.com/uber/submitqueue/stovepipe/entity" +) + +// ProtoToListIssueHistoryRequest leaves defaults and validation to the controller. +func ProtoToListIssueHistoryRequest(req *pb.ListIssueHistoryRequest) entity.ListIssueHistoryRequest { + return entity.ListIssueHistoryRequest{Queue: req.GetQueue(), TaskID: req.GetTaskId(), UnitID: req.GetUnitId(), PageSize: req.GetPageSize(), PageToken: req.GetPageToken()} +} + +// ListIssueHistoryResultToProto preserves original occurrence values and missing source requests. +func ListIssueHistoryResultToProto(result entity.ListIssueHistoryResult) *pb.ListIssueHistoryResponse { + response := &pb.ListIssueHistoryResponse{Events: make([]*pb.IssueHistoryEvent, 0, len(result.Events)), NextPageToken: result.NextPageToken} + for _, entry := range result.Events { + response.Events = append(response.Events, &pb.IssueHistoryEvent{Event: string(entry.Log.Event), BuildId: entry.Log.BuildID, + TimestampMs: entry.Log.TimestampMs, FirstSeenBuildId: entry.Log.FirstSeenBuildID, RequestId: entry.RequestID}) + } + return response +} diff --git a/service/stovepipe/server/mapper/issue_history_test.go b/service/stovepipe/server/mapper/issue_history_test.go new file mode 100644 index 000000000..de2799930 --- /dev/null +++ b/service/stovepipe/server/mapper/issue_history_test.go @@ -0,0 +1,44 @@ +// Copyright (c) 2026 Uber Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package mapper + +import ( + "testing" + + "github.com/stretchr/testify/require" + pb "github.com/uber/submitqueue/api/stovepipe/protopb" + "github.com/uber/submitqueue/stovepipe/entity" +) + +func TestIssueHistoryMapping(t *testing.T) { + for _, req := range []*pb.ListIssueHistoryRequest{nil, {Queue: "q", TaskId: "t", UnitId: "u", PageSize: 2, PageToken: "p"}} { + got := ProtoToListIssueHistoryRequest(req) + require.Equal(t, req.GetQueue(), got.Queue) + require.Equal(t, req.GetTaskId(), got.TaskID) + require.Equal(t, req.GetUnitId(), got.UnitID) + require.Equal(t, req.GetPageSize(), got.PageSize) + require.Equal(t, req.GetPageToken(), got.PageToken) + } + log := entity.IssueLog{Event: entity.IssueEventReported, BuildID: "b", TimestampMs: 9007199254740993, FirstSeenBuildID: "a"} + response := ListIssueHistoryResultToProto(entity.ListIssueHistoryResult{Events: []entity.IssueHistoryEntry{{Log: log, RequestID: "12"}, {Log: log}}, NextPageToken: "next"}) + require.Equal(t, "next", response.NextPageToken) + require.Len(t, response.Events, 2) + require.Equal(t, "reported", response.Events[0].Event) + require.Equal(t, log.TimestampMs, response.Events[0].TimestampMs) + require.Equal(t, "a", response.Events[0].FirstSeenBuildId) + require.Equal(t, "b", response.Events[0].BuildId) + require.Equal(t, "12", response.Events[0].RequestId) + require.Empty(t, response.Events[1].RequestId) +} diff --git a/stovepipe/controller/BUILD.bazel b/stovepipe/controller/BUILD.bazel index a1f7b88f0..6a7a17b0a 100644 --- a/stovepipe/controller/BUILD.bazel +++ b/stovepipe/controller/BUILD.bazel @@ -7,6 +7,7 @@ go_library( "get_queue_status.go", "ingest.go", "list.go", + "list_issue_history.go", "list_open_issues.go", "list_pagination.go", "ping.go", @@ -44,6 +45,7 @@ go_test( "get_queue_status_test.go", "ingest_test.go", "list_consistency_test.go", + "list_issue_history_test.go", "list_open_issues_test.go", "list_pagination_test.go", "list_test.go", diff --git a/stovepipe/controller/list_issue_history.go b/stovepipe/controller/list_issue_history.go new file mode 100644 index 000000000..86b875b8a --- /dev/null +++ b/stovepipe/controller/list_issue_history.go @@ -0,0 +1,148 @@ +// Copyright (c) 2026 Uber Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package controller + +//go:generate mockgen -source=list_issue_history.go -destination=mock/list_issue_history_mock.go -package=mock + +import ( + "context" + "encoding/base64" + "encoding/json" + "fmt" + + "github.com/uber-go/tally" + "github.com/uber/submitqueue/platform/metrics" + "github.com/uber/submitqueue/stovepipe/entity" + "github.com/uber/submitqueue/stovepipe/extension/storage" +) + +// ListIssueHistoryController reads retained occurrences of one issue across requests. +type ListIssueHistoryController interface { + ListIssueHistory(context.Context, entity.ListIssueHistoryRequest) (entity.ListIssueHistoryResult, error) +} + +type listIssueHistoryController struct { + scope tally.Scope + stores storage.Factory + queues map[string]struct{} +} + +// The maximum byte-length identities can expand through JSON escaping and base64. +const maxIssueHistoryPageTokenLength = 32768 + +type issueHistoryPageToken struct { + Version int `json:"version"` + Queue string `json:"queue"` + TaskID string `json:"task_id"` + UnitID string `json:"unit_id"` + After storage.IssueLogCursor `json:"after"` +} + +// NewListIssueHistoryController restricts reads to configured queues. +func NewListIssueHistoryController(scope tally.Scope, stores storage.Factory, queues []string) ListIssueHistoryController { + configured := make(map[string]struct{}, len(queues)) + for _, queue := range queues { + configured[queue] = struct{}{} + } + return &listIssueHistoryController{scope: scope.SubScope("list_issue_history_controller"), stores: stores, queues: configured} +} + +func (c *listIssueHistoryController) ListIssueHistory(ctx context.Context, req entity.ListIssueHistoryRequest) (result entity.ListIssueHistoryResult, retErr error) { + op := metrics.Begin(c.scope, "list", metrics.StorageLatencyBuckets, metrics.TagsFromContext(ctx)...) + defer func() { op.Complete(retErr) }() + if _, ok := c.queues[req.Queue]; !ok || req.Queue == "" || len(req.Queue) > 255 { + return result, fmt.Errorf("issue history requires a configured queue: %w", ErrInvalidRequest) + } + if req.TaskID == "" || len(req.TaskID) > 255 || len(req.UnitID) > 1024 { + return result, fmt.Errorf("invalid issue task or unit identity: %w", ErrInvalidRequest) + } + bounds, err := resolveIssueHistoryRange(req) + if err != nil { + return result, err + } + store, err := c.stores.For(storage.Config{QueueName: req.Queue}) + if err != nil { + return result, fmt.Errorf("resolve issue history storage: %w", err) + } + logs, err := store.GetIssueLogStore().List(ctx, req.TaskID, req.UnitID, bounds) + if err != nil { + return result, fmt.Errorf("read issue history: %w", err) + } + pageSize := bounds.Limit - 1 + if len(logs) > pageSize { + logs = logs[:pageSize] + last := logs[len(logs)-1] + token := issueHistoryPageToken{Version: 1, Queue: req.Queue, TaskID: req.TaskID, UnitID: req.UnitID, + After: storage.IssueLogCursor{TimestampMs: last.TimestampMs, BuildID: last.BuildID, Event: last.Event}} + data, err := json.Marshal(token) + if err != nil { + return result, fmt.Errorf("encode issue history continuation: %w", err) + } + result.NextPageToken = base64.RawURLEncoding.EncodeToString(data) + } + result.Events = make([]entity.IssueHistoryEntry, 0, len(logs)) + for _, log := range logs { + entry := entity.IssueHistoryEntry{Log: log} + build, err := store.GetBuildStore().Get(ctx, log.BuildID) + // Retained occurrences remain useful even after source builds have expired. + if err != nil && !storage.IsNotFound(err) { + return entity.ListIssueHistoryResult{}, fmt.Errorf("resolve issue source request: %w", err) + } + if err == nil { + entry.RequestID = build.RequestID + } + result.Events = append(result.Events, entry) + } + return result, nil +} + +func resolveIssueHistoryRange(req entity.ListIssueHistoryRequest) (storage.IssueLogRange, error) { + if req.PageSize < 0 || req.PageSize > maxListPageSize { + return storage.IssueLogRange{}, fmt.Errorf("invalid issue history page size: %w", ErrInvalidRequest) + } + size := int(req.PageSize) + if size == 0 { + size = defaultListPageSize + } + bounds := storage.IssueLogRange{Limit: size + 1} + if req.PageToken == "" { + return bounds, nil + } + if len(req.PageToken) > maxIssueHistoryPageTokenLength { + return bounds, fmt.Errorf("issue history continuation is too large: %w", ErrInvalidRequest) + } + data, err := base64.RawURLEncoding.Strict().DecodeString(req.PageToken) + if err != nil { + return bounds, fmt.Errorf("invalid issue history continuation: %w", ErrInvalidRequest) + } + var token issueHistoryPageToken + if err := json.Unmarshal(data, &token); err != nil { + return bounds, fmt.Errorf("invalid issue history continuation: %w", ErrInvalidRequest) + } + if token.Version != 1 || token.Queue != req.Queue || token.TaskID != req.TaskID || token.UnitID != req.UnitID { + return bounds, fmt.Errorf("issue history continuation does not match issue: %w", ErrInvalidRequest) + } + after := token.After + if after.TimestampMs <= 0 || after.BuildID == "" || len(after.BuildID) > 1020 { + return bounds, fmt.Errorf("invalid issue history position: %w", ErrInvalidRequest) + } + switch after.Event { + case entity.IssueEventOpened, entity.IssueEventReported, entity.IssueEventClosed: + default: + return bounds, fmt.Errorf("invalid issue history event: %w", ErrInvalidRequest) + } + bounds.After = after + return bounds, nil +} diff --git a/stovepipe/controller/list_issue_history_test.go b/stovepipe/controller/list_issue_history_test.go new file mode 100644 index 000000000..6a10cc99b --- /dev/null +++ b/stovepipe/controller/list_issue_history_test.go @@ -0,0 +1,155 @@ +// Copyright (c) 2026 Uber Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package controller + +import ( + "context" + "encoding/base64" + "encoding/json" + "strings" + "testing" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "github.com/uber-go/tally" + "github.com/uber/submitqueue/stovepipe/entity" + "github.com/uber/submitqueue/stovepipe/extension/storage" + storagemock "github.com/uber/submitqueue/stovepipe/extension/storage/mock" + "go.uber.org/mock/gomock" +) + +func TestIssueHistoryPagination(t *testing.T) { + mocks := gomock.NewController(t) + factory := storagemock.NewMockFactory(mocks) + store := storagemock.NewMockStorage(mocks) + logs := storagemock.NewMockIssueLogStore(mocks) + builds := storagemock.NewMockBuildStore(mocks) + c := NewListIssueHistoryController(tally.NoopScope, factory, []string{"queue"}) + factory.EXPECT().For(storage.Config{QueueName: "queue"}).Return(store, nil).Times(2) + store.EXPECT().GetIssueLogStore().Return(logs).Times(2) + store.EXPECT().GetBuildStore().Return(builds).Times(4) + rows := []entity.IssueLog{ + {TaskID: "task", BuildID: "z", Event: entity.IssueEventOpened, TimestampMs: 100, FirstSeenBuildID: "z"}, + {TaskID: "task", BuildID: "a", Event: entity.IssueEventReported, TimestampMs: 200, FirstSeenBuildID: "z"}, + {TaskID: "task", BuildID: "a", Event: entity.IssueEventClosed, TimestampMs: 300, FirstSeenBuildID: "z"}, + {TaskID: "task", BuildID: "b", Event: entity.IssueEventOpened, TimestampMs: 400, FirstSeenBuildID: "b"}, + } + logs.EXPECT().List(gomock.Any(), "task", "", storage.IssueLogRange{Limit: 3}).Return(rows[:3], nil) + builds.EXPECT().Get(gomock.Any(), "z").Return(entity.Build{ID: "z", RequestID: "1"}, nil) + builds.EXPECT().Get(gomock.Any(), "a").Return(entity.Build{ID: "a", RequestID: "2"}, nil).Times(2) + builds.EXPECT().Get(gomock.Any(), "b").Return(entity.Build{}, storage.ErrNotFound) + req := entity.ListIssueHistoryRequest{Queue: "queue", TaskID: "task", PageSize: 2} + first, err := c.ListIssueHistory(context.Background(), req) + require.NoError(t, err) + require.Equal(t, []entity.IssueHistoryEntry{{Log: rows[0], RequestID: "1"}, {Log: rows[1], RequestID: "2"}}, first.Events) + require.NotEmpty(t, first.NextPageToken) + logs.EXPECT().List(gomock.Any(), "task", "", storage.IssueLogRange{Limit: 3, After: storage.IssueLogCursor{TimestampMs: 200, BuildID: "a", Event: entity.IssueEventReported}}).Return(rows[2:], nil) + req.PageToken = first.NextPageToken + last, err := c.ListIssueHistory(context.Background(), req) + require.NoError(t, err) + require.Equal(t, []entity.IssueHistoryEntry{{Log: rows[2], RequestID: "2"}, {Log: rows[3]}}, last.Events) + require.Empty(t, last.NextPageToken) +} + +func TestIssueHistoryInvalidRequests(t *testing.T) { + valid := issueHistoryPageToken{Version: 1, Queue: "queue", TaskID: "task", UnitID: "unit", After: storage.IssueLogCursor{TimestampMs: 1, BuildID: "b", Event: entity.IssueEventOpened}} + for _, tt := range []struct { + name string + change func(*issueHistoryPageToken) + }{ + {"queue", func(t *issueHistoryPageToken) { t.Queue = "other" }}, + {"task", func(t *issueHistoryPageToken) { t.TaskID = "other" }}, + {"unit", func(t *issueHistoryPageToken) { t.UnitID = "" }}, + {"version", func(t *issueHistoryPageToken) { t.Version = 0 }}, + {"timestamp", func(t *issueHistoryPageToken) { t.After.TimestampMs = 0 }}, + {"build", func(t *issueHistoryPageToken) { t.After.BuildID = "" }}, + {"oversized build", func(t *issueHistoryPageToken) { t.After.BuildID = strings.Repeat("b", 1021) }}, + {"event", func(t *issueHistoryPageToken) { t.After.Event = "future" }}, + } { + t.Run(tt.name, func(t *testing.T) { + token := valid + tt.change(&token) + data, err := json.Marshal(token) + require.NoError(t, err) + _, err = resolveIssueHistoryRange(entity.ListIssueHistoryRequest{Queue: "queue", TaskID: "task", UnitID: "unit", PageToken: base64.RawURLEncoding.EncodeToString(data)}) + require.ErrorIs(t, err, ErrInvalidRequest) + }) + } + factory := storagemock.NewMockFactory(gomock.NewController(t)) + c := NewListIssueHistoryController(tally.NoopScope, factory, []string{"queue"}) + for _, req := range []entity.ListIssueHistoryRequest{ + {}, {Queue: "other", TaskID: "task"}, {Queue: "queue"}, + {Queue: "queue", TaskID: strings.Repeat("t", 256)}, + {Queue: "queue", TaskID: "task", UnitID: strings.Repeat("u", 1025)}, + {Queue: "queue", TaskID: "task", PageSize: -1}, {Queue: "queue", TaskID: "task", PageSize: 201}, + {Queue: "queue", TaskID: "task", PageToken: "bad!"}, + {Queue: "queue", TaskID: "task", PageToken: base64.RawURLEncoding.EncodeToString([]byte("not json"))}, + {Queue: "queue", TaskID: "task", PageToken: strings.Repeat("a", maxIssueHistoryPageTokenLength+1)}, + } { + _, err := c.ListIssueHistory(context.Background(), req) + require.ErrorIs(t, err, ErrInvalidRequest) + } +} + +func TestIssueHistoryReads(t *testing.T) { + for _, step := range []string{"empty", "factory", "logs", "build"} { + t.Run(step, func(t *testing.T) { + mocks := gomock.NewController(t) + factory := storagemock.NewMockFactory(mocks) + store := storagemock.NewMockStorage(mocks) + logs := storagemock.NewMockIssueLogStore(mocks) + builds := storagemock.NewMockBuildStore(mocks) + c := NewListIssueHistoryController(tally.NoopScope, factory, []string{"queue"}) + failAt := func(s string) error { + if s == step { + return assert.AnError + } + return nil + } + factory.EXPECT().For(gomock.Any()).Return(store, failAt("factory")) + if step != "factory" { + store.EXPECT().GetIssueLogStore().Return(logs) + var rows []entity.IssueLog + if step == "build" { + rows = []entity.IssueLog{{BuildID: "build"}} + } + logs.EXPECT().List(gomock.Any(), "task", "unit", storage.IssueLogRange{Limit: 51}).Return(rows, failAt("logs")) + } + if step == "build" { + store.EXPECT().GetBuildStore().Return(builds) + builds.EXPECT().Get(gomock.Any(), "build").Return(entity.Build{}, assert.AnError) + } + got, err := c.ListIssueHistory(context.Background(), entity.ListIssueHistoryRequest{Queue: "queue", TaskID: "task", UnitID: "unit"}) + if step == "empty" { + require.NoError(t, err) + require.Empty(t, got.Events) + require.Empty(t, got.NextPageToken) + } else { + require.ErrorIs(t, err, assert.AnError) + require.Empty(t, got.Events) + } + }) + } +} + +func TestIssueHistoryEscapedIdentityContinuation(t *testing.T) { + token := issueHistoryPageToken{Version: 1, Queue: strings.Repeat("\x00", 255), TaskID: strings.Repeat("\x00", 255), UnitID: strings.Repeat("\x00", 1024), + After: storage.IssueLogCursor{TimestampMs: 1, BuildID: strings.Repeat("\x00", 1020), Event: entity.IssueEventOpened}} + data, err := json.Marshal(token) + require.NoError(t, err) + bounds, err := resolveIssueHistoryRange(entity.ListIssueHistoryRequest{Queue: token.Queue, TaskID: token.TaskID, UnitID: token.UnitID, PageToken: base64.RawURLEncoding.EncodeToString(data)}) + require.NoError(t, err) + require.Equal(t, token.After, bounds.After) +} diff --git a/stovepipe/controller/mock/BUILD.bazel b/stovepipe/controller/mock/BUILD.bazel index 2f86dc6eb..04c0ebc0b 100644 --- a/stovepipe/controller/mock/BUILD.bazel +++ b/stovepipe/controller/mock/BUILD.bazel @@ -4,6 +4,7 @@ go_library( name = "go_default_library", srcs = [ "get_issues_by_request_id_mock.go", + "list_issue_history_mock.go", "list_open_issues_mock.go", "project_issues_mock.go", "project_status_mock.go", diff --git a/stovepipe/controller/mock/list_issue_history_mock.go b/stovepipe/controller/mock/list_issue_history_mock.go new file mode 100644 index 000000000..76d4bdaa0 --- /dev/null +++ b/stovepipe/controller/mock/list_issue_history_mock.go @@ -0,0 +1,57 @@ +// Code generated by MockGen. DO NOT EDIT. +// Source: list_issue_history.go +// +// Generated by this command: +// +// mockgen -source=list_issue_history.go -destination=mock/list_issue_history_mock.go -package=mock +// + +// Package mock is a generated GoMock package. +package mock + +import ( + context "context" + reflect "reflect" + + entity "github.com/uber/submitqueue/stovepipe/entity" + gomock "go.uber.org/mock/gomock" +) + +// MockListIssueHistoryController is a mock of ListIssueHistoryController interface. +type MockListIssueHistoryController struct { + ctrl *gomock.Controller + recorder *MockListIssueHistoryControllerMockRecorder + isgomock struct{} +} + +// MockListIssueHistoryControllerMockRecorder is the mock recorder for MockListIssueHistoryController. +type MockListIssueHistoryControllerMockRecorder struct { + mock *MockListIssueHistoryController +} + +// NewMockListIssueHistoryController creates a new mock instance. +func NewMockListIssueHistoryController(ctrl *gomock.Controller) *MockListIssueHistoryController { + mock := &MockListIssueHistoryController{ctrl: ctrl} + mock.recorder = &MockListIssueHistoryControllerMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockListIssueHistoryController) EXPECT() *MockListIssueHistoryControllerMockRecorder { + return m.recorder +} + +// ListIssueHistory mocks base method. +func (m *MockListIssueHistoryController) ListIssueHistory(arg0 context.Context, arg1 entity.ListIssueHistoryRequest) (entity.ListIssueHistoryResult, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListIssueHistory", arg0, arg1) + ret0, _ := ret[0].(entity.ListIssueHistoryResult) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ListIssueHistory indicates an expected call of ListIssueHistory. +func (mr *MockListIssueHistoryControllerMockRecorder) ListIssueHistory(arg0, arg1 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListIssueHistory", reflect.TypeOf((*MockListIssueHistoryController)(nil).ListIssueHistory), arg0, arg1) +} diff --git a/stovepipe/entity/BUILD.bazel b/stovepipe/entity/BUILD.bazel index 1dad63104..3d91d30ab 100644 --- a/stovepipe/entity/BUILD.bazel +++ b/stovepipe/entity/BUILD.bazel @@ -7,6 +7,7 @@ go_library( "build_issue.go", "get_issues_by_request_id.go", "ingest.go", + "issue_history.go", "issue_log.go", "issue_repair.go", "issue_state.go", diff --git a/stovepipe/entity/issue_history.go b/stovepipe/entity/issue_history.go new file mode 100644 index 000000000..a9875117d --- /dev/null +++ b/stovepipe/entity/issue_history.go @@ -0,0 +1,45 @@ +// Copyright (c) 2026 Uber Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package entity + +// ListIssueHistoryRequest selects retained occurrences of one queue-scoped issue. +type ListIssueHistoryRequest struct { + // Queue identifies the configured queue. + Queue string + // TaskID identifies the validation task. + TaskID string + // UnitID identifies the validation unit; empty means task-wide. + UnitID string + // PageSize is the maximum number of events; zero selects the default. + PageSize int32 + // PageToken is the opaque continuation bound to this issue. + PageToken string +} + +// IssueHistoryEntry combines an immutable occurrence with its source request. +type IssueHistoryEntry struct { + // Log is the retained issue occurrence. + Log IssueLog + // RequestID is the source request; empty when the build is no longer retained. + RequestID string +} + +// ListIssueHistoryResult is one page of retained occurrences, not complete coverage. +type ListIssueHistoryResult struct { + // Events are ordered by recorded timestamp, build ID, and event ascending. + Events []IssueHistoryEntry + // NextPageToken continues the scan; empty ends the currently observed range. + NextPageToken string +} diff --git a/stovepipe/extension/storage/README.md b/stovepipe/extension/storage/README.md index 85e5c4261..d669ccb2b 100644 --- a/stovepipe/extension/storage/README.md +++ b/stovepipe/extension/storage/README.md @@ -115,3 +115,9 @@ The issue-tracking table must include the notification, cursor, `finalize`, and The request-issue summary store retains one materialized result per request, task, and unit in its bound queue. New includes reopened issues; existing means this request reported an issue that was already open; closed means this request actually closed it. Issues merely left open because closure was suppressed are not existing results. Reads use a bounded request-prefix scan in task/unit order. These results describe the request's accepted updates, not the queue's full open-issue set. Issue history retains openings, repeat reports, and closures. The existing event column and its open/closed values remain unchanged; reported events do not change lifecycle projections. New occurrences retain the opening build reference so request projections can be reconstructed without current issue state. Deploy the additive opening-reference column before updated writers. Existing lifecycle records may have an empty reference and continue using the opening supplied to lifecycle materialization. + +### Browsing retained issue history + +Issue history reads select one exact queue/task/unit identity, including an empty unit for task-wide failures. Pages order retained occurrences by their original timestamp, then bytewise build ID and event; opaque build IDs do not imply request chronology. Continuations are exclusive and scoped to that issue. Late writes can precede a cursor, so readers restart from the first page to refresh coverage. Empty history means no retained occurrences, not proof that an issue never existed. Legacy records may lack an opening reference, and repeat reports only exist for the period in which they were recorded. + +The MySQL reader restricts the scan to the issue's primary-key prefix and sorts that issue's retained rows by timestamp. It adds no secondary index or schema migration; the page limit bounds returned rows, not the number examined within a long-lived issue. diff --git a/stovepipe/extension/storage/issue_log_store.go b/stovepipe/extension/storage/issue_log_store.go index 6b9c262f3..e004463a1 100644 --- a/stovepipe/extension/storage/issue_log_store.go +++ b/stovepipe/extension/storage/issue_log_store.go @@ -22,6 +22,24 @@ import ( "github.com/uber/submitqueue/stovepipe/entity" ) +// IssueLogCursor is an exclusive position in recorded-time, build, event order. +type IssueLogCursor struct { + // TimestampMs is the original occurrence timestamp in Unix milliseconds. + TimestampMs int64 + // BuildID is the opaque build identity used to break timestamp ties. + BuildID string + // Event breaks ties between occurrences from the same build. + Event entity.IssueEvent +} + +// IssueLogRange bounds retained occurrences within one issue. +type IssueLogRange struct { + // After excludes this occurrence and earlier positions; zero starts the range. + After IssueLogCursor + // Limit is the positive maximum number of occurrences to return. + Limit int +} + // IssueLogStore retains immutable issue events within the bound queue. // Task, unit, build, and event identify one occurrence. type IssueLogStore interface { @@ -29,6 +47,10 @@ type IssueLogStore interface { // A duplicate never replaces the original timestamp. Create(ctx context.Context, log entity.IssueLog) error + // List returns at most Limit occurrences ordered by timestamp, build, event ascending. + // Concurrent late writes can precede the cursor; pages are not a snapshot. + List(ctx context.Context, taskID, unitID string, bounds IssueLogRange) ([]entity.IssueLog, error) + // Get returns ErrNotFound when the occurrence has not been recorded. Get(ctx context.Context, taskID, unitID, buildID string, event entity.IssueEvent) (entity.IssueLog, error) } diff --git a/stovepipe/extension/storage/mock/issue_log_store_mock.go b/stovepipe/extension/storage/mock/issue_log_store_mock.go index 54453faba..4a483b894 100644 --- a/stovepipe/extension/storage/mock/issue_log_store_mock.go +++ b/stovepipe/extension/storage/mock/issue_log_store_mock.go @@ -14,6 +14,7 @@ import ( reflect "reflect" entity "github.com/uber/submitqueue/stovepipe/entity" + storage "github.com/uber/submitqueue/stovepipe/extension/storage" gomock "go.uber.org/mock/gomock" ) @@ -69,3 +70,18 @@ func (mr *MockIssueLogStoreMockRecorder) Get(ctx, taskID, unitID, buildID, event mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockIssueLogStore)(nil).Get), ctx, taskID, unitID, buildID, event) } + +// List mocks base method. +func (m *MockIssueLogStore) List(ctx context.Context, taskID, unitID string, bounds storage.IssueLogRange) ([]entity.IssueLog, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "List", ctx, taskID, unitID, bounds) + ret0, _ := ret[0].([]entity.IssueLog) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// List indicates an expected call of List. +func (mr *MockIssueLogStoreMockRecorder) List(ctx, taskID, unitID, bounds any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockIssueLogStore)(nil).List), ctx, taskID, unitID, bounds) +} diff --git a/stovepipe/extension/storage/mysql/issue_log_store.go b/stovepipe/extension/storage/mysql/issue_log_store.go index 7cd2dbb9d..0f71081e2 100644 --- a/stovepipe/extension/storage/mysql/issue_log_store.go +++ b/stovepipe/extension/storage/mysql/issue_log_store.go @@ -107,3 +107,49 @@ func (s *issueLogStore) validateKey(taskID, unitID, buildID string, event entity } var _ storage.IssueLogStore = (*issueLogStore)(nil) + +const listIssueLogsQuery = `SELECT task_id, unit_id, build_id, event, timestamp_ms, first_seen_build_id + FROM issue_log WHERE queue = ? AND task_id = ? AND unit_id = ?` +const issueLogOrder = ` ORDER BY timestamp_ms ASC, build_id ASC, event ASC LIMIT ?` + +func (s *issueLogStore) List(ctx context.Context, taskID, unitID string, bounds storage.IssueLogRange) (ret []entity.IssueLog, retErr error) { + op := metrics.Begin(s.scope, "list", metrics.StorageLatencyBuckets) + defer func() { op.Complete(retErr) }() + if taskID == "" || bounds.Limit <= 0 { + return nil, fmt.Errorf("issue history requires a task and positive limit") + } + if err := validateBuildIssueKey(s.queue, "", taskID, unitID); err != nil { + return nil, err + } + query := listIssueLogsQuery + args := []any{s.queue, taskID, unitID} + after := bounds.After + if after != (storage.IssueLogCursor{}) { + if after.TimestampMs <= 0 { + return nil, fmt.Errorf("issue history cursor requires a positive timestamp") + } + if err := s.validateKey(taskID, unitID, after.BuildID, after.Event); err != nil { + return nil, err + } + query += ` AND (timestamp_ms, build_id, event) > (?, ?, ?)` + args = append(args, after.TimestampMs, after.BuildID, after.Event) + } + args = append(args, bounds.Limit) + rows, err := s.db.QueryContext(ctx, query+issueLogOrder, args...) + if err != nil { + return nil, fmt.Errorf("list issue history: %w", err) + } + defer rows.Close() + logs := make([]entity.IssueLog, 0) + for rows.Next() { + var log entity.IssueLog + if err := rows.Scan(&log.TaskID, &log.UnitID, &log.BuildID, &log.Event, &log.TimestampMs, &log.FirstSeenBuildID); err != nil { + return nil, fmt.Errorf("scan issue history: %w", err) + } + logs = append(logs, log) + } + if err := rows.Err(); err != nil { + return nil, fmt.Errorf("iterate issue history: %w", err) + } + return logs, nil +} diff --git a/stovepipe/extension/storage/mysql/issue_log_store_test.go b/stovepipe/extension/storage/mysql/issue_log_store_test.go index 2b2fdb9dc..fd1754b67 100644 --- a/stovepipe/extension/storage/mysql/issue_log_store_test.go +++ b/stovepipe/extension/storage/mysql/issue_log_store_test.go @@ -17,6 +17,7 @@ package mysql import ( "context" "database/sql" + "database/sql/driver" "regexp" "strings" "testing" @@ -173,3 +174,72 @@ func TestIssueLogRejectsInvalidValues(t *testing.T) { }) } } + +func TestIssueLogList(t *testing.T) { + for _, kind := range []string{"first", "next", "empty", "query error", "scan error", "rows error"} { + t.Run(kind, func(t *testing.T) { + db, mock, err := sqlmock.New() + require.NoError(t, err) + defer db.Close() + store := NewIssueLogStore(db, testMetrics(), "queue") + bounds := storage.IssueLogRange{Limit: 2} + query := listIssueLogsQuery + args := []driver.Value{"queue", "task", "", 2} + if kind == "next" { + bounds.After = storage.IssueLogCursor{TimestampMs: 100, BuildID: "a", Event: entity.IssueEventClosed} + query += ` AND (timestamp_ms, build_id, event) > (?, ?, ?)` + args = []driver.Value{"queue", "task", "", int64(100), "a", entity.IssueEventClosed, 2} + } + expectation := mock.ExpectQuery(regexp.QuoteMeta(query + issueLogOrder)).WithArgs(args...) + rows := sqlmock.NewRows([]string{"task_id", "unit_id", "build_id", "event", "timestamp_ms", "first_seen_build_id"}) + switch kind { + case "query error": + expectation.WillReturnError(assert.AnError) + case "empty": + expectation.WillReturnRows(rows) + case "scan error": + expectation.WillReturnRows(rows.AddRow("task", "", "b", "open", "invalid", "b")) + case "rows error": + expectation.WillReturnRows(rows.AddRow("task", "", "b", "open", 100, "b").RowError(0, assert.AnError)) + default: + expectation.WillReturnRows(rows.AddRow("task", "", "b", "open", 100, "b")) + } + got, err := store.List(context.Background(), "task", "", bounds) + switch kind { + case "query error", "rows error": + require.ErrorIs(t, err, assert.AnError) + case "scan error": + require.Error(t, err) + case "empty": + require.NoError(t, err) + require.Empty(t, got) + default: + require.NoError(t, err) + require.Equal(t, []entity.IssueLog{{TaskID: "task", BuildID: "b", Event: entity.IssueEventOpened, TimestampMs: 100, FirstSeenBuildID: "b"}}, got) + } + require.NoError(t, mock.ExpectationsWereMet()) + }) + } +} + +func TestIssueLogListInvalidRanges(t *testing.T) { + for _, tt := range []struct { + task, unit string + bounds storage.IssueLogRange + }{ + {"", "", storage.IssueLogRange{Limit: 2}}, + {"task", "", storage.IssueLogRange{}}, + {strings.Repeat("t", 256), "", storage.IssueLogRange{Limit: 2}}, + {"task", strings.Repeat("u", 1025), storage.IssueLogRange{Limit: 2}}, + {"task", "", storage.IssueLogRange{Limit: 2, After: storage.IssueLogCursor{BuildID: "b"}}}, + {"task", "", storage.IssueLogRange{Limit: 2, After: storage.IssueLogCursor{TimestampMs: 1}}}, + {"task", "", storage.IssueLogRange{Limit: 2, After: storage.IssueLogCursor{TimestampMs: 1, BuildID: "b", Event: "future"}}}, + } { + db, mock, err := sqlmock.New() + require.NoError(t, err) + _, err = NewIssueLogStore(db, testMetrics(), "queue").List(context.Background(), tt.task, tt.unit, tt.bounds) + require.Error(t, err) + require.NoError(t, mock.ExpectationsWereMet()) + db.Close() + } +} diff --git a/test/integration/stovepipe/extension/storage/mysql/issue_log_test.go b/test/integration/stovepipe/extension/storage/mysql/issue_log_test.go index 8bc4d05c9..490f26d8b 100644 --- a/test/integration/stovepipe/extension/storage/mysql/issue_log_test.go +++ b/test/integration/stovepipe/extension/storage/mysql/issue_log_test.go @@ -34,6 +34,48 @@ func testIssueLogStore(t *testing.T, ctx context.Context, factory storage.Factor opened := entity.IssueLog{TaskID: "validation", UnitID: "unit", Event: entity.IssueEventOpened, BuildID: "build/1", TimestampMs: 1000} + t.Run("paged history keeps recorded order and exact issue scope", func(t *testing.T) { + rows := []entity.IssueLog{ + {TaskID: "timeline", Event: entity.IssueEventOpened, BuildID: "z", TimestampMs: 100}, + {TaskID: "timeline", Event: entity.IssueEventClosed, BuildID: "A", TimestampMs: 200}, + {TaskID: "timeline", Event: entity.IssueEventOpened, BuildID: "A", TimestampMs: 200}, + {TaskID: "timeline", Event: entity.IssueEventReported, BuildID: "a", TimestampMs: 200, FirstSeenBuildID: "A"}, + {TaskID: "timeline", Event: entity.IssueEventClosed, BuildID: "a ", TimestampMs: 200}, + {TaskID: "timeline", Event: entity.IssueEventOpened, BuildID: "b", TimestampMs: 300}, + } + for i := len(rows) - 1; i >= 0; i-- { + require.NoError(t, store.Create(ctx, rows[i])) + } + for _, identity := range [][2]string{{"Timeline", ""}, {"timeline ", ""}, {"timeline", "unit"}} { + log := rows[0] + log.TaskID, log.UnitID = identity[0], identity[1] + require.NoError(t, store.Create(ctx, log)) + } + other, err := factory.For(storage.Config{QueueName: "other-timeline"}) + require.NoError(t, err) + log := rows[0] + log.TimestampMs = 99 + require.NoError(t, other.GetIssueLogStore().Create(ctx, log)) + var got []entity.IssueLog + bounds := storage.IssueLogRange{Limit: 2} + for { + page, err := store.List(ctx, "timeline", "", bounds) + require.NoError(t, err) + require.LessOrEqual(t, len(page), 2) + if len(page) == 0 { + break + } + got = append(got, page...) + require.LessOrEqual(t, len(got), len(rows)) + last := page[len(page)-1] + bounds.After = storage.IssueLogCursor{TimestampMs: last.TimestampMs, BuildID: last.BuildID, Event: last.Event} + } + require.Equal(t, rows, got) + missing, err := store.List(ctx, "missing", "", storage.IssueLogRange{Limit: 2}) + require.NoError(t, err) + require.Empty(t, missing) + }) + t.Run("history survives closure and reopening", func(t *testing.T) { issue := entity.IssueState{TaskID: opened.TaskID, UnitID: opened.UnitID, FirstSeenBuildID: opened.BuildID, Status: entity.IssueStatusOpen, Version: 1, LastProcessedBuildID: opened.BuildID, LastChangedBuildID: opened.BuildID, ChangedAtMs: 1000} require.NoError(t, bound.GetIssueStateStore().Create(ctx, issue)) diff --git a/web/api/src/gen/api/stovepipe/proto/stovepipe_pb.ts b/web/api/src/gen/api/stovepipe/proto/stovepipe_pb.ts index 92451a9fc..25b458eb2 100644 --- a/web/api/src/gen/api/stovepipe/proto/stovepipe_pb.ts +++ b/web/api/src/gen/api/stovepipe/proto/stovepipe_pb.ts @@ -24,7 +24,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file api/stovepipe/proto/stovepipe.proto. */ export const file_api_stovepipe_proto_stovepipe: GenFile = /*@__PURE__*/ - fileDesc("CiNhcGkvc3RvdmVwaXBlL3Byb3RvL3N0b3ZlcGlwZS5wcm90bxIadWJlci5zdWJtaXRxdWV1ZS5zdG92ZXBpcGUiHgoLUGluZ1JlcXVlc3QSDwoHbWVzc2FnZRgBIAEoCSJaCgxQaW5nUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCRIUCgxzZXJ2aWNlX25hbWUYAiABKAkSEQoJdGltZXN0YW1wGAMgASgDEhAKCGhvc3RuYW1lGAQgASgJIl8KDUluZ2VzdFJlcXVlc3QSDQoFcXVldWUYASABKAkSPwoKZW5hYmxlbWVudBgCIAEoDjIrLnViZXIuc3VibWl0cXVldWUuc3RvdmVwaXBlLlF1ZXVlRW5hYmxlbWVudCJjCg5Jbmdlc3RSZXNwb25zZRIKCgJpZBgBIAEoCRJFCgplbmFibGVtZW50GAIgASgLMjEudWJlci5zdWJtaXRxdWV1ZS5zdG92ZXBpcGUuUXVldWVFbmFibGVtZW50U3RhdHVzIkEKHEdldFJlcXVlc3RIaXN0b3J5QnlJRFJlcXVlc3QSDQoFcXVldWUYASABKAkSEgoKcmVxdWVzdF9pZBgCIAEoCSI7Ch1HZXRSZXF1ZXN0SGlzdG9yeUJ5VVJJUmVxdWVzdBINCgVxdWV1ZRgBIAEoCRILCgN1cmkYAiABKAkiwgEKDEhpc3RvcnlFdmV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0T3Blbklzc3Vlc1Jlc3BvbnNlIgASfwoQTGlzdElzc3VlSGlzdG9yeRIzLnViZXIuc3VibWl0cXVldWUuc3RvdmVwaXBlLkxpc3RJc3N1ZUhpc3RvcnlSZXF1ZXN0GjQudWJlci5zdWJtaXRxdWV1ZS5zdG92ZXBpcGUuTGlzdElzc3VlSGlzdG9yeVJlc3BvbnNlIgASiwEKFEdldElzc3Vlc0J5UmVxdWVzdElEEjcudWJlci5zdWJtaXRxdWV1ZS5zdG92ZXBpcGUuR2V0SXNzdWVzQnlSZXF1ZXN0SURSZXF1ZXN0GjgudWJlci5zdWJtaXRxdWV1ZS5zdG92ZXBpcGUuR2V0SXNzdWVzQnlSZXF1ZXN0SURSZXNwb25zZSIAEpsBChpMaXN0UmVxdWVzdFByb2plY3RzQnlJc3N1ZRI9LnViZXIuc3VibWl0cXVldWUuc3RvdmVwaXBlLkxpc3RSZXF1ZXN0UHJvamVjdHNCeUlzc3VlUmVxdWVzdBo8LnViZXIuc3VibWl0cXVldWUuc3RvdmVwaXBlLkxpc3RSZXF1ZXN0UHJvamVjdElzc3Vlc1Jlc3BvbnNlIgASmwEKGkxpc3RSZXF1ZXN0SXNzdWVzQnlQcm9qZWN0Ej0udWJlci5zdWJtaXRxdWV1ZS5zdG92ZXBpcGUuTGlzdFJlcXVlc3RJc3N1ZXNCeVByb2plY3RSZXF1ZXN0GjwudWJlci5zdWJtaXRxdWV1ZS5zdG92ZXBpcGUuTGlzdFJlcXVlc3RQcm9qZWN0SXNzdWVzUmVzcG9uc2UiAEJlCh5jb20udWJlci5zdWJtaXRxdWV1ZS5zdG92ZXBpcGVCDlN0b3ZlcGlwZVByb3RvUAFaMWdpdGh1Yi5jb20vdWJlci9zdWJtaXRxdWV1ZS9hcGkvc3RvdmVwaXBlL3Byb3RvcGJiBnByb3RvMw"); /** * PingRequest is the request for the Ping method @@ -1388,6 +1388,131 @@ export type ListOpenIssuesResponse = Message<"uber.submitqueue.stovepipe.ListOpe export const ListOpenIssuesResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_api_stovepipe_proto_stovepipe, 31); +/** + * IssueHistoryEvent is one immutable retained occurrence across requests. + * + * @generated from message uber.submitqueue.stovepipe.IssueHistoryEvent + */ +export type IssueHistoryEvent = Message<"uber.submitqueue.stovepipe.IssueHistoryEvent"> & { + /** + * "open" (including reopenings), "reported", or "closed". + * + * @generated from field: string event = 1; + */ + event: string; + + /** + * Opaque source build identity. + * + * @generated from field: string build_id = 2; + */ + buildId: string; + + /** + * Original occurrence timestamp in Unix milliseconds, not request ingest order. + * + * @generated from field: int64 timestamp_ms = 3; + */ + timestampMs: bigint; + + /** + * Opening build for this occurrence; empty on legacy lifecycle records. + * + * @generated from field: string first_seen_build_id = 4; + */ + firstSeenBuildId: string; + + /** + * Source request; empty when its build is no longer retained. + * + * @generated from field: string request_id = 5; + */ + requestId: string; +}; + +/** + * Describes the message uber.submitqueue.stovepipe.IssueHistoryEvent. + * Use `create(IssueHistoryEventSchema)` to create a new message. + */ +export const IssueHistoryEventSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_api_stovepipe_proto_stovepipe, 32); + +/** + * @generated from message uber.submitqueue.stovepipe.ListIssueHistoryRequest + */ +export type ListIssueHistoryRequest = Message<"uber.submitqueue.stovepipe.ListIssueHistoryRequest"> & { + /** + * Required configured queue. + * + * @generated from field: string queue = 1; + */ + queue: string; + + /** + * Required validation task. + * + * @generated from field: string task_id = 2; + */ + taskId: string; + + /** + * Validation unit; empty selects task-wide history. + * + * @generated from field: string unit_id = 3; + */ + unitId: string; + + /** + * Maximum events to return. Zero selects 50; otherwise 1 through 200. + * + * @generated from field: int32 page_size = 4; + */ + pageSize: number; + + /** + * Opaque continuation bound to the queue, task, and unit. + * + * @generated from field: string page_token = 5; + */ + pageToken: string; +}; + +/** + * Describes the message uber.submitqueue.stovepipe.ListIssueHistoryRequest. + * Use `create(ListIssueHistoryRequestSchema)` to create a new message. + */ +export const ListIssueHistoryRequestSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_api_stovepipe_proto_stovepipe, 33); + +/** + * History is retained coverage only, not a snapshot or proof of current issue status. + * Late writes can precede a cursor; restart at the first page to refresh coverage. + * + * @generated from message uber.submitqueue.stovepipe.ListIssueHistoryResponse + */ +export type ListIssueHistoryResponse = Message<"uber.submitqueue.stovepipe.ListIssueHistoryResponse"> & { + /** + * Ascending timestamp order with bytewise build ID and event tie-breakers. + * + * @generated from field: repeated uber.submitqueue.stovepipe.IssueHistoryEvent events = 1; + */ + events: IssueHistoryEvent[]; + + /** + * Empty ends the currently observed range. + * + * @generated from field: string next_page_token = 2; + */ + nextPageToken: string; +}; + +/** + * Describes the message uber.submitqueue.stovepipe.ListIssueHistoryResponse. + * Use `create(ListIssueHistoryResponseSchema)` to create a new message. + */ +export const ListIssueHistoryResponseSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_api_stovepipe_proto_stovepipe, 34); + /** * RequestIssueSummary describes one accepted issue update, not the queue's open-issue set. * @@ -1435,7 +1560,7 @@ export type RequestIssueSummary = Message<"uber.submitqueue.stovepipe.RequestIss * Use `create(RequestIssueSummarySchema)` to create a new message. */ export const RequestIssueSummarySchema: GenMessage = /*@__PURE__*/ - messageDesc(file_api_stovepipe_proto_stovepipe, 32); + messageDesc(file_api_stovepipe_proto_stovepipe, 35); /** * @generated from message uber.submitqueue.stovepipe.GetIssuesByRequestIDRequest @@ -1475,7 +1600,7 @@ export type GetIssuesByRequestIDRequest = Message<"uber.submitqueue.stovepipe.Ge * Use `create(GetIssuesByRequestIDRequestSchema)` to create a new message. */ export const GetIssuesByRequestIDRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_api_stovepipe_proto_stovepipe, 33); + messageDesc(file_api_stovepipe_proto_stovepipe, 36); /** * Completed and abandoned results are stable; in-progress pages are not a snapshot. @@ -1512,7 +1637,7 @@ export type GetIssuesByRequestIDResponse = Message<"uber.submitqueue.stovepipe.G * Use `create(GetIssuesByRequestIDResponseSchema)` to create a new message. */ export const GetIssuesByRequestIDResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_api_stovepipe_proto_stovepipe, 34); + messageDesc(file_api_stovepipe_proto_stovepipe, 37); /** * ProjectIssueAttribution is one historical issue/project association within a request. @@ -1547,7 +1672,7 @@ export type ProjectIssueAttribution = Message<"uber.submitqueue.stovepipe.Projec * Use `create(ProjectIssueAttributionSchema)` to create a new message. */ export const ProjectIssueAttributionSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_api_stovepipe_proto_stovepipe, 35); + messageDesc(file_api_stovepipe_proto_stovepipe, 38); /** * @generated from message uber.submitqueue.stovepipe.ListRequestProjectsByIssueRequest @@ -1601,7 +1726,7 @@ export type ListRequestProjectsByIssueRequest = Message<"uber.submitqueue.stovep * Use `create(ListRequestProjectsByIssueRequestSchema)` to create a new message. */ export const ListRequestProjectsByIssueRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_api_stovepipe_proto_stovepipe, 36); + messageDesc(file_api_stovepipe_proto_stovepipe, 39); /** * @generated from message uber.submitqueue.stovepipe.ListRequestIssuesByProjectRequest @@ -1648,7 +1773,7 @@ export type ListRequestIssuesByProjectRequest = Message<"uber.submitqueue.stovep * Use `create(ListRequestIssuesByProjectRequestSchema)` to create a new message. */ export const ListRequestIssuesByProjectRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_api_stovepipe_proto_stovepipe, 37); + messageDesc(file_api_stovepipe_proto_stovepipe, 40); /** * @generated from message uber.submitqueue.stovepipe.ListRequestProjectIssuesResponse @@ -1683,7 +1808,7 @@ export type ListRequestProjectIssuesResponse = Message<"uber.submitqueue.stovepi * Use `create(ListRequestProjectIssuesResponseSchema)` to create a new message. */ export const ListRequestProjectIssuesResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_api_stovepipe_proto_stovepipe, 38); + messageDesc(file_api_stovepipe_proto_stovepipe, 41); /** * QueueEnablement is independent of validation results and execution controls. @@ -1812,6 +1937,16 @@ export const Stovepipe: GenService<{ input: typeof ListOpenIssuesRequestSchema; output: typeof ListOpenIssuesResponseSchema; }, + /** + * ListIssueHistory returns retained occurrences of one issue across requests. + * + * @generated from rpc uber.submitqueue.stovepipe.Stovepipe.ListIssueHistory + */ + listIssueHistory: { + methodKind: "unary"; + input: typeof ListIssueHistoryRequestSchema; + output: typeof ListIssueHistoryResponseSchema; + }, /** * GetIssuesByRequestID returns accepted issue results for one request. *