From 689833a01dd41181780ff9baecd88ec978052f97 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Wed, 23 Sep 2026 13:18:08 +1000 Subject: [PATCH] feat(staterpc,daemon): park classification on the wire and at the park sites Domain fields ParkClass/RemediationRounds landed in fe2a8e6d; this is the wire and daemon half. Task gains park_class (32) and remediation_rounds (33) and maps both directions; the classified park write crosses the wire as ParkTask on a narrow TaskParker contract (TaskLifecycle stays under the 8-method cap), with conformance coverage local + grpc including the stale-guard sentinel and needs_human normalization. Every daemon park site now states its class: terminal for a repo that left config and a retired identity, transient for the environmental parks (worktree, storage, grants, taskrun), and identityMayAct returns the class beside its reason. --- internal/contracts/state/v1/state.pb.go | 1209 +++++++++-------- internal/contracts/state/v1/state_grpc.pb.go | 38 + internal/daemon/daemon.go | 104 +- internal/daemon/daemon_test.go | 5 +- internal/daemon/task_cancellation_test.go | 3 +- .../domain/storecontract/storecontract.go | 11 + internal/infrastructure/staterpc/client.go | 5 + .../staterpc/conformance_test.go | 40 + internal/infrastructure/staterpc/server.go | 7 + proto/state/v1/state.proto | 9 + 10 files changed, 833 insertions(+), 598 deletions(-) diff --git a/internal/contracts/state/v1/state.pb.go b/internal/contracts/state/v1/state.pb.go index 5f74f17bd..5bfe0a038 100644 --- a/internal/contracts/state/v1/state.pb.go +++ b/internal/contracts/state/v1/state.pb.go @@ -3153,6 +3153,110 @@ func (*RequeueResponse) Descriptor() ([]byte, []int) { return file_state_v1_state_proto_rawDescGZIP(), []int{47} } +type ParkTaskRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` + From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"` + Class string `protobuf:"bytes,4,opt,name=class,proto3" json:"class,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ParkTaskRequest) Reset() { + *x = ParkTaskRequest{} + mi := &file_state_v1_state_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ParkTaskRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkTaskRequest) ProtoMessage() {} + +func (x *ParkTaskRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[48] + 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 ParkTaskRequest.ProtoReflect.Descriptor instead. +func (*ParkTaskRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{48} +} + +func (x *ParkTaskRequest) GetTaskId() int64 { + if x != nil { + return x.TaskId + } + return 0 +} + +func (x *ParkTaskRequest) GetFrom() string { + if x != nil { + return x.From + } + return "" +} + +func (x *ParkTaskRequest) GetDetail() string { + if x != nil { + return x.Detail + } + return "" +} + +func (x *ParkTaskRequest) GetClass() string { + if x != nil { + return x.Class + } + return "" +} + +type ParkTaskResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ParkTaskResponse) Reset() { + *x = ParkTaskResponse{} + mi := &file_state_v1_state_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ParkTaskResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkTaskResponse) ProtoMessage() {} + +func (x *ParkTaskResponse) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[49] + 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 ParkTaskResponse.ProtoReflect.Descriptor instead. +func (*ParkTaskResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{49} +} + type RecoverStaleRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -3161,7 +3265,7 @@ type RecoverStaleRequest struct { func (x *RecoverStaleRequest) Reset() { *x = RecoverStaleRequest{} - mi := &file_state_v1_state_proto_msgTypes[48] + mi := &file_state_v1_state_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3173,7 +3277,7 @@ func (x *RecoverStaleRequest) String() string { func (*RecoverStaleRequest) ProtoMessage() {} func (x *RecoverStaleRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[48] + mi := &file_state_v1_state_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3186,7 +3290,7 @@ func (x *RecoverStaleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecoverStaleRequest.ProtoReflect.Descriptor instead. func (*RecoverStaleRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{48} + return file_state_v1_state_proto_rawDescGZIP(), []int{50} } type RecoverStaleResponse struct { @@ -3198,7 +3302,7 @@ type RecoverStaleResponse struct { func (x *RecoverStaleResponse) Reset() { *x = RecoverStaleResponse{} - mi := &file_state_v1_state_proto_msgTypes[49] + mi := &file_state_v1_state_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3210,7 +3314,7 @@ func (x *RecoverStaleResponse) String() string { func (*RecoverStaleResponse) ProtoMessage() {} func (x *RecoverStaleResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[49] + mi := &file_state_v1_state_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3223,7 +3327,7 @@ func (x *RecoverStaleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecoverStaleResponse.ProtoReflect.Descriptor instead. func (*RecoverStaleResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{49} + return file_state_v1_state_proto_rawDescGZIP(), []int{51} } func (x *RecoverStaleResponse) GetCount() int64 { @@ -3244,7 +3348,7 @@ type ArchiveTaskRequest struct { func (x *ArchiveTaskRequest) Reset() { *x = ArchiveTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[50] + mi := &file_state_v1_state_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3256,7 +3360,7 @@ func (x *ArchiveTaskRequest) String() string { func (*ArchiveTaskRequest) ProtoMessage() {} func (x *ArchiveTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[50] + mi := &file_state_v1_state_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3269,7 +3373,7 @@ func (x *ArchiveTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ArchiveTaskRequest.ProtoReflect.Descriptor instead. func (*ArchiveTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{50} + return file_state_v1_state_proto_rawDescGZIP(), []int{52} } func (x *ArchiveTaskRequest) GetTaskId() int64 { @@ -3302,7 +3406,7 @@ type ArchiveTaskResponse struct { func (x *ArchiveTaskResponse) Reset() { *x = ArchiveTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[51] + mi := &file_state_v1_state_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3314,7 +3418,7 @@ func (x *ArchiveTaskResponse) String() string { func (*ArchiveTaskResponse) ProtoMessage() {} func (x *ArchiveTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[51] + mi := &file_state_v1_state_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3327,7 +3431,7 @@ func (x *ArchiveTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ArchiveTaskResponse.ProtoReflect.Descriptor instead. func (*ArchiveTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{51} + return file_state_v1_state_proto_rawDescGZIP(), []int{53} } func (x *ArchiveTaskResponse) GetEventId() int64 { @@ -3348,7 +3452,7 @@ type RetryTaskRequest struct { func (x *RetryTaskRequest) Reset() { *x = RetryTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[52] + mi := &file_state_v1_state_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3360,7 +3464,7 @@ func (x *RetryTaskRequest) String() string { func (*RetryTaskRequest) ProtoMessage() {} func (x *RetryTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[52] + mi := &file_state_v1_state_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3373,7 +3477,7 @@ func (x *RetryTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RetryTaskRequest.ProtoReflect.Descriptor instead. func (*RetryTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{52} + return file_state_v1_state_proto_rawDescGZIP(), []int{54} } func (x *RetryTaskRequest) GetTaskId() int64 { @@ -3405,7 +3509,7 @@ type RetryTaskResponse struct { func (x *RetryTaskResponse) Reset() { *x = RetryTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[53] + mi := &file_state_v1_state_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3417,7 +3521,7 @@ func (x *RetryTaskResponse) String() string { func (*RetryTaskResponse) ProtoMessage() {} func (x *RetryTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[53] + mi := &file_state_v1_state_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3430,7 +3534,7 @@ func (x *RetryTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RetryTaskResponse.ProtoReflect.Descriptor instead. func (*RetryTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{53} + return file_state_v1_state_proto_rawDescGZIP(), []int{55} } type BeginRemediationRequest struct { @@ -3443,7 +3547,7 @@ type BeginRemediationRequest struct { func (x *BeginRemediationRequest) Reset() { *x = BeginRemediationRequest{} - mi := &file_state_v1_state_proto_msgTypes[54] + mi := &file_state_v1_state_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3455,7 +3559,7 @@ func (x *BeginRemediationRequest) String() string { func (*BeginRemediationRequest) ProtoMessage() {} func (x *BeginRemediationRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[54] + mi := &file_state_v1_state_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3468,7 +3572,7 @@ func (x *BeginRemediationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BeginRemediationRequest.ProtoReflect.Descriptor instead. func (*BeginRemediationRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{54} + return file_state_v1_state_proto_rawDescGZIP(), []int{56} } func (x *BeginRemediationRequest) GetTaskId() int64 { @@ -3493,7 +3597,7 @@ type BeginRemediationResponse struct { func (x *BeginRemediationResponse) Reset() { *x = BeginRemediationResponse{} - mi := &file_state_v1_state_proto_msgTypes[55] + mi := &file_state_v1_state_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3505,7 +3609,7 @@ func (x *BeginRemediationResponse) String() string { func (*BeginRemediationResponse) ProtoMessage() {} func (x *BeginRemediationResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[55] + mi := &file_state_v1_state_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3518,7 +3622,7 @@ func (x *BeginRemediationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BeginRemediationResponse.ProtoReflect.Descriptor instead. func (*BeginRemediationResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{55} + return file_state_v1_state_proto_rawDescGZIP(), []int{57} } type UpdateReviewPayloadRequest struct { @@ -3531,7 +3635,7 @@ type UpdateReviewPayloadRequest struct { func (x *UpdateReviewPayloadRequest) Reset() { *x = UpdateReviewPayloadRequest{} - mi := &file_state_v1_state_proto_msgTypes[56] + mi := &file_state_v1_state_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3543,7 +3647,7 @@ func (x *UpdateReviewPayloadRequest) String() string { func (*UpdateReviewPayloadRequest) ProtoMessage() {} func (x *UpdateReviewPayloadRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[56] + mi := &file_state_v1_state_proto_msgTypes[58] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3556,7 +3660,7 @@ func (x *UpdateReviewPayloadRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateReviewPayloadRequest.ProtoReflect.Descriptor instead. func (*UpdateReviewPayloadRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{56} + return file_state_v1_state_proto_rawDescGZIP(), []int{58} } func (x *UpdateReviewPayloadRequest) GetTaskId() int64 { @@ -3581,7 +3685,7 @@ type UpdateReviewPayloadResponse struct { func (x *UpdateReviewPayloadResponse) Reset() { *x = UpdateReviewPayloadResponse{} - mi := &file_state_v1_state_proto_msgTypes[57] + mi := &file_state_v1_state_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3593,7 +3697,7 @@ func (x *UpdateReviewPayloadResponse) String() string { func (*UpdateReviewPayloadResponse) ProtoMessage() {} func (x *UpdateReviewPayloadResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[57] + mi := &file_state_v1_state_proto_msgTypes[59] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3606,7 +3710,7 @@ func (x *UpdateReviewPayloadResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateReviewPayloadResponse.ProtoReflect.Descriptor instead. func (*UpdateReviewPayloadResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{57} + return file_state_v1_state_proto_rawDescGZIP(), []int{59} } type SetReviewCursorsRequest struct { @@ -3620,7 +3724,7 @@ type SetReviewCursorsRequest struct { func (x *SetReviewCursorsRequest) Reset() { *x = SetReviewCursorsRequest{} - mi := &file_state_v1_state_proto_msgTypes[58] + mi := &file_state_v1_state_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3632,7 +3736,7 @@ func (x *SetReviewCursorsRequest) String() string { func (*SetReviewCursorsRequest) ProtoMessage() {} func (x *SetReviewCursorsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[58] + mi := &file_state_v1_state_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3645,7 +3749,7 @@ func (x *SetReviewCursorsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetReviewCursorsRequest.ProtoReflect.Descriptor instead. func (*SetReviewCursorsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{58} + return file_state_v1_state_proto_rawDescGZIP(), []int{60} } func (x *SetReviewCursorsRequest) GetTaskId() int64 { @@ -3677,7 +3781,7 @@ type SetReviewCursorsResponse struct { func (x *SetReviewCursorsResponse) Reset() { *x = SetReviewCursorsResponse{} - mi := &file_state_v1_state_proto_msgTypes[59] + mi := &file_state_v1_state_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3689,7 +3793,7 @@ func (x *SetReviewCursorsResponse) String() string { func (*SetReviewCursorsResponse) ProtoMessage() {} func (x *SetReviewCursorsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[59] + mi := &file_state_v1_state_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3702,7 +3806,7 @@ func (x *SetReviewCursorsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetReviewCursorsResponse.ProtoReflect.Descriptor instead. func (*SetReviewCursorsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{59} + return file_state_v1_state_proto_rawDescGZIP(), []int{61} } type TaskByIssueRequest struct { @@ -3716,7 +3820,7 @@ type TaskByIssueRequest struct { func (x *TaskByIssueRequest) Reset() { *x = TaskByIssueRequest{} - mi := &file_state_v1_state_proto_msgTypes[60] + mi := &file_state_v1_state_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3728,7 +3832,7 @@ func (x *TaskByIssueRequest) String() string { func (*TaskByIssueRequest) ProtoMessage() {} func (x *TaskByIssueRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[60] + mi := &file_state_v1_state_proto_msgTypes[62] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3741,7 +3845,7 @@ func (x *TaskByIssueRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskByIssueRequest.ProtoReflect.Descriptor instead. func (*TaskByIssueRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{60} + return file_state_v1_state_proto_rawDescGZIP(), []int{62} } func (x *TaskByIssueRequest) GetOwner() string { @@ -3775,7 +3879,7 @@ type TaskByIssueResponse struct { func (x *TaskByIssueResponse) Reset() { *x = TaskByIssueResponse{} - mi := &file_state_v1_state_proto_msgTypes[61] + mi := &file_state_v1_state_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3787,7 +3891,7 @@ func (x *TaskByIssueResponse) String() string { func (*TaskByIssueResponse) ProtoMessage() {} func (x *TaskByIssueResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[61] + mi := &file_state_v1_state_proto_msgTypes[63] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3800,7 +3904,7 @@ func (x *TaskByIssueResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskByIssueResponse.ProtoReflect.Descriptor instead. func (*TaskByIssueResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{61} + return file_state_v1_state_proto_rawDescGZIP(), []int{63} } func (x *TaskByIssueResponse) GetTask() *Task { @@ -3828,7 +3932,7 @@ type OpenTaskByPRRequest struct { func (x *OpenTaskByPRRequest) Reset() { *x = OpenTaskByPRRequest{} - mi := &file_state_v1_state_proto_msgTypes[62] + mi := &file_state_v1_state_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3840,7 +3944,7 @@ func (x *OpenTaskByPRRequest) String() string { func (*OpenTaskByPRRequest) ProtoMessage() {} func (x *OpenTaskByPRRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[62] + mi := &file_state_v1_state_proto_msgTypes[64] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3853,7 +3957,7 @@ func (x *OpenTaskByPRRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenTaskByPRRequest.ProtoReflect.Descriptor instead. func (*OpenTaskByPRRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{62} + return file_state_v1_state_proto_rawDescGZIP(), []int{64} } func (x *OpenTaskByPRRequest) GetOwner() string { @@ -3887,7 +3991,7 @@ type OpenTaskByPRResponse struct { func (x *OpenTaskByPRResponse) Reset() { *x = OpenTaskByPRResponse{} - mi := &file_state_v1_state_proto_msgTypes[63] + mi := &file_state_v1_state_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3899,7 +4003,7 @@ func (x *OpenTaskByPRResponse) String() string { func (*OpenTaskByPRResponse) ProtoMessage() {} func (x *OpenTaskByPRResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[63] + mi := &file_state_v1_state_proto_msgTypes[65] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3912,7 +4016,7 @@ func (x *OpenTaskByPRResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenTaskByPRResponse.ProtoReflect.Descriptor instead. func (*OpenTaskByPRResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{63} + return file_state_v1_state_proto_rawDescGZIP(), []int{65} } func (x *OpenTaskByPRResponse) GetTask() *Task { @@ -3938,7 +4042,7 @@ type TaskByIDRequest struct { func (x *TaskByIDRequest) Reset() { *x = TaskByIDRequest{} - mi := &file_state_v1_state_proto_msgTypes[64] + mi := &file_state_v1_state_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3950,7 +4054,7 @@ func (x *TaskByIDRequest) String() string { func (*TaskByIDRequest) ProtoMessage() {} func (x *TaskByIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[64] + mi := &file_state_v1_state_proto_msgTypes[66] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3963,7 +4067,7 @@ func (x *TaskByIDRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskByIDRequest.ProtoReflect.Descriptor instead. func (*TaskByIDRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{64} + return file_state_v1_state_proto_rawDescGZIP(), []int{66} } func (x *TaskByIDRequest) GetTaskId() int64 { @@ -3983,7 +4087,7 @@ type TaskByIDResponse struct { func (x *TaskByIDResponse) Reset() { *x = TaskByIDResponse{} - mi := &file_state_v1_state_proto_msgTypes[65] + mi := &file_state_v1_state_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3995,7 +4099,7 @@ func (x *TaskByIDResponse) String() string { func (*TaskByIDResponse) ProtoMessage() {} func (x *TaskByIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[65] + mi := &file_state_v1_state_proto_msgTypes[67] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4008,7 +4112,7 @@ func (x *TaskByIDResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskByIDResponse.ProtoReflect.Descriptor instead. func (*TaskByIDResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{65} + return file_state_v1_state_proto_rawDescGZIP(), []int{67} } func (x *TaskByIDResponse) GetTask() *Task { @@ -4033,7 +4137,7 @@ type OpenPRsRequest struct { func (x *OpenPRsRequest) Reset() { *x = OpenPRsRequest{} - mi := &file_state_v1_state_proto_msgTypes[66] + mi := &file_state_v1_state_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4045,7 +4149,7 @@ func (x *OpenPRsRequest) String() string { func (*OpenPRsRequest) ProtoMessage() {} func (x *OpenPRsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[66] + mi := &file_state_v1_state_proto_msgTypes[68] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4058,7 +4162,7 @@ func (x *OpenPRsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenPRsRequest.ProtoReflect.Descriptor instead. func (*OpenPRsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{66} + return file_state_v1_state_proto_rawDescGZIP(), []int{68} } type OpenPRsResponse struct { @@ -4070,7 +4174,7 @@ type OpenPRsResponse struct { func (x *OpenPRsResponse) Reset() { *x = OpenPRsResponse{} - mi := &file_state_v1_state_proto_msgTypes[67] + mi := &file_state_v1_state_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4082,7 +4186,7 @@ func (x *OpenPRsResponse) String() string { func (*OpenPRsResponse) ProtoMessage() {} func (x *OpenPRsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[67] + mi := &file_state_v1_state_proto_msgTypes[69] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4095,7 +4199,7 @@ func (x *OpenPRsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenPRsResponse.ProtoReflect.Descriptor instead. func (*OpenPRsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{67} + return file_state_v1_state_proto_rawDescGZIP(), []int{69} } func (x *OpenPRsResponse) GetTasks() []*Task { @@ -4113,7 +4217,7 @@ type ClearTerminalTasksRequest struct { func (x *ClearTerminalTasksRequest) Reset() { *x = ClearTerminalTasksRequest{} - mi := &file_state_v1_state_proto_msgTypes[68] + mi := &file_state_v1_state_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4125,7 +4229,7 @@ func (x *ClearTerminalTasksRequest) String() string { func (*ClearTerminalTasksRequest) ProtoMessage() {} func (x *ClearTerminalTasksRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[68] + mi := &file_state_v1_state_proto_msgTypes[70] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4138,7 +4242,7 @@ func (x *ClearTerminalTasksRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ClearTerminalTasksRequest.ProtoReflect.Descriptor instead. func (*ClearTerminalTasksRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{68} + return file_state_v1_state_proto_rawDescGZIP(), []int{70} } type ClearTerminalTasksResponse struct { @@ -4150,7 +4254,7 @@ type ClearTerminalTasksResponse struct { func (x *ClearTerminalTasksResponse) Reset() { *x = ClearTerminalTasksResponse{} - mi := &file_state_v1_state_proto_msgTypes[69] + mi := &file_state_v1_state_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4162,7 +4266,7 @@ func (x *ClearTerminalTasksResponse) String() string { func (*ClearTerminalTasksResponse) ProtoMessage() {} func (x *ClearTerminalTasksResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[69] + mi := &file_state_v1_state_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4175,7 +4279,7 @@ func (x *ClearTerminalTasksResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ClearTerminalTasksResponse.ProtoReflect.Descriptor instead. func (*ClearTerminalTasksResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{69} + return file_state_v1_state_proto_rawDescGZIP(), []int{71} } func (x *ClearTerminalTasksResponse) GetCount() int64 { @@ -4194,7 +4298,7 @@ type TasksRequest struct { func (x *TasksRequest) Reset() { *x = TasksRequest{} - mi := &file_state_v1_state_proto_msgTypes[70] + mi := &file_state_v1_state_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4206,7 +4310,7 @@ func (x *TasksRequest) String() string { func (*TasksRequest) ProtoMessage() {} func (x *TasksRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[70] + mi := &file_state_v1_state_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4219,7 +4323,7 @@ func (x *TasksRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TasksRequest.ProtoReflect.Descriptor instead. func (*TasksRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{70} + return file_state_v1_state_proto_rawDescGZIP(), []int{72} } func (x *TasksRequest) GetLimit() int64 { @@ -4238,7 +4342,7 @@ type TasksResponse struct { func (x *TasksResponse) Reset() { *x = TasksResponse{} - mi := &file_state_v1_state_proto_msgTypes[71] + mi := &file_state_v1_state_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4250,7 +4354,7 @@ func (x *TasksResponse) String() string { func (*TasksResponse) ProtoMessage() {} func (x *TasksResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[71] + mi := &file_state_v1_state_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4263,7 +4367,7 @@ func (x *TasksResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TasksResponse.ProtoReflect.Descriptor instead. func (*TasksResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{71} + return file_state_v1_state_proto_rawDescGZIP(), []int{73} } func (x *TasksResponse) GetTasks() []*Task { @@ -4281,7 +4385,7 @@ type StatusCountsRequest struct { func (x *StatusCountsRequest) Reset() { *x = StatusCountsRequest{} - mi := &file_state_v1_state_proto_msgTypes[72] + mi := &file_state_v1_state_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4293,7 +4397,7 @@ func (x *StatusCountsRequest) String() string { func (*StatusCountsRequest) ProtoMessage() {} func (x *StatusCountsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[72] + mi := &file_state_v1_state_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4306,7 +4410,7 @@ func (x *StatusCountsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StatusCountsRequest.ProtoReflect.Descriptor instead. func (*StatusCountsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{72} + return file_state_v1_state_proto_rawDescGZIP(), []int{74} } type StatusCountsResponse struct { @@ -4318,7 +4422,7 @@ type StatusCountsResponse struct { func (x *StatusCountsResponse) Reset() { *x = StatusCountsResponse{} - mi := &file_state_v1_state_proto_msgTypes[73] + mi := &file_state_v1_state_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4330,7 +4434,7 @@ func (x *StatusCountsResponse) String() string { func (*StatusCountsResponse) ProtoMessage() {} func (x *StatusCountsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[73] + mi := &file_state_v1_state_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4343,7 +4447,7 @@ func (x *StatusCountsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StatusCountsResponse.ProtoReflect.Descriptor instead. func (*StatusCountsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{73} + return file_state_v1_state_proto_rawDescGZIP(), []int{75} } func (x *StatusCountsResponse) GetCounts() map[string]int64 { @@ -4362,7 +4466,7 @@ type InsertEventRequest struct { func (x *InsertEventRequest) Reset() { *x = InsertEventRequest{} - mi := &file_state_v1_state_proto_msgTypes[74] + mi := &file_state_v1_state_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4374,7 +4478,7 @@ func (x *InsertEventRequest) String() string { func (*InsertEventRequest) ProtoMessage() {} func (x *InsertEventRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[74] + mi := &file_state_v1_state_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4387,7 +4491,7 @@ func (x *InsertEventRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertEventRequest.ProtoReflect.Descriptor instead. func (*InsertEventRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{74} + return file_state_v1_state_proto_rawDescGZIP(), []int{76} } func (x *InsertEventRequest) GetEvent() *Event { @@ -4406,7 +4510,7 @@ type InsertEventResponse struct { func (x *InsertEventResponse) Reset() { *x = InsertEventResponse{} - mi := &file_state_v1_state_proto_msgTypes[75] + mi := &file_state_v1_state_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4418,7 +4522,7 @@ func (x *InsertEventResponse) String() string { func (*InsertEventResponse) ProtoMessage() {} func (x *InsertEventResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[75] + mi := &file_state_v1_state_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4431,7 +4535,7 @@ func (x *InsertEventResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertEventResponse.ProtoReflect.Descriptor instead. func (*InsertEventResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{75} + return file_state_v1_state_proto_rawDescGZIP(), []int{77} } func (x *InsertEventResponse) GetId() int64 { @@ -4456,7 +4560,7 @@ type EventsSinceRequest struct { func (x *EventsSinceRequest) Reset() { *x = EventsSinceRequest{} - mi := &file_state_v1_state_proto_msgTypes[76] + mi := &file_state_v1_state_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4468,7 +4572,7 @@ func (x *EventsSinceRequest) String() string { func (*EventsSinceRequest) ProtoMessage() {} func (x *EventsSinceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[76] + mi := &file_state_v1_state_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4481,7 +4585,7 @@ func (x *EventsSinceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EventsSinceRequest.ProtoReflect.Descriptor instead. func (*EventsSinceRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{76} + return file_state_v1_state_proto_rawDescGZIP(), []int{78} } func (x *EventsSinceRequest) GetSinceId() string { @@ -4507,7 +4611,7 @@ type EventsSinceResponse struct { func (x *EventsSinceResponse) Reset() { *x = EventsSinceResponse{} - mi := &file_state_v1_state_proto_msgTypes[77] + mi := &file_state_v1_state_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4519,7 +4623,7 @@ func (x *EventsSinceResponse) String() string { func (*EventsSinceResponse) ProtoMessage() {} func (x *EventsSinceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[77] + mi := &file_state_v1_state_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4532,7 +4636,7 @@ func (x *EventsSinceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EventsSinceResponse.ProtoReflect.Descriptor instead. func (*EventsSinceResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{77} + return file_state_v1_state_proto_rawDescGZIP(), []int{79} } func (x *EventsSinceResponse) GetEvents() []*Event { @@ -4551,7 +4655,7 @@ type TaskEventsRequest struct { func (x *TaskEventsRequest) Reset() { *x = TaskEventsRequest{} - mi := &file_state_v1_state_proto_msgTypes[78] + mi := &file_state_v1_state_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4563,7 +4667,7 @@ func (x *TaskEventsRequest) String() string { func (*TaskEventsRequest) ProtoMessage() {} func (x *TaskEventsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[78] + mi := &file_state_v1_state_proto_msgTypes[80] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4576,7 +4680,7 @@ func (x *TaskEventsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskEventsRequest.ProtoReflect.Descriptor instead. func (*TaskEventsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{78} + return file_state_v1_state_proto_rawDescGZIP(), []int{80} } func (x *TaskEventsRequest) GetTaskId() int64 { @@ -4595,7 +4699,7 @@ type TaskEventsResponse struct { func (x *TaskEventsResponse) Reset() { *x = TaskEventsResponse{} - mi := &file_state_v1_state_proto_msgTypes[79] + mi := &file_state_v1_state_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4607,7 +4711,7 @@ func (x *TaskEventsResponse) String() string { func (*TaskEventsResponse) ProtoMessage() {} func (x *TaskEventsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[79] + mi := &file_state_v1_state_proto_msgTypes[81] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4620,7 +4724,7 @@ func (x *TaskEventsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskEventsResponse.ProtoReflect.Descriptor instead. func (*TaskEventsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{79} + return file_state_v1_state_proto_rawDescGZIP(), []int{81} } func (x *TaskEventsResponse) GetEvents() []*Event { @@ -4638,7 +4742,7 @@ type WorkflowStatsRequest struct { func (x *WorkflowStatsRequest) Reset() { *x = WorkflowStatsRequest{} - mi := &file_state_v1_state_proto_msgTypes[80] + mi := &file_state_v1_state_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4650,7 +4754,7 @@ func (x *WorkflowStatsRequest) String() string { func (*WorkflowStatsRequest) ProtoMessage() {} func (x *WorkflowStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[80] + mi := &file_state_v1_state_proto_msgTypes[82] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4663,7 +4767,7 @@ func (x *WorkflowStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowStatsRequest.ProtoReflect.Descriptor instead. func (*WorkflowStatsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{80} + return file_state_v1_state_proto_rawDescGZIP(), []int{82} } type WorkflowStatsResponse struct { @@ -4675,7 +4779,7 @@ type WorkflowStatsResponse struct { func (x *WorkflowStatsResponse) Reset() { *x = WorkflowStatsResponse{} - mi := &file_state_v1_state_proto_msgTypes[81] + mi := &file_state_v1_state_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4687,7 +4791,7 @@ func (x *WorkflowStatsResponse) String() string { func (*WorkflowStatsResponse) ProtoMessage() {} func (x *WorkflowStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[81] + mi := &file_state_v1_state_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4700,7 +4804,7 @@ func (x *WorkflowStatsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowStatsResponse.ProtoReflect.Descriptor instead. func (*WorkflowStatsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{81} + return file_state_v1_state_proto_rawDescGZIP(), []int{83} } func (x *WorkflowStatsResponse) GetStats() []*WorkflowStat { @@ -4718,7 +4822,7 @@ type StageStatsRequest struct { func (x *StageStatsRequest) Reset() { *x = StageStatsRequest{} - mi := &file_state_v1_state_proto_msgTypes[82] + mi := &file_state_v1_state_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4730,7 +4834,7 @@ func (x *StageStatsRequest) String() string { func (*StageStatsRequest) ProtoMessage() {} func (x *StageStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[82] + mi := &file_state_v1_state_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4743,7 +4847,7 @@ func (x *StageStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StageStatsRequest.ProtoReflect.Descriptor instead. func (*StageStatsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{82} + return file_state_v1_state_proto_rawDescGZIP(), []int{84} } type StageStatsResponse struct { @@ -4755,7 +4859,7 @@ type StageStatsResponse struct { func (x *StageStatsResponse) Reset() { *x = StageStatsResponse{} - mi := &file_state_v1_state_proto_msgTypes[83] + mi := &file_state_v1_state_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4767,7 +4871,7 @@ func (x *StageStatsResponse) String() string { func (*StageStatsResponse) ProtoMessage() {} func (x *StageStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[83] + mi := &file_state_v1_state_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4780,7 +4884,7 @@ func (x *StageStatsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StageStatsResponse.ProtoReflect.Descriptor instead. func (*StageStatsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{83} + return file_state_v1_state_proto_rawDescGZIP(), []int{85} } func (x *StageStatsResponse) GetStats() []*StageStat { @@ -4799,7 +4903,7 @@ type TokensByDayRequest struct { func (x *TokensByDayRequest) Reset() { *x = TokensByDayRequest{} - mi := &file_state_v1_state_proto_msgTypes[84] + mi := &file_state_v1_state_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4811,7 +4915,7 @@ func (x *TokensByDayRequest) String() string { func (*TokensByDayRequest) ProtoMessage() {} func (x *TokensByDayRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[84] + mi := &file_state_v1_state_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4824,7 +4928,7 @@ func (x *TokensByDayRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TokensByDayRequest.ProtoReflect.Descriptor instead. func (*TokensByDayRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{84} + return file_state_v1_state_proto_rawDescGZIP(), []int{86} } func (x *TokensByDayRequest) GetDays() int64 { @@ -4843,7 +4947,7 @@ type TokensByDayResponse struct { func (x *TokensByDayResponse) Reset() { *x = TokensByDayResponse{} - mi := &file_state_v1_state_proto_msgTypes[85] + mi := &file_state_v1_state_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4855,7 +4959,7 @@ func (x *TokensByDayResponse) String() string { func (*TokensByDayResponse) ProtoMessage() {} func (x *TokensByDayResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[85] + mi := &file_state_v1_state_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4868,7 +4972,7 @@ func (x *TokensByDayResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TokensByDayResponse.ProtoReflect.Descriptor instead. func (*TokensByDayResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{85} + return file_state_v1_state_proto_rawDescGZIP(), []int{87} } func (x *TokensByDayResponse) GetTokens() []*DayTokens { @@ -4895,7 +4999,7 @@ type ConfigSnapshot struct { func (x *ConfigSnapshot) Reset() { *x = ConfigSnapshot{} - mi := &file_state_v1_state_proto_msgTypes[86] + mi := &file_state_v1_state_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4907,7 +5011,7 @@ func (x *ConfigSnapshot) String() string { func (*ConfigSnapshot) ProtoMessage() {} func (x *ConfigSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[86] + mi := &file_state_v1_state_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4920,7 +5024,7 @@ func (x *ConfigSnapshot) ProtoReflect() protoreflect.Message { // Deprecated: Use ConfigSnapshot.ProtoReflect.Descriptor instead. func (*ConfigSnapshot) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{86} + return file_state_v1_state_proto_rawDescGZIP(), []int{88} } func (x *ConfigSnapshot) GetSchema() string { @@ -4953,7 +5057,7 @@ type PutConfigSnapshotRequest struct { func (x *PutConfigSnapshotRequest) Reset() { *x = PutConfigSnapshotRequest{} - mi := &file_state_v1_state_proto_msgTypes[87] + mi := &file_state_v1_state_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4965,7 +5069,7 @@ func (x *PutConfigSnapshotRequest) String() string { func (*PutConfigSnapshotRequest) ProtoMessage() {} func (x *PutConfigSnapshotRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[87] + mi := &file_state_v1_state_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4978,7 +5082,7 @@ func (x *PutConfigSnapshotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutConfigSnapshotRequest.ProtoReflect.Descriptor instead. func (*PutConfigSnapshotRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{87} + return file_state_v1_state_proto_rawDescGZIP(), []int{89} } func (x *PutConfigSnapshotRequest) GetSnapshot() *ConfigSnapshot { @@ -4996,7 +5100,7 @@ type PutConfigSnapshotResponse struct { func (x *PutConfigSnapshotResponse) Reset() { *x = PutConfigSnapshotResponse{} - mi := &file_state_v1_state_proto_msgTypes[88] + mi := &file_state_v1_state_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5008,7 +5112,7 @@ func (x *PutConfigSnapshotResponse) String() string { func (*PutConfigSnapshotResponse) ProtoMessage() {} func (x *PutConfigSnapshotResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[88] + mi := &file_state_v1_state_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5021,7 +5125,7 @@ func (x *PutConfigSnapshotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutConfigSnapshotResponse.ProtoReflect.Descriptor instead. func (*PutConfigSnapshotResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{88} + return file_state_v1_state_proto_rawDescGZIP(), []int{90} } type GetConfigSnapshotRequest struct { @@ -5032,7 +5136,7 @@ type GetConfigSnapshotRequest struct { func (x *GetConfigSnapshotRequest) Reset() { *x = GetConfigSnapshotRequest{} - mi := &file_state_v1_state_proto_msgTypes[89] + mi := &file_state_v1_state_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5044,7 +5148,7 @@ func (x *GetConfigSnapshotRequest) String() string { func (*GetConfigSnapshotRequest) ProtoMessage() {} func (x *GetConfigSnapshotRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[89] + mi := &file_state_v1_state_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5057,7 +5161,7 @@ func (x *GetConfigSnapshotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetConfigSnapshotRequest.ProtoReflect.Descriptor instead. func (*GetConfigSnapshotRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{89} + return file_state_v1_state_proto_rawDescGZIP(), []int{91} } type GetConfigSnapshotResponse struct { @@ -5070,7 +5174,7 @@ type GetConfigSnapshotResponse struct { func (x *GetConfigSnapshotResponse) Reset() { *x = GetConfigSnapshotResponse{} - mi := &file_state_v1_state_proto_msgTypes[90] + mi := &file_state_v1_state_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5082,7 +5186,7 @@ func (x *GetConfigSnapshotResponse) String() string { func (*GetConfigSnapshotResponse) ProtoMessage() {} func (x *GetConfigSnapshotResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[90] + mi := &file_state_v1_state_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5095,7 +5199,7 @@ func (x *GetConfigSnapshotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetConfigSnapshotResponse.ProtoReflect.Descriptor instead. func (*GetConfigSnapshotResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{90} + return file_state_v1_state_proto_rawDescGZIP(), []int{92} } func (x *GetConfigSnapshotResponse) GetSnapshot() *ConfigSnapshot { @@ -5132,7 +5236,7 @@ type ChannelStatus struct { func (x *ChannelStatus) Reset() { *x = ChannelStatus{} - mi := &file_state_v1_state_proto_msgTypes[91] + mi := &file_state_v1_state_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5144,7 +5248,7 @@ func (x *ChannelStatus) String() string { func (*ChannelStatus) ProtoMessage() {} func (x *ChannelStatus) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[91] + mi := &file_state_v1_state_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5157,7 +5261,7 @@ func (x *ChannelStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use ChannelStatus.ProtoReflect.Descriptor instead. func (*ChannelStatus) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{91} + return file_state_v1_state_proto_rawDescGZIP(), []int{93} } func (x *ChannelStatus) GetId() string { @@ -5218,7 +5322,7 @@ type PutChannelStatusRequest struct { func (x *PutChannelStatusRequest) Reset() { *x = PutChannelStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[92] + mi := &file_state_v1_state_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5230,7 +5334,7 @@ func (x *PutChannelStatusRequest) String() string { func (*PutChannelStatusRequest) ProtoMessage() {} func (x *PutChannelStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[92] + mi := &file_state_v1_state_proto_msgTypes[94] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5243,7 +5347,7 @@ func (x *PutChannelStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutChannelStatusRequest.ProtoReflect.Descriptor instead. func (*PutChannelStatusRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{92} + return file_state_v1_state_proto_rawDescGZIP(), []int{94} } func (x *PutChannelStatusRequest) GetChannels() []*ChannelStatus { @@ -5261,7 +5365,7 @@ type PutChannelStatusResponse struct { func (x *PutChannelStatusResponse) Reset() { *x = PutChannelStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[93] + mi := &file_state_v1_state_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5273,7 +5377,7 @@ func (x *PutChannelStatusResponse) String() string { func (*PutChannelStatusResponse) ProtoMessage() {} func (x *PutChannelStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[93] + mi := &file_state_v1_state_proto_msgTypes[95] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5286,7 +5390,7 @@ func (x *PutChannelStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutChannelStatusResponse.ProtoReflect.Descriptor instead. func (*PutChannelStatusResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{93} + return file_state_v1_state_proto_rawDescGZIP(), []int{95} } type ListChannelStatusRequest struct { @@ -5297,7 +5401,7 @@ type ListChannelStatusRequest struct { func (x *ListChannelStatusRequest) Reset() { *x = ListChannelStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[94] + mi := &file_state_v1_state_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5309,7 +5413,7 @@ func (x *ListChannelStatusRequest) String() string { func (*ListChannelStatusRequest) ProtoMessage() {} func (x *ListChannelStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[94] + mi := &file_state_v1_state_proto_msgTypes[96] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5322,7 +5426,7 @@ func (x *ListChannelStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListChannelStatusRequest.ProtoReflect.Descriptor instead. func (*ListChannelStatusRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{94} + return file_state_v1_state_proto_rawDescGZIP(), []int{96} } type ListChannelStatusResponse struct { @@ -5334,7 +5438,7 @@ type ListChannelStatusResponse struct { func (x *ListChannelStatusResponse) Reset() { *x = ListChannelStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[95] + mi := &file_state_v1_state_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5346,7 +5450,7 @@ func (x *ListChannelStatusResponse) String() string { func (*ListChannelStatusResponse) ProtoMessage() {} func (x *ListChannelStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[95] + mi := &file_state_v1_state_proto_msgTypes[97] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5359,7 +5463,7 @@ func (x *ListChannelStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListChannelStatusResponse.ProtoReflect.Descriptor instead. func (*ListChannelStatusResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{95} + return file_state_v1_state_proto_rawDescGZIP(), []int{97} } func (x *ListChannelStatusResponse) GetChannels() []*ChannelStatus { @@ -5388,7 +5492,7 @@ type ApplyStatus struct { func (x *ApplyStatus) Reset() { *x = ApplyStatus{} - mi := &file_state_v1_state_proto_msgTypes[96] + mi := &file_state_v1_state_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5400,7 +5504,7 @@ func (x *ApplyStatus) String() string { func (*ApplyStatus) ProtoMessage() {} func (x *ApplyStatus) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[96] + mi := &file_state_v1_state_proto_msgTypes[98] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5413,7 +5517,7 @@ func (x *ApplyStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyStatus.ProtoReflect.Descriptor instead. func (*ApplyStatus) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{96} + return file_state_v1_state_proto_rawDescGZIP(), []int{98} } func (x *ApplyStatus) GetProcess() string { @@ -5460,7 +5564,7 @@ type PutApplyStatusRequest struct { func (x *PutApplyStatusRequest) Reset() { *x = PutApplyStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[97] + mi := &file_state_v1_state_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5472,7 +5576,7 @@ func (x *PutApplyStatusRequest) String() string { func (*PutApplyStatusRequest) ProtoMessage() {} func (x *PutApplyStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[97] + mi := &file_state_v1_state_proto_msgTypes[99] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5485,7 +5589,7 @@ func (x *PutApplyStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutApplyStatusRequest.ProtoReflect.Descriptor instead. func (*PutApplyStatusRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{97} + return file_state_v1_state_proto_rawDescGZIP(), []int{99} } func (x *PutApplyStatusRequest) GetStatus() *ApplyStatus { @@ -5503,7 +5607,7 @@ type PutApplyStatusResponse struct { func (x *PutApplyStatusResponse) Reset() { *x = PutApplyStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[98] + mi := &file_state_v1_state_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5515,7 +5619,7 @@ func (x *PutApplyStatusResponse) String() string { func (*PutApplyStatusResponse) ProtoMessage() {} func (x *PutApplyStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[98] + mi := &file_state_v1_state_proto_msgTypes[100] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5528,7 +5632,7 @@ func (x *PutApplyStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutApplyStatusResponse.ProtoReflect.Descriptor instead. func (*PutApplyStatusResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{98} + return file_state_v1_state_proto_rawDescGZIP(), []int{100} } type ListApplyStatusRequest struct { @@ -5539,7 +5643,7 @@ type ListApplyStatusRequest struct { func (x *ListApplyStatusRequest) Reset() { *x = ListApplyStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[99] + mi := &file_state_v1_state_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5551,7 +5655,7 @@ func (x *ListApplyStatusRequest) String() string { func (*ListApplyStatusRequest) ProtoMessage() {} func (x *ListApplyStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[99] + mi := &file_state_v1_state_proto_msgTypes[101] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5564,7 +5668,7 @@ func (x *ListApplyStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListApplyStatusRequest.ProtoReflect.Descriptor instead. func (*ListApplyStatusRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{99} + return file_state_v1_state_proto_rawDescGZIP(), []int{101} } type ListApplyStatusResponse struct { @@ -5576,7 +5680,7 @@ type ListApplyStatusResponse struct { func (x *ListApplyStatusResponse) Reset() { *x = ListApplyStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[100] + mi := &file_state_v1_state_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5588,7 +5692,7 @@ func (x *ListApplyStatusResponse) String() string { func (*ListApplyStatusResponse) ProtoMessage() {} func (x *ListApplyStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[100] + mi := &file_state_v1_state_proto_msgTypes[102] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5601,7 +5705,7 @@ func (x *ListApplyStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListApplyStatusResponse.ProtoReflect.Descriptor instead. func (*ListApplyStatusResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{100} + return file_state_v1_state_proto_rawDescGZIP(), []int{102} } func (x *ListApplyStatusResponse) GetStatuses() []*ApplyStatus { @@ -5628,7 +5732,7 @@ type TaskLogEntry struct { func (x *TaskLogEntry) Reset() { *x = TaskLogEntry{} - mi := &file_state_v1_state_proto_msgTypes[101] + mi := &file_state_v1_state_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5640,7 +5744,7 @@ func (x *TaskLogEntry) String() string { func (*TaskLogEntry) ProtoMessage() {} func (x *TaskLogEntry) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[101] + mi := &file_state_v1_state_proto_msgTypes[103] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5653,7 +5757,7 @@ func (x *TaskLogEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskLogEntry.ProtoReflect.Descriptor instead. func (*TaskLogEntry) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{101} + return file_state_v1_state_proto_rawDescGZIP(), []int{103} } func (x *TaskLogEntry) GetId() int64 { @@ -5718,7 +5822,7 @@ type ReadTaskLogRequest struct { func (x *ReadTaskLogRequest) Reset() { *x = ReadTaskLogRequest{} - mi := &file_state_v1_state_proto_msgTypes[102] + mi := &file_state_v1_state_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5730,7 +5834,7 @@ func (x *ReadTaskLogRequest) String() string { func (*ReadTaskLogRequest) ProtoMessage() {} func (x *ReadTaskLogRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[102] + mi := &file_state_v1_state_proto_msgTypes[104] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5743,7 +5847,7 @@ func (x *ReadTaskLogRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadTaskLogRequest.ProtoReflect.Descriptor instead. func (*ReadTaskLogRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{102} + return file_state_v1_state_proto_rawDescGZIP(), []int{104} } func (x *ReadTaskLogRequest) GetTaskId() int64 { @@ -5829,7 +5933,7 @@ type ReadTaskLogResponse struct { func (x *ReadTaskLogResponse) Reset() { *x = ReadTaskLogResponse{} - mi := &file_state_v1_state_proto_msgTypes[103] + mi := &file_state_v1_state_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5841,7 +5945,7 @@ func (x *ReadTaskLogResponse) String() string { func (*ReadTaskLogResponse) ProtoMessage() {} func (x *ReadTaskLogResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[103] + mi := &file_state_v1_state_proto_msgTypes[105] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5854,7 +5958,7 @@ func (x *ReadTaskLogResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadTaskLogResponse.ProtoReflect.Descriptor instead. func (*ReadTaskLogResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{103} + return file_state_v1_state_proto_rawDescGZIP(), []int{105} } func (x *ReadTaskLogResponse) GetEntries() []*TaskLogEntry { @@ -5913,7 +6017,7 @@ type StreamTaskLogContentRequest struct { func (x *StreamTaskLogContentRequest) Reset() { *x = StreamTaskLogContentRequest{} - mi := &file_state_v1_state_proto_msgTypes[104] + mi := &file_state_v1_state_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5925,7 +6029,7 @@ func (x *StreamTaskLogContentRequest) String() string { func (*StreamTaskLogContentRequest) ProtoMessage() {} func (x *StreamTaskLogContentRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[104] + mi := &file_state_v1_state_proto_msgTypes[106] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5938,7 +6042,7 @@ func (x *StreamTaskLogContentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamTaskLogContentRequest.ProtoReflect.Descriptor instead. func (*StreamTaskLogContentRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{104} + return file_state_v1_state_proto_rawDescGZIP(), []int{106} } func (x *StreamTaskLogContentRequest) GetTaskId() int64 { @@ -5966,7 +6070,7 @@ type StreamTaskLogContentResponse struct { func (x *StreamTaskLogContentResponse) Reset() { *x = StreamTaskLogContentResponse{} - mi := &file_state_v1_state_proto_msgTypes[105] + mi := &file_state_v1_state_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5978,7 +6082,7 @@ func (x *StreamTaskLogContentResponse) String() string { func (*StreamTaskLogContentResponse) ProtoMessage() {} func (x *StreamTaskLogContentResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[105] + mi := &file_state_v1_state_proto_msgTypes[107] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5991,7 +6095,7 @@ func (x *StreamTaskLogContentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamTaskLogContentResponse.ProtoReflect.Descriptor instead. func (*StreamTaskLogContentResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{105} + return file_state_v1_state_proto_rawDescGZIP(), []int{107} } func (x *StreamTaskLogContentResponse) GetChunk() []byte { @@ -6026,7 +6130,7 @@ type InsertCaptureRequest struct { func (x *InsertCaptureRequest) Reset() { *x = InsertCaptureRequest{} - mi := &file_state_v1_state_proto_msgTypes[106] + mi := &file_state_v1_state_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6038,7 +6142,7 @@ func (x *InsertCaptureRequest) String() string { func (*InsertCaptureRequest) ProtoMessage() {} func (x *InsertCaptureRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[106] + mi := &file_state_v1_state_proto_msgTypes[108] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6051,7 +6155,7 @@ func (x *InsertCaptureRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertCaptureRequest.ProtoReflect.Descriptor instead. func (*InsertCaptureRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{106} + return file_state_v1_state_proto_rawDescGZIP(), []int{108} } func (x *InsertCaptureRequest) GetCapture() *CapturedEvent { @@ -6084,7 +6188,7 @@ type InsertCaptureResponse struct { func (x *InsertCaptureResponse) Reset() { *x = InsertCaptureResponse{} - mi := &file_state_v1_state_proto_msgTypes[107] + mi := &file_state_v1_state_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6096,7 +6200,7 @@ func (x *InsertCaptureResponse) String() string { func (*InsertCaptureResponse) ProtoMessage() {} func (x *InsertCaptureResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[107] + mi := &file_state_v1_state_proto_msgTypes[109] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6109,7 +6213,7 @@ func (x *InsertCaptureResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertCaptureResponse.ProtoReflect.Descriptor instead. func (*InsertCaptureResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{107} + return file_state_v1_state_proto_rawDescGZIP(), []int{109} } func (x *InsertCaptureResponse) GetId() string { @@ -6128,7 +6232,7 @@ type ListCapturesRequest struct { func (x *ListCapturesRequest) Reset() { *x = ListCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[108] + mi := &file_state_v1_state_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6140,7 +6244,7 @@ func (x *ListCapturesRequest) String() string { func (*ListCapturesRequest) ProtoMessage() {} func (x *ListCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[108] + mi := &file_state_v1_state_proto_msgTypes[110] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6153,7 +6257,7 @@ func (x *ListCapturesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListCapturesRequest.ProtoReflect.Descriptor instead. func (*ListCapturesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{108} + return file_state_v1_state_proto_rawDescGZIP(), []int{110} } func (x *ListCapturesRequest) GetLimit() int64 { @@ -6172,7 +6276,7 @@ type ListCapturesResponse struct { func (x *ListCapturesResponse) Reset() { *x = ListCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[109] + mi := &file_state_v1_state_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6184,7 +6288,7 @@ func (x *ListCapturesResponse) String() string { func (*ListCapturesResponse) ProtoMessage() {} func (x *ListCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[109] + mi := &file_state_v1_state_proto_msgTypes[111] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6197,7 +6301,7 @@ func (x *ListCapturesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListCapturesResponse.ProtoReflect.Descriptor instead. func (*ListCapturesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{109} + return file_state_v1_state_proto_rawDescGZIP(), []int{111} } func (x *ListCapturesResponse) GetCaptures() []*CapturedEvent { @@ -6216,7 +6320,7 @@ type StreamCapturesRequest struct { func (x *StreamCapturesRequest) Reset() { *x = StreamCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[110] + mi := &file_state_v1_state_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6228,7 +6332,7 @@ func (x *StreamCapturesRequest) String() string { func (*StreamCapturesRequest) ProtoMessage() {} func (x *StreamCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[110] + mi := &file_state_v1_state_proto_msgTypes[112] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6241,7 +6345,7 @@ func (x *StreamCapturesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamCapturesRequest.ProtoReflect.Descriptor instead. func (*StreamCapturesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{110} + return file_state_v1_state_proto_rawDescGZIP(), []int{112} } func (x *StreamCapturesRequest) GetLimit() int64 { @@ -6261,7 +6365,7 @@ type StreamCapturesResponse struct { func (x *StreamCapturesResponse) Reset() { *x = StreamCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[111] + mi := &file_state_v1_state_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6273,7 +6377,7 @@ func (x *StreamCapturesResponse) String() string { func (*StreamCapturesResponse) ProtoMessage() {} func (x *StreamCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[111] + mi := &file_state_v1_state_proto_msgTypes[113] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6286,7 +6390,7 @@ func (x *StreamCapturesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamCapturesResponse.ProtoReflect.Descriptor instead. func (*StreamCapturesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{111} + return file_state_v1_state_proto_rawDescGZIP(), []int{113} } func (x *StreamCapturesResponse) GetCapture() *CapturedEvent { @@ -6305,7 +6409,7 @@ type InsertMappingRequest struct { func (x *InsertMappingRequest) Reset() { *x = InsertMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[112] + mi := &file_state_v1_state_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6317,7 +6421,7 @@ func (x *InsertMappingRequest) String() string { func (*InsertMappingRequest) ProtoMessage() {} func (x *InsertMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[112] + mi := &file_state_v1_state_proto_msgTypes[114] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6330,7 +6434,7 @@ func (x *InsertMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertMappingRequest.ProtoReflect.Descriptor instead. func (*InsertMappingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{112} + return file_state_v1_state_proto_rawDescGZIP(), []int{114} } func (x *InsertMappingRequest) GetMapping() *Mapping { @@ -6349,7 +6453,7 @@ type InsertMappingResponse struct { func (x *InsertMappingResponse) Reset() { *x = InsertMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[113] + mi := &file_state_v1_state_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6361,7 +6465,7 @@ func (x *InsertMappingResponse) String() string { func (*InsertMappingResponse) ProtoMessage() {} func (x *InsertMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[113] + mi := &file_state_v1_state_proto_msgTypes[115] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6374,7 +6478,7 @@ func (x *InsertMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertMappingResponse.ProtoReflect.Descriptor instead. func (*InsertMappingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{113} + return file_state_v1_state_proto_rawDescGZIP(), []int{115} } func (x *InsertMappingResponse) GetId() string { @@ -6393,7 +6497,7 @@ type GetMappingRequest struct { func (x *GetMappingRequest) Reset() { *x = GetMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[114] + mi := &file_state_v1_state_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6405,7 +6509,7 @@ func (x *GetMappingRequest) String() string { func (*GetMappingRequest) ProtoMessage() {} func (x *GetMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[114] + mi := &file_state_v1_state_proto_msgTypes[116] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6418,7 +6522,7 @@ func (x *GetMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMappingRequest.ProtoReflect.Descriptor instead. func (*GetMappingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{114} + return file_state_v1_state_proto_rawDescGZIP(), []int{116} } func (x *GetMappingRequest) GetId() string { @@ -6438,7 +6542,7 @@ type GetMappingResponse struct { func (x *GetMappingResponse) Reset() { *x = GetMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[115] + mi := &file_state_v1_state_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6450,7 +6554,7 @@ func (x *GetMappingResponse) String() string { func (*GetMappingResponse) ProtoMessage() {} func (x *GetMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[115] + mi := &file_state_v1_state_proto_msgTypes[117] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6463,7 +6567,7 @@ func (x *GetMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMappingResponse.ProtoReflect.Descriptor instead. func (*GetMappingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{115} + return file_state_v1_state_proto_rawDescGZIP(), []int{117} } func (x *GetMappingResponse) GetMapping() *Mapping { @@ -6488,7 +6592,7 @@ type ListMappingsRequest struct { func (x *ListMappingsRequest) Reset() { *x = ListMappingsRequest{} - mi := &file_state_v1_state_proto_msgTypes[116] + mi := &file_state_v1_state_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6500,7 +6604,7 @@ func (x *ListMappingsRequest) String() string { func (*ListMappingsRequest) ProtoMessage() {} func (x *ListMappingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[116] + mi := &file_state_v1_state_proto_msgTypes[118] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6513,7 +6617,7 @@ func (x *ListMappingsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMappingsRequest.ProtoReflect.Descriptor instead. func (*ListMappingsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{116} + return file_state_v1_state_proto_rawDescGZIP(), []int{118} } type ListMappingsResponse struct { @@ -6525,7 +6629,7 @@ type ListMappingsResponse struct { func (x *ListMappingsResponse) Reset() { *x = ListMappingsResponse{} - mi := &file_state_v1_state_proto_msgTypes[117] + mi := &file_state_v1_state_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6537,7 +6641,7 @@ func (x *ListMappingsResponse) String() string { func (*ListMappingsResponse) ProtoMessage() {} func (x *ListMappingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[117] + mi := &file_state_v1_state_proto_msgTypes[119] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6550,7 +6654,7 @@ func (x *ListMappingsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMappingsResponse.ProtoReflect.Descriptor instead. func (*ListMappingsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{117} + return file_state_v1_state_proto_rawDescGZIP(), []int{119} } func (x *ListMappingsResponse) GetMappings() []*Mapping { @@ -6569,7 +6673,7 @@ type UpdateMappingRequest struct { func (x *UpdateMappingRequest) Reset() { *x = UpdateMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[118] + mi := &file_state_v1_state_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6581,7 +6685,7 @@ func (x *UpdateMappingRequest) String() string { func (*UpdateMappingRequest) ProtoMessage() {} func (x *UpdateMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[118] + mi := &file_state_v1_state_proto_msgTypes[120] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6594,7 +6698,7 @@ func (x *UpdateMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMappingRequest.ProtoReflect.Descriptor instead. func (*UpdateMappingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{118} + return file_state_v1_state_proto_rawDescGZIP(), []int{120} } func (x *UpdateMappingRequest) GetMapping() *Mapping { @@ -6612,7 +6716,7 @@ type UpdateMappingResponse struct { func (x *UpdateMappingResponse) Reset() { *x = UpdateMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[119] + mi := &file_state_v1_state_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6624,7 +6728,7 @@ func (x *UpdateMappingResponse) String() string { func (*UpdateMappingResponse) ProtoMessage() {} func (x *UpdateMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[119] + mi := &file_state_v1_state_proto_msgTypes[121] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6637,7 +6741,7 @@ func (x *UpdateMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMappingResponse.ProtoReflect.Descriptor instead. func (*UpdateMappingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{119} + return file_state_v1_state_proto_rawDescGZIP(), []int{121} } type DeleteMappingRequest struct { @@ -6649,7 +6753,7 @@ type DeleteMappingRequest struct { func (x *DeleteMappingRequest) Reset() { *x = DeleteMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[120] + mi := &file_state_v1_state_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6661,7 +6765,7 @@ func (x *DeleteMappingRequest) String() string { func (*DeleteMappingRequest) ProtoMessage() {} func (x *DeleteMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[120] + mi := &file_state_v1_state_proto_msgTypes[122] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6674,7 +6778,7 @@ func (x *DeleteMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteMappingRequest.ProtoReflect.Descriptor instead. func (*DeleteMappingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{120} + return file_state_v1_state_proto_rawDescGZIP(), []int{122} } func (x *DeleteMappingRequest) GetId() string { @@ -6692,7 +6796,7 @@ type DeleteMappingResponse struct { func (x *DeleteMappingResponse) Reset() { *x = DeleteMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[121] + mi := &file_state_v1_state_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6704,7 +6808,7 @@ func (x *DeleteMappingResponse) String() string { func (*DeleteMappingResponse) ProtoMessage() {} func (x *DeleteMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[121] + mi := &file_state_v1_state_proto_msgTypes[123] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6717,7 +6821,7 @@ func (x *DeleteMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteMappingResponse.ProtoReflect.Descriptor instead. func (*DeleteMappingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{121} + return file_state_v1_state_proto_rawDescGZIP(), []int{123} } type InsertBindingRequest struct { @@ -6729,7 +6833,7 @@ type InsertBindingRequest struct { func (x *InsertBindingRequest) Reset() { *x = InsertBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[122] + mi := &file_state_v1_state_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6741,7 +6845,7 @@ func (x *InsertBindingRequest) String() string { func (*InsertBindingRequest) ProtoMessage() {} func (x *InsertBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[122] + mi := &file_state_v1_state_proto_msgTypes[124] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6754,7 +6858,7 @@ func (x *InsertBindingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertBindingRequest.ProtoReflect.Descriptor instead. func (*InsertBindingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{122} + return file_state_v1_state_proto_rawDescGZIP(), []int{124} } func (x *InsertBindingRequest) GetBinding() *Binding { @@ -6773,7 +6877,7 @@ type InsertBindingResponse struct { func (x *InsertBindingResponse) Reset() { *x = InsertBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[123] + mi := &file_state_v1_state_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6785,7 +6889,7 @@ func (x *InsertBindingResponse) String() string { func (*InsertBindingResponse) ProtoMessage() {} func (x *InsertBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[123] + mi := &file_state_v1_state_proto_msgTypes[125] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6798,7 +6902,7 @@ func (x *InsertBindingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertBindingResponse.ProtoReflect.Descriptor instead. func (*InsertBindingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{123} + return file_state_v1_state_proto_rawDescGZIP(), []int{125} } func (x *InsertBindingResponse) GetId() string { @@ -6817,7 +6921,7 @@ type GetBindingRequest struct { func (x *GetBindingRequest) Reset() { *x = GetBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[124] + mi := &file_state_v1_state_proto_msgTypes[126] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6829,7 +6933,7 @@ func (x *GetBindingRequest) String() string { func (*GetBindingRequest) ProtoMessage() {} func (x *GetBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[124] + mi := &file_state_v1_state_proto_msgTypes[126] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6842,7 +6946,7 @@ func (x *GetBindingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBindingRequest.ProtoReflect.Descriptor instead. func (*GetBindingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{124} + return file_state_v1_state_proto_rawDescGZIP(), []int{126} } func (x *GetBindingRequest) GetId() string { @@ -6862,7 +6966,7 @@ type GetBindingResponse struct { func (x *GetBindingResponse) Reset() { *x = GetBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[125] + mi := &file_state_v1_state_proto_msgTypes[127] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6874,7 +6978,7 @@ func (x *GetBindingResponse) String() string { func (*GetBindingResponse) ProtoMessage() {} func (x *GetBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[125] + mi := &file_state_v1_state_proto_msgTypes[127] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6887,7 +6991,7 @@ func (x *GetBindingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBindingResponse.ProtoReflect.Descriptor instead. func (*GetBindingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{125} + return file_state_v1_state_proto_rawDescGZIP(), []int{127} } func (x *GetBindingResponse) GetBinding() *Binding { @@ -6912,7 +7016,7 @@ type ListBindingsRequest struct { func (x *ListBindingsRequest) Reset() { *x = ListBindingsRequest{} - mi := &file_state_v1_state_proto_msgTypes[126] + mi := &file_state_v1_state_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6924,7 +7028,7 @@ func (x *ListBindingsRequest) String() string { func (*ListBindingsRequest) ProtoMessage() {} func (x *ListBindingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[126] + mi := &file_state_v1_state_proto_msgTypes[128] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6937,7 +7041,7 @@ func (x *ListBindingsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListBindingsRequest.ProtoReflect.Descriptor instead. func (*ListBindingsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{126} + return file_state_v1_state_proto_rawDescGZIP(), []int{128} } type ListBindingsResponse struct { @@ -6949,7 +7053,7 @@ type ListBindingsResponse struct { func (x *ListBindingsResponse) Reset() { *x = ListBindingsResponse{} - mi := &file_state_v1_state_proto_msgTypes[127] + mi := &file_state_v1_state_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6961,7 +7065,7 @@ func (x *ListBindingsResponse) String() string { func (*ListBindingsResponse) ProtoMessage() {} func (x *ListBindingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[127] + mi := &file_state_v1_state_proto_msgTypes[129] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6974,7 +7078,7 @@ func (x *ListBindingsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListBindingsResponse.ProtoReflect.Descriptor instead. func (*ListBindingsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{127} + return file_state_v1_state_proto_rawDescGZIP(), []int{129} } func (x *ListBindingsResponse) GetBindings() []*Binding { @@ -6993,7 +7097,7 @@ type UpdateBindingRequest struct { func (x *UpdateBindingRequest) Reset() { *x = UpdateBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[128] + mi := &file_state_v1_state_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7005,7 +7109,7 @@ func (x *UpdateBindingRequest) String() string { func (*UpdateBindingRequest) ProtoMessage() {} func (x *UpdateBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[128] + mi := &file_state_v1_state_proto_msgTypes[130] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7018,7 +7122,7 @@ func (x *UpdateBindingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateBindingRequest.ProtoReflect.Descriptor instead. func (*UpdateBindingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{128} + return file_state_v1_state_proto_rawDescGZIP(), []int{130} } func (x *UpdateBindingRequest) GetBinding() *Binding { @@ -7036,7 +7140,7 @@ type UpdateBindingResponse struct { func (x *UpdateBindingResponse) Reset() { *x = UpdateBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[129] + mi := &file_state_v1_state_proto_msgTypes[131] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7048,7 +7152,7 @@ func (x *UpdateBindingResponse) String() string { func (*UpdateBindingResponse) ProtoMessage() {} func (x *UpdateBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[129] + mi := &file_state_v1_state_proto_msgTypes[131] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7061,7 +7165,7 @@ func (x *UpdateBindingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateBindingResponse.ProtoReflect.Descriptor instead. func (*UpdateBindingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{129} + return file_state_v1_state_proto_rawDescGZIP(), []int{131} } type DeleteBindingRequest struct { @@ -7073,7 +7177,7 @@ type DeleteBindingRequest struct { func (x *DeleteBindingRequest) Reset() { *x = DeleteBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[130] + mi := &file_state_v1_state_proto_msgTypes[132] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7085,7 +7189,7 @@ func (x *DeleteBindingRequest) String() string { func (*DeleteBindingRequest) ProtoMessage() {} func (x *DeleteBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[130] + mi := &file_state_v1_state_proto_msgTypes[132] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7098,7 +7202,7 @@ func (x *DeleteBindingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteBindingRequest.ProtoReflect.Descriptor instead. func (*DeleteBindingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{130} + return file_state_v1_state_proto_rawDescGZIP(), []int{132} } func (x *DeleteBindingRequest) GetId() string { @@ -7116,7 +7220,7 @@ type DeleteBindingResponse struct { func (x *DeleteBindingResponse) Reset() { *x = DeleteBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[131] + mi := &file_state_v1_state_proto_msgTypes[133] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7128,7 +7232,7 @@ func (x *DeleteBindingResponse) String() string { func (*DeleteBindingResponse) ProtoMessage() {} func (x *DeleteBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[131] + mi := &file_state_v1_state_proto_msgTypes[133] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7141,7 +7245,7 @@ func (x *DeleteBindingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteBindingResponse.ProtoReflect.Descriptor instead. func (*DeleteBindingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{131} + return file_state_v1_state_proto_rawDescGZIP(), []int{133} } type ApproveBindingRequest struct { @@ -7153,7 +7257,7 @@ type ApproveBindingRequest struct { func (x *ApproveBindingRequest) Reset() { *x = ApproveBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[132] + mi := &file_state_v1_state_proto_msgTypes[134] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7165,7 +7269,7 @@ func (x *ApproveBindingRequest) String() string { func (*ApproveBindingRequest) ProtoMessage() {} func (x *ApproveBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[132] + mi := &file_state_v1_state_proto_msgTypes[134] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7178,7 +7282,7 @@ func (x *ApproveBindingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ApproveBindingRequest.ProtoReflect.Descriptor instead. func (*ApproveBindingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{132} + return file_state_v1_state_proto_rawDescGZIP(), []int{134} } func (x *ApproveBindingRequest) GetId() string { @@ -7196,7 +7300,7 @@ type ApproveBindingResponse struct { func (x *ApproveBindingResponse) Reset() { *x = ApproveBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[133] + mi := &file_state_v1_state_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7208,7 +7312,7 @@ func (x *ApproveBindingResponse) String() string { func (*ApproveBindingResponse) ProtoMessage() {} func (x *ApproveBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[133] + mi := &file_state_v1_state_proto_msgTypes[135] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7221,7 +7325,7 @@ func (x *ApproveBindingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ApproveBindingResponse.ProtoReflect.Descriptor instead. func (*ApproveBindingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{133} + return file_state_v1_state_proto_rawDescGZIP(), []int{135} } type ArmedBindingsForSourceRequest struct { @@ -7233,7 +7337,7 @@ type ArmedBindingsForSourceRequest struct { func (x *ArmedBindingsForSourceRequest) Reset() { *x = ArmedBindingsForSourceRequest{} - mi := &file_state_v1_state_proto_msgTypes[134] + mi := &file_state_v1_state_proto_msgTypes[136] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7245,7 +7349,7 @@ func (x *ArmedBindingsForSourceRequest) String() string { func (*ArmedBindingsForSourceRequest) ProtoMessage() {} func (x *ArmedBindingsForSourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[134] + mi := &file_state_v1_state_proto_msgTypes[136] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7258,7 +7362,7 @@ func (x *ArmedBindingsForSourceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ArmedBindingsForSourceRequest.ProtoReflect.Descriptor instead. func (*ArmedBindingsForSourceRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{134} + return file_state_v1_state_proto_rawDescGZIP(), []int{136} } func (x *ArmedBindingsForSourceRequest) GetSource() string { @@ -7277,7 +7381,7 @@ type ArmedBindingsForSourceResponse struct { func (x *ArmedBindingsForSourceResponse) Reset() { *x = ArmedBindingsForSourceResponse{} - mi := &file_state_v1_state_proto_msgTypes[135] + mi := &file_state_v1_state_proto_msgTypes[137] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7289,7 +7393,7 @@ func (x *ArmedBindingsForSourceResponse) String() string { func (*ArmedBindingsForSourceResponse) ProtoMessage() {} func (x *ArmedBindingsForSourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[135] + mi := &file_state_v1_state_proto_msgTypes[137] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7302,7 +7406,7 @@ func (x *ArmedBindingsForSourceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ArmedBindingsForSourceResponse.ProtoReflect.Descriptor instead. func (*ArmedBindingsForSourceResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{135} + return file_state_v1_state_proto_rawDescGZIP(), []int{137} } func (x *ArmedBindingsForSourceResponse) GetBindings() []*Binding { @@ -7325,7 +7429,7 @@ type RecordDispatchRequest struct { func (x *RecordDispatchRequest) Reset() { *x = RecordDispatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[136] + mi := &file_state_v1_state_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7337,7 +7441,7 @@ func (x *RecordDispatchRequest) String() string { func (*RecordDispatchRequest) ProtoMessage() {} func (x *RecordDispatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[136] + mi := &file_state_v1_state_proto_msgTypes[138] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7350,7 +7454,7 @@ func (x *RecordDispatchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordDispatchRequest.ProtoReflect.Descriptor instead. func (*RecordDispatchRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{136} + return file_state_v1_state_proto_rawDescGZIP(), []int{138} } func (x *RecordDispatchRequest) GetBindingId() string { @@ -7389,7 +7493,7 @@ type RecordDispatchResponse struct { func (x *RecordDispatchResponse) Reset() { *x = RecordDispatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[137] + mi := &file_state_v1_state_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7401,7 +7505,7 @@ func (x *RecordDispatchResponse) String() string { func (*RecordDispatchResponse) ProtoMessage() {} func (x *RecordDispatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[137] + mi := &file_state_v1_state_proto_msgTypes[139] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7414,7 +7518,7 @@ func (x *RecordDispatchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordDispatchResponse.ProtoReflect.Descriptor instead. func (*RecordDispatchResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{137} + return file_state_v1_state_proto_rawDescGZIP(), []int{139} } type RecordPlaybookDispatchRequest struct { @@ -7429,7 +7533,7 @@ type RecordPlaybookDispatchRequest struct { func (x *RecordPlaybookDispatchRequest) Reset() { *x = RecordPlaybookDispatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[138] + mi := &file_state_v1_state_proto_msgTypes[140] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7441,7 +7545,7 @@ func (x *RecordPlaybookDispatchRequest) String() string { func (*RecordPlaybookDispatchRequest) ProtoMessage() {} func (x *RecordPlaybookDispatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[138] + mi := &file_state_v1_state_proto_msgTypes[140] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7454,7 +7558,7 @@ func (x *RecordPlaybookDispatchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordPlaybookDispatchRequest.ProtoReflect.Descriptor instead. func (*RecordPlaybookDispatchRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{138} + return file_state_v1_state_proto_rawDescGZIP(), []int{140} } func (x *RecordPlaybookDispatchRequest) GetPlaybookId() string { @@ -7493,7 +7597,7 @@ type RecordPlaybookDispatchResponse struct { func (x *RecordPlaybookDispatchResponse) Reset() { *x = RecordPlaybookDispatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[139] + mi := &file_state_v1_state_proto_msgTypes[141] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7505,7 +7609,7 @@ func (x *RecordPlaybookDispatchResponse) String() string { func (*RecordPlaybookDispatchResponse) ProtoMessage() {} func (x *RecordPlaybookDispatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[139] + mi := &file_state_v1_state_proto_msgTypes[141] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7518,7 +7622,7 @@ func (x *RecordPlaybookDispatchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordPlaybookDispatchResponse.ProtoReflect.Descriptor instead. func (*RecordPlaybookDispatchResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{139} + return file_state_v1_state_proto_rawDescGZIP(), []int{141} } type DeletePlaybookDispatchesRequest struct { @@ -7530,7 +7634,7 @@ type DeletePlaybookDispatchesRequest struct { func (x *DeletePlaybookDispatchesRequest) Reset() { *x = DeletePlaybookDispatchesRequest{} - mi := &file_state_v1_state_proto_msgTypes[140] + mi := &file_state_v1_state_proto_msgTypes[142] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7542,7 +7646,7 @@ func (x *DeletePlaybookDispatchesRequest) String() string { func (*DeletePlaybookDispatchesRequest) ProtoMessage() {} func (x *DeletePlaybookDispatchesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[140] + mi := &file_state_v1_state_proto_msgTypes[142] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7555,7 +7659,7 @@ func (x *DeletePlaybookDispatchesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeletePlaybookDispatchesRequest.ProtoReflect.Descriptor instead. func (*DeletePlaybookDispatchesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{140} + return file_state_v1_state_proto_rawDescGZIP(), []int{142} } func (x *DeletePlaybookDispatchesRequest) GetPlaybookId() string { @@ -7573,7 +7677,7 @@ type DeletePlaybookDispatchesResponse struct { func (x *DeletePlaybookDispatchesResponse) Reset() { *x = DeletePlaybookDispatchesResponse{} - mi := &file_state_v1_state_proto_msgTypes[141] + mi := &file_state_v1_state_proto_msgTypes[143] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7585,7 +7689,7 @@ func (x *DeletePlaybookDispatchesResponse) String() string { func (*DeletePlaybookDispatchesResponse) ProtoMessage() {} func (x *DeletePlaybookDispatchesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[141] + mi := &file_state_v1_state_proto_msgTypes[143] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7598,7 +7702,7 @@ func (x *DeletePlaybookDispatchesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeletePlaybookDispatchesResponse.ProtoReflect.Descriptor instead. func (*DeletePlaybookDispatchesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{141} + return file_state_v1_state_proto_rawDescGZIP(), []int{143} } type ListUndispatchedCapturesRequest struct { @@ -7611,7 +7715,7 @@ type ListUndispatchedCapturesRequest struct { func (x *ListUndispatchedCapturesRequest) Reset() { *x = ListUndispatchedCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[142] + mi := &file_state_v1_state_proto_msgTypes[144] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7623,7 +7727,7 @@ func (x *ListUndispatchedCapturesRequest) String() string { func (*ListUndispatchedCapturesRequest) ProtoMessage() {} func (x *ListUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[142] + mi := &file_state_v1_state_proto_msgTypes[144] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7636,7 +7740,7 @@ func (x *ListUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListUndispatchedCapturesRequest.ProtoReflect.Descriptor instead. func (*ListUndispatchedCapturesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{142} + return file_state_v1_state_proto_rawDescGZIP(), []int{144} } func (x *ListUndispatchedCapturesRequest) GetSources() []string { @@ -7662,7 +7766,7 @@ type ListUndispatchedCapturesResponse struct { func (x *ListUndispatchedCapturesResponse) Reset() { *x = ListUndispatchedCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[143] + mi := &file_state_v1_state_proto_msgTypes[145] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7674,7 +7778,7 @@ func (x *ListUndispatchedCapturesResponse) String() string { func (*ListUndispatchedCapturesResponse) ProtoMessage() {} func (x *ListUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[143] + mi := &file_state_v1_state_proto_msgTypes[145] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7687,7 +7791,7 @@ func (x *ListUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListUndispatchedCapturesResponse.ProtoReflect.Descriptor instead. func (*ListUndispatchedCapturesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{143} + return file_state_v1_state_proto_rawDescGZIP(), []int{145} } func (x *ListUndispatchedCapturesResponse) GetCaptures() []*CapturedEvent { @@ -7707,7 +7811,7 @@ type StreamUndispatchedCapturesRequest struct { func (x *StreamUndispatchedCapturesRequest) Reset() { *x = StreamUndispatchedCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[144] + mi := &file_state_v1_state_proto_msgTypes[146] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7719,7 +7823,7 @@ func (x *StreamUndispatchedCapturesRequest) String() string { func (*StreamUndispatchedCapturesRequest) ProtoMessage() {} func (x *StreamUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[144] + mi := &file_state_v1_state_proto_msgTypes[146] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7732,7 +7836,7 @@ func (x *StreamUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message // Deprecated: Use StreamUndispatchedCapturesRequest.ProtoReflect.Descriptor instead. func (*StreamUndispatchedCapturesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{144} + return file_state_v1_state_proto_rawDescGZIP(), []int{146} } func (x *StreamUndispatchedCapturesRequest) GetSources() []string { @@ -7759,7 +7863,7 @@ type StreamUndispatchedCapturesResponse struct { func (x *StreamUndispatchedCapturesResponse) Reset() { *x = StreamUndispatchedCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[145] + mi := &file_state_v1_state_proto_msgTypes[147] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7771,7 +7875,7 @@ func (x *StreamUndispatchedCapturesResponse) String() string { func (*StreamUndispatchedCapturesResponse) ProtoMessage() {} func (x *StreamUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[145] + mi := &file_state_v1_state_proto_msgTypes[147] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7784,7 +7888,7 @@ func (x *StreamUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message // Deprecated: Use StreamUndispatchedCapturesResponse.ProtoReflect.Descriptor instead. func (*StreamUndispatchedCapturesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{145} + return file_state_v1_state_proto_rawDescGZIP(), []int{147} } func (x *StreamUndispatchedCapturesResponse) GetCapture() *CapturedEvent { @@ -7810,7 +7914,7 @@ type EnqueueBindingTaskRequest struct { func (x *EnqueueBindingTaskRequest) Reset() { *x = EnqueueBindingTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[146] + mi := &file_state_v1_state_proto_msgTypes[148] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7822,7 +7926,7 @@ func (x *EnqueueBindingTaskRequest) String() string { func (*EnqueueBindingTaskRequest) ProtoMessage() {} func (x *EnqueueBindingTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[146] + mi := &file_state_v1_state_proto_msgTypes[148] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7835,7 +7939,7 @@ func (x *EnqueueBindingTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueBindingTaskRequest.ProtoReflect.Descriptor instead. func (*EnqueueBindingTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{146} + return file_state_v1_state_proto_rawDescGZIP(), []int{148} } func (x *EnqueueBindingTaskRequest) GetOwner() string { @@ -7903,7 +8007,7 @@ type EnqueueBindingTaskResponse struct { func (x *EnqueueBindingTaskResponse) Reset() { *x = EnqueueBindingTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[147] + mi := &file_state_v1_state_proto_msgTypes[149] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7915,7 +8019,7 @@ func (x *EnqueueBindingTaskResponse) String() string { func (*EnqueueBindingTaskResponse) ProtoMessage() {} func (x *EnqueueBindingTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[147] + mi := &file_state_v1_state_proto_msgTypes[149] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7928,7 +8032,7 @@ func (x *EnqueueBindingTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueBindingTaskResponse.ProtoReflect.Descriptor instead. func (*EnqueueBindingTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{147} + return file_state_v1_state_proto_rawDescGZIP(), []int{149} } func (x *EnqueueBindingTaskResponse) GetTask() *Task { @@ -8188,7 +8292,13 @@ const file_state_v1_state_proto_rawDesc = "" + "\vfrom_status\x18\x02 \x01(\tR\n" + "fromStatus\x12\x1a\n" + "\bworkflow\x18\x03 \x01(\tR\bworkflow\"\x11\n" + - "\x0fRequeueResponse\"\x15\n" + + "\x0fRequeueResponse\"l\n" + + "\x0fParkTaskRequest\x12\x17\n" + + "\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x12\n" + + "\x04from\x18\x02 \x01(\tR\x04from\x12\x16\n" + + "\x06detail\x18\x03 \x01(\tR\x06detail\x12\x14\n" + + "\x05class\x18\x04 \x01(\tR\x05class\"\x12\n" + + "\x10ParkTaskResponse\"\x15\n" + "\x13RecoverStaleRequest\",\n" + "\x14RecoverStaleResponse\x12\x14\n" + "\x05count\x18\x01 \x01(\x03R\x05count\"u\n" + @@ -8448,7 +8558,7 @@ const file_state_v1_state_proto_rawDesc = "" + "binding_id\x18\a \x01(\tR\tbindingId\x12'\n" + "\x0fbinding_version\x18\b \x01(\x03R\x0ebindingVersion\"@\n" + "\x1aEnqueueBindingTaskResponse\x12\"\n" + - "\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task2\xfb+\n" + + "\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task2\xbe,\n" + "\x11StateStoreService\x12\\\n" + "\x11RegisterTaskGrant\x12\".state.v1.RegisterTaskGrantRequest\x1a#.state.v1.RegisterTaskGrantResponse\x12V\n" + "\x0fRevokeTaskGrant\x12 .state.v1.RevokeTaskGrantRequest\x1a!.state.v1.RevokeTaskGrantResponse\x12S\n" + @@ -8468,7 +8578,8 @@ const file_state_v1_state_proto_rawDesc = "" + "\n" + "Transition\x12\x1b.state.v1.TransitionRequest\x1a\x1c.state.v1.TransitionResponse\x12;\n" + "\x06Update\x12\x17.state.v1.UpdateRequest\x1a\x18.state.v1.UpdateResponse\x12>\n" + - "\aRequeue\x12\x18.state.v1.RequeueRequest\x1a\x19.state.v1.RequeueResponse\x12M\n" + + "\aRequeue\x12\x18.state.v1.RequeueRequest\x1a\x19.state.v1.RequeueResponse\x12A\n" + + "\bParkTask\x12\x19.state.v1.ParkTaskRequest\x1a\x1a.state.v1.ParkTaskResponse\x12M\n" + "\fRecoverStale\x12\x1d.state.v1.RecoverStaleRequest\x1a\x1e.state.v1.RecoverStaleResponse\x12J\n" + "\vArchiveTask\x12\x1c.state.v1.ArchiveTaskRequest\x1a\x1d.state.v1.ArchiveTaskResponse\x12D\n" + "\tRetryTask\x12\x1a.state.v1.RetryTaskRequest\x1a\x1b.state.v1.RetryTaskResponse\x12Y\n" + @@ -8536,7 +8647,7 @@ func file_state_v1_state_proto_rawDescGZIP() []byte { return file_state_v1_state_proto_rawDescData } -var file_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 149) +var file_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 151) var file_state_v1_state_proto_goTypes = []any{ (*RegisterTaskGrantRequest)(nil), // 0: state.v1.RegisterTaskGrantRequest (*RegisterTaskGrantResponse)(nil), // 1: state.v1.RegisterTaskGrantResponse @@ -8586,112 +8697,114 @@ var file_state_v1_state_proto_goTypes = []any{ (*UpdateResponse)(nil), // 45: state.v1.UpdateResponse (*RequeueRequest)(nil), // 46: state.v1.RequeueRequest (*RequeueResponse)(nil), // 47: state.v1.RequeueResponse - (*RecoverStaleRequest)(nil), // 48: state.v1.RecoverStaleRequest - (*RecoverStaleResponse)(nil), // 49: state.v1.RecoverStaleResponse - (*ArchiveTaskRequest)(nil), // 50: state.v1.ArchiveTaskRequest - (*ArchiveTaskResponse)(nil), // 51: state.v1.ArchiveTaskResponse - (*RetryTaskRequest)(nil), // 52: state.v1.RetryTaskRequest - (*RetryTaskResponse)(nil), // 53: state.v1.RetryTaskResponse - (*BeginRemediationRequest)(nil), // 54: state.v1.BeginRemediationRequest - (*BeginRemediationResponse)(nil), // 55: state.v1.BeginRemediationResponse - (*UpdateReviewPayloadRequest)(nil), // 56: state.v1.UpdateReviewPayloadRequest - (*UpdateReviewPayloadResponse)(nil), // 57: state.v1.UpdateReviewPayloadResponse - (*SetReviewCursorsRequest)(nil), // 58: state.v1.SetReviewCursorsRequest - (*SetReviewCursorsResponse)(nil), // 59: state.v1.SetReviewCursorsResponse - (*TaskByIssueRequest)(nil), // 60: state.v1.TaskByIssueRequest - (*TaskByIssueResponse)(nil), // 61: state.v1.TaskByIssueResponse - (*OpenTaskByPRRequest)(nil), // 62: state.v1.OpenTaskByPRRequest - (*OpenTaskByPRResponse)(nil), // 63: state.v1.OpenTaskByPRResponse - (*TaskByIDRequest)(nil), // 64: state.v1.TaskByIDRequest - (*TaskByIDResponse)(nil), // 65: state.v1.TaskByIDResponse - (*OpenPRsRequest)(nil), // 66: state.v1.OpenPRsRequest - (*OpenPRsResponse)(nil), // 67: state.v1.OpenPRsResponse - (*ClearTerminalTasksRequest)(nil), // 68: state.v1.ClearTerminalTasksRequest - (*ClearTerminalTasksResponse)(nil), // 69: state.v1.ClearTerminalTasksResponse - (*TasksRequest)(nil), // 70: state.v1.TasksRequest - (*TasksResponse)(nil), // 71: state.v1.TasksResponse - (*StatusCountsRequest)(nil), // 72: state.v1.StatusCountsRequest - (*StatusCountsResponse)(nil), // 73: state.v1.StatusCountsResponse - (*InsertEventRequest)(nil), // 74: state.v1.InsertEventRequest - (*InsertEventResponse)(nil), // 75: state.v1.InsertEventResponse - (*EventsSinceRequest)(nil), // 76: state.v1.EventsSinceRequest - (*EventsSinceResponse)(nil), // 77: state.v1.EventsSinceResponse - (*TaskEventsRequest)(nil), // 78: state.v1.TaskEventsRequest - (*TaskEventsResponse)(nil), // 79: state.v1.TaskEventsResponse - (*WorkflowStatsRequest)(nil), // 80: state.v1.WorkflowStatsRequest - (*WorkflowStatsResponse)(nil), // 81: state.v1.WorkflowStatsResponse - (*StageStatsRequest)(nil), // 82: state.v1.StageStatsRequest - (*StageStatsResponse)(nil), // 83: state.v1.StageStatsResponse - (*TokensByDayRequest)(nil), // 84: state.v1.TokensByDayRequest - (*TokensByDayResponse)(nil), // 85: state.v1.TokensByDayResponse - (*ConfigSnapshot)(nil), // 86: state.v1.ConfigSnapshot - (*PutConfigSnapshotRequest)(nil), // 87: state.v1.PutConfigSnapshotRequest - (*PutConfigSnapshotResponse)(nil), // 88: state.v1.PutConfigSnapshotResponse - (*GetConfigSnapshotRequest)(nil), // 89: state.v1.GetConfigSnapshotRequest - (*GetConfigSnapshotResponse)(nil), // 90: state.v1.GetConfigSnapshotResponse - (*ChannelStatus)(nil), // 91: state.v1.ChannelStatus - (*PutChannelStatusRequest)(nil), // 92: state.v1.PutChannelStatusRequest - (*PutChannelStatusResponse)(nil), // 93: state.v1.PutChannelStatusResponse - (*ListChannelStatusRequest)(nil), // 94: state.v1.ListChannelStatusRequest - (*ListChannelStatusResponse)(nil), // 95: state.v1.ListChannelStatusResponse - (*ApplyStatus)(nil), // 96: state.v1.ApplyStatus - (*PutApplyStatusRequest)(nil), // 97: state.v1.PutApplyStatusRequest - (*PutApplyStatusResponse)(nil), // 98: state.v1.PutApplyStatusResponse - (*ListApplyStatusRequest)(nil), // 99: state.v1.ListApplyStatusRequest - (*ListApplyStatusResponse)(nil), // 100: state.v1.ListApplyStatusResponse - (*TaskLogEntry)(nil), // 101: state.v1.TaskLogEntry - (*ReadTaskLogRequest)(nil), // 102: state.v1.ReadTaskLogRequest - (*ReadTaskLogResponse)(nil), // 103: state.v1.ReadTaskLogResponse - (*StreamTaskLogContentRequest)(nil), // 104: state.v1.StreamTaskLogContentRequest - (*StreamTaskLogContentResponse)(nil), // 105: state.v1.StreamTaskLogContentResponse - (*InsertCaptureRequest)(nil), // 106: state.v1.InsertCaptureRequest - (*InsertCaptureResponse)(nil), // 107: state.v1.InsertCaptureResponse - (*ListCapturesRequest)(nil), // 108: state.v1.ListCapturesRequest - (*ListCapturesResponse)(nil), // 109: state.v1.ListCapturesResponse - (*StreamCapturesRequest)(nil), // 110: state.v1.StreamCapturesRequest - (*StreamCapturesResponse)(nil), // 111: state.v1.StreamCapturesResponse - (*InsertMappingRequest)(nil), // 112: state.v1.InsertMappingRequest - (*InsertMappingResponse)(nil), // 113: state.v1.InsertMappingResponse - (*GetMappingRequest)(nil), // 114: state.v1.GetMappingRequest - (*GetMappingResponse)(nil), // 115: state.v1.GetMappingResponse - (*ListMappingsRequest)(nil), // 116: state.v1.ListMappingsRequest - (*ListMappingsResponse)(nil), // 117: state.v1.ListMappingsResponse - (*UpdateMappingRequest)(nil), // 118: state.v1.UpdateMappingRequest - (*UpdateMappingResponse)(nil), // 119: state.v1.UpdateMappingResponse - (*DeleteMappingRequest)(nil), // 120: state.v1.DeleteMappingRequest - (*DeleteMappingResponse)(nil), // 121: state.v1.DeleteMappingResponse - (*InsertBindingRequest)(nil), // 122: state.v1.InsertBindingRequest - (*InsertBindingResponse)(nil), // 123: state.v1.InsertBindingResponse - (*GetBindingRequest)(nil), // 124: state.v1.GetBindingRequest - (*GetBindingResponse)(nil), // 125: state.v1.GetBindingResponse - (*ListBindingsRequest)(nil), // 126: state.v1.ListBindingsRequest - (*ListBindingsResponse)(nil), // 127: state.v1.ListBindingsResponse - (*UpdateBindingRequest)(nil), // 128: state.v1.UpdateBindingRequest - (*UpdateBindingResponse)(nil), // 129: state.v1.UpdateBindingResponse - (*DeleteBindingRequest)(nil), // 130: state.v1.DeleteBindingRequest - (*DeleteBindingResponse)(nil), // 131: state.v1.DeleteBindingResponse - (*ApproveBindingRequest)(nil), // 132: state.v1.ApproveBindingRequest - (*ApproveBindingResponse)(nil), // 133: state.v1.ApproveBindingResponse - (*ArmedBindingsForSourceRequest)(nil), // 134: state.v1.ArmedBindingsForSourceRequest - (*ArmedBindingsForSourceResponse)(nil), // 135: state.v1.ArmedBindingsForSourceResponse - (*RecordDispatchRequest)(nil), // 136: state.v1.RecordDispatchRequest - (*RecordDispatchResponse)(nil), // 137: state.v1.RecordDispatchResponse - (*RecordPlaybookDispatchRequest)(nil), // 138: state.v1.RecordPlaybookDispatchRequest - (*RecordPlaybookDispatchResponse)(nil), // 139: state.v1.RecordPlaybookDispatchResponse - (*DeletePlaybookDispatchesRequest)(nil), // 140: state.v1.DeletePlaybookDispatchesRequest - (*DeletePlaybookDispatchesResponse)(nil), // 141: state.v1.DeletePlaybookDispatchesResponse - (*ListUndispatchedCapturesRequest)(nil), // 142: state.v1.ListUndispatchedCapturesRequest - (*ListUndispatchedCapturesResponse)(nil), // 143: state.v1.ListUndispatchedCapturesResponse - (*StreamUndispatchedCapturesRequest)(nil), // 144: state.v1.StreamUndispatchedCapturesRequest - (*StreamUndispatchedCapturesResponse)(nil), // 145: state.v1.StreamUndispatchedCapturesResponse - (*EnqueueBindingTaskRequest)(nil), // 146: state.v1.EnqueueBindingTaskRequest - (*EnqueueBindingTaskResponse)(nil), // 147: state.v1.EnqueueBindingTaskResponse - nil, // 148: state.v1.StatusCountsResponse.CountsEntry - (*timestamppb.Timestamp)(nil), // 149: google.protobuf.Timestamp + (*ParkTaskRequest)(nil), // 48: state.v1.ParkTaskRequest + (*ParkTaskResponse)(nil), // 49: state.v1.ParkTaskResponse + (*RecoverStaleRequest)(nil), // 50: state.v1.RecoverStaleRequest + (*RecoverStaleResponse)(nil), // 51: state.v1.RecoverStaleResponse + (*ArchiveTaskRequest)(nil), // 52: state.v1.ArchiveTaskRequest + (*ArchiveTaskResponse)(nil), // 53: state.v1.ArchiveTaskResponse + (*RetryTaskRequest)(nil), // 54: state.v1.RetryTaskRequest + (*RetryTaskResponse)(nil), // 55: state.v1.RetryTaskResponse + (*BeginRemediationRequest)(nil), // 56: state.v1.BeginRemediationRequest + (*BeginRemediationResponse)(nil), // 57: state.v1.BeginRemediationResponse + (*UpdateReviewPayloadRequest)(nil), // 58: state.v1.UpdateReviewPayloadRequest + (*UpdateReviewPayloadResponse)(nil), // 59: state.v1.UpdateReviewPayloadResponse + (*SetReviewCursorsRequest)(nil), // 60: state.v1.SetReviewCursorsRequest + (*SetReviewCursorsResponse)(nil), // 61: state.v1.SetReviewCursorsResponse + (*TaskByIssueRequest)(nil), // 62: state.v1.TaskByIssueRequest + (*TaskByIssueResponse)(nil), // 63: state.v1.TaskByIssueResponse + (*OpenTaskByPRRequest)(nil), // 64: state.v1.OpenTaskByPRRequest + (*OpenTaskByPRResponse)(nil), // 65: state.v1.OpenTaskByPRResponse + (*TaskByIDRequest)(nil), // 66: state.v1.TaskByIDRequest + (*TaskByIDResponse)(nil), // 67: state.v1.TaskByIDResponse + (*OpenPRsRequest)(nil), // 68: state.v1.OpenPRsRequest + (*OpenPRsResponse)(nil), // 69: state.v1.OpenPRsResponse + (*ClearTerminalTasksRequest)(nil), // 70: state.v1.ClearTerminalTasksRequest + (*ClearTerminalTasksResponse)(nil), // 71: state.v1.ClearTerminalTasksResponse + (*TasksRequest)(nil), // 72: state.v1.TasksRequest + (*TasksResponse)(nil), // 73: state.v1.TasksResponse + (*StatusCountsRequest)(nil), // 74: state.v1.StatusCountsRequest + (*StatusCountsResponse)(nil), // 75: state.v1.StatusCountsResponse + (*InsertEventRequest)(nil), // 76: state.v1.InsertEventRequest + (*InsertEventResponse)(nil), // 77: state.v1.InsertEventResponse + (*EventsSinceRequest)(nil), // 78: state.v1.EventsSinceRequest + (*EventsSinceResponse)(nil), // 79: state.v1.EventsSinceResponse + (*TaskEventsRequest)(nil), // 80: state.v1.TaskEventsRequest + (*TaskEventsResponse)(nil), // 81: state.v1.TaskEventsResponse + (*WorkflowStatsRequest)(nil), // 82: state.v1.WorkflowStatsRequest + (*WorkflowStatsResponse)(nil), // 83: state.v1.WorkflowStatsResponse + (*StageStatsRequest)(nil), // 84: state.v1.StageStatsRequest + (*StageStatsResponse)(nil), // 85: state.v1.StageStatsResponse + (*TokensByDayRequest)(nil), // 86: state.v1.TokensByDayRequest + (*TokensByDayResponse)(nil), // 87: state.v1.TokensByDayResponse + (*ConfigSnapshot)(nil), // 88: state.v1.ConfigSnapshot + (*PutConfigSnapshotRequest)(nil), // 89: state.v1.PutConfigSnapshotRequest + (*PutConfigSnapshotResponse)(nil), // 90: state.v1.PutConfigSnapshotResponse + (*GetConfigSnapshotRequest)(nil), // 91: state.v1.GetConfigSnapshotRequest + (*GetConfigSnapshotResponse)(nil), // 92: state.v1.GetConfigSnapshotResponse + (*ChannelStatus)(nil), // 93: state.v1.ChannelStatus + (*PutChannelStatusRequest)(nil), // 94: state.v1.PutChannelStatusRequest + (*PutChannelStatusResponse)(nil), // 95: state.v1.PutChannelStatusResponse + (*ListChannelStatusRequest)(nil), // 96: state.v1.ListChannelStatusRequest + (*ListChannelStatusResponse)(nil), // 97: state.v1.ListChannelStatusResponse + (*ApplyStatus)(nil), // 98: state.v1.ApplyStatus + (*PutApplyStatusRequest)(nil), // 99: state.v1.PutApplyStatusRequest + (*PutApplyStatusResponse)(nil), // 100: state.v1.PutApplyStatusResponse + (*ListApplyStatusRequest)(nil), // 101: state.v1.ListApplyStatusRequest + (*ListApplyStatusResponse)(nil), // 102: state.v1.ListApplyStatusResponse + (*TaskLogEntry)(nil), // 103: state.v1.TaskLogEntry + (*ReadTaskLogRequest)(nil), // 104: state.v1.ReadTaskLogRequest + (*ReadTaskLogResponse)(nil), // 105: state.v1.ReadTaskLogResponse + (*StreamTaskLogContentRequest)(nil), // 106: state.v1.StreamTaskLogContentRequest + (*StreamTaskLogContentResponse)(nil), // 107: state.v1.StreamTaskLogContentResponse + (*InsertCaptureRequest)(nil), // 108: state.v1.InsertCaptureRequest + (*InsertCaptureResponse)(nil), // 109: state.v1.InsertCaptureResponse + (*ListCapturesRequest)(nil), // 110: state.v1.ListCapturesRequest + (*ListCapturesResponse)(nil), // 111: state.v1.ListCapturesResponse + (*StreamCapturesRequest)(nil), // 112: state.v1.StreamCapturesRequest + (*StreamCapturesResponse)(nil), // 113: state.v1.StreamCapturesResponse + (*InsertMappingRequest)(nil), // 114: state.v1.InsertMappingRequest + (*InsertMappingResponse)(nil), // 115: state.v1.InsertMappingResponse + (*GetMappingRequest)(nil), // 116: state.v1.GetMappingRequest + (*GetMappingResponse)(nil), // 117: state.v1.GetMappingResponse + (*ListMappingsRequest)(nil), // 118: state.v1.ListMappingsRequest + (*ListMappingsResponse)(nil), // 119: state.v1.ListMappingsResponse + (*UpdateMappingRequest)(nil), // 120: state.v1.UpdateMappingRequest + (*UpdateMappingResponse)(nil), // 121: state.v1.UpdateMappingResponse + (*DeleteMappingRequest)(nil), // 122: state.v1.DeleteMappingRequest + (*DeleteMappingResponse)(nil), // 123: state.v1.DeleteMappingResponse + (*InsertBindingRequest)(nil), // 124: state.v1.InsertBindingRequest + (*InsertBindingResponse)(nil), // 125: state.v1.InsertBindingResponse + (*GetBindingRequest)(nil), // 126: state.v1.GetBindingRequest + (*GetBindingResponse)(nil), // 127: state.v1.GetBindingResponse + (*ListBindingsRequest)(nil), // 128: state.v1.ListBindingsRequest + (*ListBindingsResponse)(nil), // 129: state.v1.ListBindingsResponse + (*UpdateBindingRequest)(nil), // 130: state.v1.UpdateBindingRequest + (*UpdateBindingResponse)(nil), // 131: state.v1.UpdateBindingResponse + (*DeleteBindingRequest)(nil), // 132: state.v1.DeleteBindingRequest + (*DeleteBindingResponse)(nil), // 133: state.v1.DeleteBindingResponse + (*ApproveBindingRequest)(nil), // 134: state.v1.ApproveBindingRequest + (*ApproveBindingResponse)(nil), // 135: state.v1.ApproveBindingResponse + (*ArmedBindingsForSourceRequest)(nil), // 136: state.v1.ArmedBindingsForSourceRequest + (*ArmedBindingsForSourceResponse)(nil), // 137: state.v1.ArmedBindingsForSourceResponse + (*RecordDispatchRequest)(nil), // 138: state.v1.RecordDispatchRequest + (*RecordDispatchResponse)(nil), // 139: state.v1.RecordDispatchResponse + (*RecordPlaybookDispatchRequest)(nil), // 140: state.v1.RecordPlaybookDispatchRequest + (*RecordPlaybookDispatchResponse)(nil), // 141: state.v1.RecordPlaybookDispatchResponse + (*DeletePlaybookDispatchesRequest)(nil), // 142: state.v1.DeletePlaybookDispatchesRequest + (*DeletePlaybookDispatchesResponse)(nil), // 143: state.v1.DeletePlaybookDispatchesResponse + (*ListUndispatchedCapturesRequest)(nil), // 144: state.v1.ListUndispatchedCapturesRequest + (*ListUndispatchedCapturesResponse)(nil), // 145: state.v1.ListUndispatchedCapturesResponse + (*StreamUndispatchedCapturesRequest)(nil), // 146: state.v1.StreamUndispatchedCapturesRequest + (*StreamUndispatchedCapturesResponse)(nil), // 147: state.v1.StreamUndispatchedCapturesResponse + (*EnqueueBindingTaskRequest)(nil), // 148: state.v1.EnqueueBindingTaskRequest + (*EnqueueBindingTaskResponse)(nil), // 149: state.v1.EnqueueBindingTaskResponse + nil, // 150: state.v1.StatusCountsResponse.CountsEntry + (*timestamppb.Timestamp)(nil), // 151: google.protobuf.Timestamp } var file_state_v1_state_proto_depIdxs = []int32{ - 149, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp - 149, // 1: state.v1.Identity.updated_at:type_name -> google.protobuf.Timestamp + 151, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp + 151, // 1: state.v1.Identity.updated_at:type_name -> google.protobuf.Timestamp 4, // 2: state.v1.ListIdentitiesResponse.identities:type_name -> state.v1.Identity 4, // 3: state.v1.GetIdentityResponse.identity:type_name -> state.v1.Identity 5, // 4: state.v1.CreateIdentityRequest.audit:type_name -> state.v1.IdentityAudit @@ -8707,16 +8820,16 @@ var file_state_v1_state_proto_depIdxs = []int32{ 4, // 14: state.v1.ResolveIdentitySubjectResponse.identity:type_name -> state.v1.Identity 5, // 15: state.v1.BindIdentitySubjectRequest.audit:type_name -> state.v1.IdentityAudit 4, // 16: state.v1.BindIdentitySubjectResponse.identity:type_name -> state.v1.Identity - 149, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp - 149, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp - 149, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp - 149, // 20: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp + 151, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp + 151, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp + 151, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp + 151, // 20: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp 27, // 21: state.v1.Mapping.fields:type_name -> state.v1.MappingField - 149, // 22: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp - 149, // 23: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp + 151, // 22: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp + 151, // 23: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp 29, // 24: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher - 149, // 25: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp - 149, // 26: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp + 151, // 25: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp + 151, // 26: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp 24, // 27: state.v1.EnqueueChatTaskResponse.task:type_name -> state.v1.Task 24, // 28: state.v1.ClaimNextResponse.task:type_name -> state.v1.Task 24, // 29: state.v1.ClaimByIssueResponse.task:type_name -> state.v1.Task @@ -8727,26 +8840,26 @@ var file_state_v1_state_proto_depIdxs = []int32{ 24, // 34: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task 24, // 35: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task 24, // 36: state.v1.TasksResponse.tasks:type_name -> state.v1.Task - 148, // 37: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry + 150, // 37: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry 25, // 38: state.v1.InsertEventRequest.event:type_name -> state.v1.Event 25, // 39: state.v1.EventsSinceResponse.events:type_name -> state.v1.Event 25, // 40: state.v1.TaskEventsResponse.events:type_name -> state.v1.Event 31, // 41: state.v1.WorkflowStatsResponse.stats:type_name -> state.v1.WorkflowStat 32, // 42: state.v1.StageStatsResponse.stats:type_name -> state.v1.StageStat 33, // 43: state.v1.TokensByDayResponse.tokens:type_name -> state.v1.DayTokens - 149, // 44: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp - 86, // 45: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot - 86, // 46: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot - 149, // 47: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp - 91, // 48: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus - 91, // 49: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus - 149, // 50: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp - 96, // 51: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus - 96, // 52: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus - 149, // 53: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp - 149, // 54: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp - 149, // 55: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp - 101, // 56: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry + 151, // 44: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp + 88, // 45: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot + 88, // 46: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot + 151, // 47: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp + 93, // 48: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus + 93, // 49: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus + 151, // 50: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp + 98, // 51: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus + 98, // 52: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus + 151, // 53: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp + 151, // 54: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp + 151, // 55: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp + 103, // 56: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry 26, // 57: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent 26, // 58: state.v1.ListCapturesResponse.captures:type_name -> state.v1.CapturedEvent 26, // 59: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent @@ -8780,122 +8893,124 @@ var file_state_v1_state_proto_depIdxs = []int32{ 42, // 87: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest 44, // 88: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest 46, // 89: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest - 48, // 90: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest - 50, // 91: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest - 52, // 92: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest - 54, // 93: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest - 56, // 94: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest - 58, // 95: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest - 60, // 96: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest - 62, // 97: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest - 64, // 98: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest - 66, // 99: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest - 68, // 100: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest - 70, // 101: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest - 72, // 102: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest - 74, // 103: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest - 76, // 104: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest - 78, // 105: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest - 80, // 106: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest - 82, // 107: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest - 84, // 108: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest - 87, // 109: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest - 89, // 110: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest - 92, // 111: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest - 94, // 112: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest - 97, // 113: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest - 99, // 114: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest - 102, // 115: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest - 104, // 116: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest - 106, // 117: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest - 108, // 118: state.v1.StateStoreService.ListCaptures:input_type -> state.v1.ListCapturesRequest - 110, // 119: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest - 112, // 120: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest - 114, // 121: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest - 116, // 122: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest - 118, // 123: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest - 120, // 124: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest - 122, // 125: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest - 124, // 126: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest - 126, // 127: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest - 128, // 128: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest - 130, // 129: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest - 132, // 130: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest - 134, // 131: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest - 136, // 132: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest - 138, // 133: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest - 140, // 134: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest - 142, // 135: state.v1.StateStoreService.ListUndispatchedCaptures:input_type -> state.v1.ListUndispatchedCapturesRequest - 144, // 136: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest - 146, // 137: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest - 1, // 138: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse - 3, // 139: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse - 7, // 140: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse - 9, // 141: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse - 15, // 142: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse - 16, // 143: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse - 17, // 144: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse - 18, // 145: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse - 19, // 146: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse - 21, // 147: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse - 23, // 148: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse - 35, // 149: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse - 37, // 150: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse - 39, // 151: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse - 41, // 152: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse - 43, // 153: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse - 45, // 154: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse - 47, // 155: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse - 49, // 156: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse - 51, // 157: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse - 53, // 158: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse - 55, // 159: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse - 57, // 160: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse - 59, // 161: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse - 61, // 162: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse - 63, // 163: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse - 65, // 164: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse - 67, // 165: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse - 69, // 166: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse - 71, // 167: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse - 73, // 168: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse - 75, // 169: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse - 77, // 170: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse - 79, // 171: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse - 81, // 172: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse - 83, // 173: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse - 85, // 174: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse - 88, // 175: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse - 90, // 176: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse - 93, // 177: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse - 95, // 178: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse - 98, // 179: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse - 100, // 180: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse - 103, // 181: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse - 105, // 182: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse - 107, // 183: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse - 109, // 184: state.v1.StateStoreService.ListCaptures:output_type -> state.v1.ListCapturesResponse - 111, // 185: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse - 113, // 186: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse - 115, // 187: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse - 117, // 188: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse - 119, // 189: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse - 121, // 190: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse - 123, // 191: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse - 125, // 192: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse - 127, // 193: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse - 129, // 194: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse - 131, // 195: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse - 133, // 196: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse - 135, // 197: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse - 137, // 198: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse - 139, // 199: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse - 141, // 200: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse - 143, // 201: state.v1.StateStoreService.ListUndispatchedCaptures:output_type -> state.v1.ListUndispatchedCapturesResponse - 145, // 202: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse - 147, // 203: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse - 138, // [138:204] is the sub-list for method output_type - 72, // [72:138] is the sub-list for method input_type + 48, // 90: state.v1.StateStoreService.ParkTask:input_type -> state.v1.ParkTaskRequest + 50, // 91: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest + 52, // 92: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest + 54, // 93: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest + 56, // 94: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest + 58, // 95: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest + 60, // 96: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest + 62, // 97: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest + 64, // 98: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest + 66, // 99: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest + 68, // 100: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest + 70, // 101: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest + 72, // 102: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest + 74, // 103: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest + 76, // 104: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest + 78, // 105: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest + 80, // 106: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest + 82, // 107: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest + 84, // 108: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest + 86, // 109: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest + 89, // 110: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest + 91, // 111: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest + 94, // 112: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest + 96, // 113: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest + 99, // 114: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest + 101, // 115: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest + 104, // 116: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest + 106, // 117: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest + 108, // 118: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest + 110, // 119: state.v1.StateStoreService.ListCaptures:input_type -> state.v1.ListCapturesRequest + 112, // 120: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest + 114, // 121: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest + 116, // 122: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest + 118, // 123: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest + 120, // 124: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest + 122, // 125: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest + 124, // 126: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest + 126, // 127: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest + 128, // 128: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest + 130, // 129: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest + 132, // 130: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest + 134, // 131: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest + 136, // 132: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest + 138, // 133: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest + 140, // 134: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest + 142, // 135: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest + 144, // 136: state.v1.StateStoreService.ListUndispatchedCaptures:input_type -> state.v1.ListUndispatchedCapturesRequest + 146, // 137: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest + 148, // 138: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest + 1, // 139: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse + 3, // 140: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse + 7, // 141: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse + 9, // 142: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse + 15, // 143: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse + 16, // 144: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse + 17, // 145: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse + 18, // 146: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse + 19, // 147: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse + 21, // 148: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse + 23, // 149: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse + 35, // 150: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse + 37, // 151: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse + 39, // 152: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse + 41, // 153: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse + 43, // 154: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse + 45, // 155: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse + 47, // 156: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse + 49, // 157: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse + 51, // 158: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse + 53, // 159: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse + 55, // 160: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse + 57, // 161: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse + 59, // 162: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse + 61, // 163: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse + 63, // 164: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse + 65, // 165: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse + 67, // 166: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse + 69, // 167: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse + 71, // 168: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse + 73, // 169: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse + 75, // 170: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse + 77, // 171: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse + 79, // 172: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse + 81, // 173: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse + 83, // 174: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse + 85, // 175: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse + 87, // 176: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse + 90, // 177: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse + 92, // 178: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse + 95, // 179: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse + 97, // 180: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse + 100, // 181: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse + 102, // 182: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse + 105, // 183: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse + 107, // 184: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse + 109, // 185: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse + 111, // 186: state.v1.StateStoreService.ListCaptures:output_type -> state.v1.ListCapturesResponse + 113, // 187: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse + 115, // 188: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse + 117, // 189: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse + 119, // 190: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse + 121, // 191: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse + 123, // 192: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse + 125, // 193: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse + 127, // 194: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse + 129, // 195: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse + 131, // 196: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse + 133, // 197: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse + 135, // 198: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse + 137, // 199: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse + 139, // 200: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse + 141, // 201: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse + 143, // 202: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse + 145, // 203: state.v1.StateStoreService.ListUndispatchedCaptures:output_type -> state.v1.ListUndispatchedCapturesResponse + 147, // 204: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse + 149, // 205: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse + 139, // [139:206] is the sub-list for method output_type + 72, // [72:139] is the sub-list for method input_type 72, // [72:72] is the sub-list for extension type_name 72, // [72:72] is the sub-list for extension extendee 0, // [0:72] is the sub-list for field type_name @@ -8912,7 +9027,7 @@ func file_state_v1_state_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_state_v1_state_proto_rawDesc), len(file_state_v1_state_proto_rawDesc)), NumEnums: 0, - NumMessages: 149, + NumMessages: 151, NumExtensions: 0, NumServices: 1, }, diff --git a/internal/contracts/state/v1/state_grpc.pb.go b/internal/contracts/state/v1/state_grpc.pb.go index af584723b..f99fd10f0 100644 --- a/internal/contracts/state/v1/state_grpc.pb.go +++ b/internal/contracts/state/v1/state_grpc.pb.go @@ -37,6 +37,7 @@ const ( StateStoreService_Transition_FullMethodName = "/state.v1.StateStoreService/Transition" StateStoreService_Update_FullMethodName = "/state.v1.StateStoreService/Update" StateStoreService_Requeue_FullMethodName = "/state.v1.StateStoreService/Requeue" + StateStoreService_ParkTask_FullMethodName = "/state.v1.StateStoreService/ParkTask" StateStoreService_RecoverStale_FullMethodName = "/state.v1.StateStoreService/RecoverStale" StateStoreService_ArchiveTask_FullMethodName = "/state.v1.StateStoreService/ArchiveTask" StateStoreService_RetryTask_FullMethodName = "/state.v1.StateStoreService/RetryTask" @@ -123,6 +124,7 @@ type StateStoreServiceClient interface { Transition(ctx context.Context, in *TransitionRequest, opts ...grpc.CallOption) (*TransitionResponse, error) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) Requeue(ctx context.Context, in *RequeueRequest, opts ...grpc.CallOption) (*RequeueResponse, error) + ParkTask(ctx context.Context, in *ParkTaskRequest, opts ...grpc.CallOption) (*ParkTaskResponse, error) RecoverStale(ctx context.Context, in *RecoverStaleRequest, opts ...grpc.CallOption) (*RecoverStaleResponse, error) // Archive / Retry ArchiveTask(ctx context.Context, in *ArchiveTaskRequest, opts ...grpc.CallOption) (*ArchiveTaskResponse, error) @@ -408,6 +410,16 @@ func (c *stateStoreServiceClient) Requeue(ctx context.Context, in *RequeueReques return out, nil } +func (c *stateStoreServiceClient) ParkTask(ctx context.Context, in *ParkTaskRequest, opts ...grpc.CallOption) (*ParkTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(ParkTaskResponse) + err := c.cc.Invoke(ctx, StateStoreService_ParkTask_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *stateStoreServiceClient) RecoverStale(ctx context.Context, in *RecoverStaleRequest, opts ...grpc.CallOption) (*RecoverStaleResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(RecoverStaleResponse) @@ -953,6 +965,7 @@ type StateStoreServiceServer interface { Transition(context.Context, *TransitionRequest) (*TransitionResponse, error) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) Requeue(context.Context, *RequeueRequest) (*RequeueResponse, error) + ParkTask(context.Context, *ParkTaskRequest) (*ParkTaskResponse, error) RecoverStale(context.Context, *RecoverStaleRequest) (*RecoverStaleResponse, error) // Archive / Retry ArchiveTask(context.Context, *ArchiveTaskRequest) (*ArchiveTaskResponse, error) @@ -1112,6 +1125,9 @@ func (UnimplementedStateStoreServiceServer) Update(context.Context, *UpdateReque func (UnimplementedStateStoreServiceServer) Requeue(context.Context, *RequeueRequest) (*RequeueResponse, error) { return nil, status.Error(codes.Unimplemented, "method Requeue not implemented") } +func (UnimplementedStateStoreServiceServer) ParkTask(context.Context, *ParkTaskRequest) (*ParkTaskResponse, error) { + return nil, status.Error(codes.Unimplemented, "method ParkTask not implemented") +} func (UnimplementedStateStoreServiceServer) RecoverStale(context.Context, *RecoverStaleRequest) (*RecoverStaleResponse, error) { return nil, status.Error(codes.Unimplemented, "method RecoverStale not implemented") } @@ -1601,6 +1617,24 @@ func _StateStoreService_Requeue_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } +func _StateStoreService_ParkTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ParkTaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).ParkTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_ParkTask_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).ParkTask(ctx, req.(*ParkTaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _StateStoreService_RecoverStale_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(RecoverStaleRequest) if err := dec(in); err != nil { @@ -2523,6 +2557,10 @@ var StateStoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "Requeue", Handler: _StateStoreService_Requeue_Handler, }, + { + MethodName: "ParkTask", + Handler: _StateStoreService_ParkTask_Handler, + }, { MethodName: "RecoverStale", Handler: _StateStoreService_RecoverStale_Handler, diff --git a/internal/daemon/daemon.go b/internal/daemon/daemon.go index 874cc5a16..72174a8ff 100644 --- a/internal/daemon/daemon.go +++ b/internal/daemon/daemon.go @@ -35,6 +35,7 @@ import ( "github.com/samcharles93/archie-core/internal/plugin" "github.com/samcharles93/archie-core/internal/storage" "github.com/samcharles93/archie-core/internal/taskrun" + "github.com/samcharles93/archie-core/internal/taskstate" "github.com/samcharles93/archie-core/internal/tools" "github.com/samcharles93/archie-core/internal/worktree" ) @@ -1046,7 +1047,7 @@ func (d *Daemon) processNATSTask(ctx context.Context, msg eventbus.Message) { return } - if ok, reason := d.identityMayAct(ctx, tm.Identity); !ok { + if ok, reason, _ := d.identityMayAct(ctx, tm.Identity); !ok { d.Log.Error("nats intake rejected: "+reason, "subject", msg.Subject()) if err := msg.Ack(); err != nil { d.Log.Warn("ack failed", "err", err) @@ -1193,36 +1194,11 @@ func (d *Daemon) process(ctx context.Context, task *workflow.Task) { trees := d.treesFor(task) repo, ok := d.repoFor(task) if !ok { - d.parkRunningTask(ctx, task.ID, "repo no longer in config") + d.parkRunningTask(ctx, task.ID, "repo no longer in config", taskstate.ParkTerminal) return } - if d.ContainerPool == nil { - const reason = "managed agent container pool is unavailable; refusing to run this task on the host" - d.Log.Error("task parked: managed worker unavailable", "task", task.ID, - "hint", "enable containers and make the archie-agent image available, then retry the task") - if err := d.Store.Transition(ctx, task.ID, workflow.StatusRunning, workflow.StatusParked, reason); err != nil { - d.Log.Warn("managed worker park transition failed", "task", task.ID, "err", err) - return - } - d.recordPark(ctx, task.ID, reason) - d.emit(events.Event{ - Kind: events.KindParked, TaskID: task.ID, Attempt: task.Attempt, - Repo: repo.FullName(), Issue: task.IssueNumber, Detail: reason, - }) - return - } - if d.Tasks == nil { - const reason = "agent task transport is unavailable; refusing to run this task on the host" - d.Log.Error("task parked: agent task transport unavailable", "task", task.ID) - if err := d.Store.Transition(ctx, task.ID, workflow.StatusRunning, workflow.StatusParked, reason); err != nil { - d.Log.Warn("agent task transport park transition failed", "task", task.ID, "err", err) - return - } - d.recordPark(ctx, task.ID, reason) - d.emit(events.Event{ - Kind: events.KindParked, TaskID: task.ID, Attempt: task.Attempt, - Repo: repo.FullName(), Issue: task.IssueNumber, Detail: reason, - }) + if d.ContainerPool == nil || d.Tasks == nil { + d.parkCapabilityUnavailable(ctx, task, repo) return } @@ -1242,7 +1218,7 @@ func (d *Daemon) process(ctx context.Context, task *workflow.Task) { _, branch, err = trees.Prepare(ctx, task.Owner, task.Repo, repo.BaseBranch(), task.IssueNumber, task.Title, task.Body, task.Labels) if err != nil { d.Log.Error("worktree prepare failed", "err", err) - d.parkRunningTask(ctx, task.ID, "worktree prepare failed: "+err.Error()) + d.parkRunningTask(ctx, task.ID, "worktree prepare failed: "+err.Error(), taskstate.ParkTransient) return } task.Branch = branch @@ -1336,7 +1312,7 @@ func (d *Daemon) acquireTaskContainer( ) (*container.Container, func(), bool) { park := func(reason string, err error) { d.Log.Error(reason, "err", err) - d.parkRunningTask(ctx, task.ID, reason+": "+err.Error()) + d.parkRunningTask(ctx, task.ID, reason+": "+err.Error(), taskstate.ParkTransient) } // Write task.json -- the container's boot-time brief. @@ -1354,7 +1330,7 @@ func (d *Daemon) acquireTaskContainer( // normal operation, Storage is always set when ContainerPool is set. if d.Storage == nil { d.Log.Error("storage backend is nil -- cannot acquire container") - d.parkRunningTask(ctx, task.ID, "storage backend not configured") + d.parkRunningTask(ctx, task.ID, "storage backend not configured", taskstate.ParkTransient) return nil, nil, false } @@ -1407,9 +1383,38 @@ func (d *Daemon) acquireTaskContainer( return ctr, revokeStateStoreGrant, true } +// parkCapabilityUnavailable parks a task whose daemon-side capability is +// missing (container pool or task transport): both are environmental, so +// the park class is transient and the KindParked event carries the class +// for the dashboard. The reason distinguishes the two in logs and events. +func (d *Daemon) parkCapabilityUnavailable(ctx context.Context, task *workflow.Task, repo config.Repo) { + var reason string + if d.ContainerPool == nil { + reason = "managed agent container pool is unavailable; refusing to run this task on the host" + d.Log.Error("task parked: managed worker unavailable", "task", task.ID, + "hint", "enable containers and make the archie-agent image available, then retry the task") + } else { + reason = "agent task transport is unavailable; refusing to run this task on the host" + d.Log.Error("task parked: agent task transport unavailable", "task", task.ID) + } + if err := d.Store.ParkTask(ctx, task.ID, workflow.StatusRunning, reason, taskstate.ParkTransient); err != nil { + d.Log.Warn("capability park transition failed", "task", task.ID, "err", err) + return + } + d.recordPark(ctx, task.ID, reason) + d.emit(events.Event{ + Kind: events.KindParked, TaskID: task.ID, Attempt: task.Attempt, + Repo: repo.FullName(), Issue: task.IssueNumber, Detail: reason, + Data: map[string]any{"park_class": taskstate.ParkTransient}, + }) +} + // parkRunningTask transitions a task from running to parked using a context // detached from caller cancellation, with a bounded timeout. // +// The park carries the caller's taskstate.ParkClass: every call site states +// what kind of intervention its park needs, and the store normalizes the +// class, so an unclassified caller cannot silently mislabel a park. // When a task fails or is cancelled (e.g. via /stop or dashboard Stop), ctx is // already cancelled. Writing terminal state using the cancelled ctx fails // immediately in SQLite transactions and silently leaves the task row 'running' @@ -1420,14 +1425,14 @@ func (d *Daemon) acquireTaskContainer( // The transition remains guarded from StatusRunning: if the worker already // recorded a terminal state over storerpc, storecontract.ErrStaleTransition is returned // and ignored. Unexpected store errors are logged as warnings. -func (d *Daemon) parkRunningTask(ctx context.Context, taskID int64, reason string) { +func (d *Daemon) parkRunningTask(ctx context.Context, taskID int64, reason string, class taskstate.ParkClass) { if d.Store == nil { return } writeCtx, cancel := context.WithTimeout(context.WithoutCancel(ctx), 10*time.Second) defer cancel() - if err := d.Store.Transition(writeCtx, taskID, workflow.StatusRunning, workflow.StatusParked, reason); err != nil { + if err := d.Store.ParkTask(writeCtx, taskID, workflow.StatusRunning, reason, class); err != nil { if !errors.Is(err, storecontract.ErrStaleTransition) { d.Log.Warn("terminal park transition failed", "task", taskID, "reason", reason, "err", err) } @@ -1474,13 +1479,13 @@ func (d *Daemon) runViaAgent(ctx context.Context, task *workflow.Task, repo conf if d.WorktreeGrants == nil { const reason = "worktree publication grants are unavailable" d.Log.Error(reason, "task", task.ID) - d.parkRunningTask(ctx, task.ID, reason) + d.parkRunningTask(ctx, task.ID, reason, taskstate.ParkTransient) return } grant, revoke, err := d.WorktreeGrants.Issue(task) if err != nil { d.Log.Error("worktree publication grant failed", "task", task.ID, "err", err) - d.parkRunningTask(ctx, task.ID, "worktree publication grant failed: "+err.Error()) + d.parkRunningTask(ctx, task.ID, "worktree publication grant failed: "+err.Error(), taskstate.ParkTransient) return } defer revoke() @@ -1489,7 +1494,7 @@ func (d *Daemon) runViaAgent(ctx context.Context, task *workflow.Task, repo conf d.captureAttemptConfig(ctx, task, taskCfg) if err := d.pinWorkflowDefinition(ctx, task); err != nil { d.Log.Error("pin workflow definition failed", "task", task.ID, "err", err) - d.parkRunningTask(ctx, task.ID, "pin workflow definition: "+err.Error()) + d.parkRunningTask(ctx, task.ID, "pin workflow definition: "+err.Error(), taskstate.ParkTransient) return } req := taskrun.Request{ @@ -1506,26 +1511,26 @@ func (d *Daemon) runViaAgent(ctx context.Context, task *workflow.Task, repo conf data, err := json.Marshal(req) if err != nil { d.Log.Error("taskrun encode failed", "task", task.ID, "err", err) - d.parkRunningTask(ctx, task.ID, "taskrun encode failed: "+err.Error()) + d.parkRunningTask(ctx, task.ID, "taskrun encode failed: "+err.Error(), taskstate.ParkTransient) return } reply, err := d.requestTaskRun(ctx, task.ID, data) if err != nil { d.Log.Error("taskrun request failed", "task", task.ID, "err", err) - d.parkRunningTask(ctx, task.ID, "taskrun request failed: "+err.Error()) + d.parkRunningTask(ctx, task.ID, "taskrun request failed: "+err.Error(), taskstate.ParkTransient) return } var resp taskrun.Response if err := json.Unmarshal(reply, &resp); err != nil { d.Log.Error("taskrun decode response failed", "task", task.ID, "err", err) - d.parkRunningTask(ctx, task.ID, "taskrun decode response failed: "+err.Error()) + d.parkRunningTask(ctx, task.ID, "taskrun decode response failed: "+err.Error(), taskstate.ParkTransient) return } if resp.Error != "" { d.Log.Error("taskrun run failed", "task", task.ID, "err", resp.Error) - d.parkRunningTask(ctx, task.ID, "taskrun run failed: "+resp.Error) + d.parkRunningTask(ctx, task.ID, "taskrun run failed: "+resp.Error, taskstate.ParkTransient) return } @@ -1835,6 +1840,9 @@ func (d *Daemon) identityFor(task *workflow.Task) *IdentityRunner { } // identityMayAct reports whether the identity a task carries may be acted on. +// A denial also carries the park class the task would need: a name that no +// longer resolves is fixable by re-adding the identity (transient), while a +// retired or deactivated identity is a deliberate operator state (terminal). // An empty identity is the single-identity root and always may act. A // non-empty identity must resolve to a configured runner and pass the // lifecycle check; otherwise the returned reason says why it may not. This is @@ -1842,29 +1850,29 @@ func (d *Daemon) identityFor(task *workflow.Task) *IdentityRunner { // credential-side behaviour: a task naming an identity archie no longer knows // -- renamed, retired, or deleted in the control plane -- must park, never // fall back to the root forge's credential. -func (d *Daemon) identityMayAct(ctx context.Context, name string) (bool, string) { +func (d *Daemon) identityMayAct(ctx context.Context, name string) (bool, string, taskstate.ParkClass) { if name == "" { - return true, "" + return true, "", "" } runner := d.identityFor(&workflow.Task{Identity: name}) if runner == nil { - return false, "identity " + name + " no longer resolves" + return false, "identity " + name + " no longer resolves", taskstate.ParkTransient } if !d.identityActive(ctx, runner.ID) { - return false, "identity " + runner.Name + " may not act" + return false, "identity " + runner.Name + " may not act", taskstate.ParkTerminal } - return true, "" + return true, "", "" } // parkIfIdentityUnresolvable parks task when its non-empty identity cannot be // acted on, reporting whether it did. An empty identity is the root // single-identity path and never parks here. func (d *Daemon) parkIfIdentityUnresolvable(ctx context.Context, task *workflow.Task) bool { - ok, reason := d.identityMayAct(ctx, task.Identity) + ok, reason, class := d.identityMayAct(ctx, task.Identity) if ok { return false } - d.parkRunningTask(ctx, task.ID, reason) + d.parkRunningTask(ctx, task.ID, reason, class) return true } diff --git a/internal/daemon/daemon_test.go b/internal/daemon/daemon_test.go index a37243827..1ec0d07ff 100644 --- a/internal/daemon/daemon_test.go +++ b/internal/daemon/daemon_test.go @@ -32,6 +32,7 @@ import ( "github.com/samcharles93/archie-core/internal/storage" "github.com/samcharles93/archie-core/internal/store" "github.com/samcharles93/archie-core/internal/taskrun" + "github.com/samcharles93/archie-core/internal/taskstate" "github.com/samcharles93/archie-core/internal/worktree" ) @@ -120,7 +121,7 @@ func TestParkRunningTaskRecordsItsReasonInTheTasksOwnLog(t *testing.T) { defer closeLog() const reason = "worktree prepare failed: checkout branch fix/42-x: reference not found" - d.parkRunningTask(ctx, task.ID, reason) + d.parkRunningTask(ctx, task.ID, reason, taskstate.ParkTransient) page, err := d.TaskLogs.TaskLog(ctx, task.ID, task.Attempt, logging.Query{}) if err != nil { @@ -166,7 +167,7 @@ func TestParkDoesNotRecordAParkThatLosesTheRace(t *testing.T) { closeLog := d.openTaskLog(task) defer closeLog() - d.parkRunningTask(ctx, task.ID, "worktree prepare failed: simulated") + d.parkRunningTask(ctx, task.ID, "worktree prepare failed: simulated", taskstate.ParkTransient) page, err := d.TaskLogs.TaskLog(ctx, task.ID, task.Attempt, logging.Query{}) if err != nil { diff --git a/internal/daemon/task_cancellation_test.go b/internal/daemon/task_cancellation_test.go index b3ef7fa9a..838b03b6a 100644 --- a/internal/daemon/task_cancellation_test.go +++ b/internal/daemon/task_cancellation_test.go @@ -25,6 +25,7 @@ import ( "github.com/samcharles93/archie-core/internal/storage" "github.com/samcharles93/archie-core/internal/store" "github.com/samcharles93/archie-core/internal/taskrun" + "github.com/samcharles93/archie-core/internal/taskstate" "github.com/samcharles93/archie-core/internal/worktree" ) @@ -445,7 +446,7 @@ func TestParkRunningTaskGuardedAndLogging(t *testing.T) { _ = s.Close() } - d.parkRunningTask(callCtx, task.ID, "simulated park reason") + d.parkRunningTask(callCtx, task.ID, "simulated park reason", taskstate.ParkTransient) logOutput := buf.String() if tt.wantWarning { diff --git a/internal/domain/storecontract/storecontract.go b/internal/domain/storecontract/storecontract.go index 948989046..5f53ab7ab 100644 --- a/internal/domain/storecontract/storecontract.go +++ b/internal/domain/storecontract/storecontract.go @@ -32,6 +32,7 @@ import ( // Consumers depend on TaskStore, never on a concrete type. type TaskStore interface { TaskLifecycle + TaskParker TaskEvents TaskQueries TaskArchiver @@ -54,6 +55,16 @@ type TaskLifecycle interface { RecoverStale(ctx context.Context) (int64, error) } +// TaskParker is the classified park write, kept off TaskLifecycle so that +// interface stays under the repo's 8-method cap. It mirrors Transition with +// a park class attached (taskstate.ParkClass); the class is normalized +// store-side, so an empty or unknown value becomes needs_human rather than +// an error -- a park that predates classification must not fail because its +// caller did not know the vocabulary. +type TaskParker interface { + ParkTask(ctx context.Context, taskID int64, from, detail, class string) error +} + // TaskArchiver removes one terminal task's local record with an optimistic // status guard. It is separate from the already broad lifecycle contract so // consumers that only run tasks do not acquire an operator-only capability. diff --git a/internal/infrastructure/staterpc/client.go b/internal/infrastructure/staterpc/client.go index de128ef61..7689190ad 100644 --- a/internal/infrastructure/staterpc/client.go +++ b/internal/infrastructure/staterpc/client.go @@ -111,6 +111,11 @@ func (c *Client) Requeue(ctx context.Context, taskID int64, fromStatus, wf strin return unmapError(err) } +func (c *Client) ParkTask(ctx context.Context, taskID int64, from, detail, class string) error { + _, err := c.client.ParkTask(ctx, &pb.ParkTaskRequest{TaskId: taskID, From: from, Detail: detail, Class: class}) + return unmapError(err) +} + func (c *Client) RecoverStale(ctx context.Context) (int64, error) { r, err := c.client.RecoverStale(ctx, &pb.RecoverStaleRequest{}) if err != nil { diff --git a/internal/infrastructure/staterpc/conformance_test.go b/internal/infrastructure/staterpc/conformance_test.go index ee3cbdd67..b8ea703a1 100644 --- a/internal/infrastructure/staterpc/conformance_test.go +++ b/internal/infrastructure/staterpc/conformance_test.go @@ -291,6 +291,46 @@ func TestStateStoreConformance(t *testing.T) { if _, err := c.RecoverStale(ctx); err != nil { t.Fatalf("RecoverStale: %v", err) } + + // Classified park: the guarded transition carries the park class, + // and both guards are the wire contract (the stale sentinel must + // survive the hop for the daemon's park-with-retry loop to detect + // a concurrent terminal write). + if err := c.Transition(ctx, claimed.ID, "queued", "running", "claimed"); err != nil { + t.Fatalf("re-claim for ParkTask: %v", err) + } + if err := c.ParkTask(ctx, claimed.ID, "running", "container pool unavailable", "transient"); err != nil { + t.Fatalf("ParkTask: %v", err) + } + parked, err := c.TaskByID(ctx, claimed.ID) + if err != nil || parked == nil { + t.Fatalf("TaskByID after ParkTask: %+v %v", parked, err) + } + if parked.Status != "parked" || parked.ParkClass != "transient" || parked.ParkReason != "container pool unavailable" { + t.Fatalf("ParkTask row = status:%q class:%q reason:%q", parked.Status, parked.ParkClass, parked.ParkReason) + } + if err := c.ParkTask(ctx, claimed.ID, "running", "late park", "transient"); !errors.Is(err, store.ErrStaleTransition) { + t.Fatalf("ParkTask stale = %v, want ErrStaleTransition", err) + } + // An unclassified park normalizes to needs_human store-side rather + // than failing: a caller that predates the class vocabulary must + // not be unable to park. + if err := c.Requeue(ctx, claimed.ID, "parked", ""); err != nil { + t.Fatalf("Requeue after park: %v", err) + } + if err := c.Transition(ctx, claimed.ID, "queued", "running", "claimed"); err != nil { + t.Fatalf("re-claim 2: %v", err) + } + if err := c.ParkTask(ctx, claimed.ID, "running", "unclassified park", ""); err != nil { + t.Fatalf("ParkTask unclassified: %v", err) + } + parked2, err := c.TaskByID(ctx, claimed.ID) + if err != nil || parked2 == nil { + t.Fatalf("TaskByID after unclassified park: %+v %v", parked2, err) + } + if parked2.ParkClass != "needs_human" { + t.Fatalf("unclassified park class = %q, want needs_human", parked2.ParkClass) + } byClaim, err := c.ClaimByIssue(ctx, "acme", "widget", 999999) if err != nil || byClaim != nil { t.Fatalf("ClaimByIssue missing: %+v %v", byClaim, err) diff --git a/internal/infrastructure/staterpc/server.go b/internal/infrastructure/staterpc/server.go index 8eaaf29c5..808f7252e 100644 --- a/internal/infrastructure/staterpc/server.go +++ b/internal/infrastructure/staterpc/server.go @@ -177,6 +177,13 @@ func (s *server) Requeue(ctx context.Context, r *pb.RequeueRequest) (*pb.Requeue return &pb.RequeueResponse{}, nil } +func (s *server) ParkTask(ctx context.Context, r *pb.ParkTaskRequest) (*pb.ParkTaskResponse, error) { + if err := s.deps.Tasks.ParkTask(ctx, r.TaskId, r.From, r.Detail, r.Class); err != nil { + return nil, s.logErr("ParkTask", err) + } + return &pb.ParkTaskResponse{}, nil +} + func (s *server) RecoverStale(ctx context.Context, _ *pb.RecoverStaleRequest) (*pb.RecoverStaleResponse, error) { n, err := s.deps.Tasks.RecoverStale(ctx) if err != nil { diff --git a/proto/state/v1/state.proto b/proto/state/v1/state.proto index 35898d798..a7a67fbd1 100644 --- a/proto/state/v1/state.proto +++ b/proto/state/v1/state.proto @@ -36,6 +36,7 @@ service StateStoreService { rpc Transition(TransitionRequest) returns (TransitionResponse); rpc Update(UpdateRequest) returns (UpdateResponse); rpc Requeue(RequeueRequest) returns (RequeueResponse); + rpc ParkTask(ParkTaskRequest) returns (ParkTaskResponse); rpc RecoverStale(RecoverStaleRequest) returns (RecoverStaleResponse); // Archive / Retry @@ -430,6 +431,14 @@ message RequeueRequest { } message RequeueResponse {} +message ParkTaskRequest { + int64 task_id = 1; + string from = 2; + string detail = 3; + string class = 4; +} +message ParkTaskResponse {} + message RecoverStaleRequest {} message RecoverStaleResponse { int64 count = 1; }