fix(archied): post each reportable status a chat task reaches, recorded by status not by flag
This commit is contained in:
1 parent
1a386dae7e
commit
4e2edc911f
13 files changed
+85
-51
No files matched your search
@@ -3830,8 +3830,10 @@ func (x *UnpostedOutcomesResponse) GetTasks() []*Task {
|
||||
}
|
||||
|
||||
type MarkOutcomePostedRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
||||
// status is the task status whose state was posted.
|
||||
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -3873,6 +3875,13 @@ func (x *MarkOutcomePostedRequest) GetTaskId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MarkOutcomePostedRequest) GetStatus() string {
|
||||
if x != nil {
|
||||
return x.Status
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type MarkOutcomePostedResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
@@ -19858,9 +19867,10 @@ const file_state_v1_state_proto_rawDesc = "" +
|
||||
"\x05tasks\x18\x01 \x03(\v2\x0e.state.v1.TaskR\x05tasks\"\x19\n" +
|
||||
"\x17UnpostedOutcomesRequest\"@\n" +
|
||||
"\x18UnpostedOutcomesResponse\x12$\n" +
|
||||
"\x05tasks\x18\x01 \x03(\v2\x0e.state.v1.TaskR\x05tasks\"3\n" +
|
||||
"\x05tasks\x18\x01 \x03(\v2\x0e.state.v1.TaskR\x05tasks\"K\n" +
|
||||
"\x18MarkOutcomePostedRequest\x12\x17\n" +
|
||||
"\atask_id\x18\x01 \x01(\x03R\x06taskId\"\x1b\n" +
|
||||
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x16\n" +
|
||||
"\x06status\x18\x02 \x01(\tR\x06status\"\x1b\n" +
|
||||
"\x19MarkOutcomePostedResponse\"\xfc\x01\n" +
|
||||
"\x16EnqueueChatTaskRequest\x12\x14\n" +
|
||||
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
|
||||
|
||||
Reference in new issue
Block a user