Add isolate path to WaitTaskResult
Add subtopic identifier to Notification
BUG=1008615
R=pprabhu@google.com
Change-Id: I1a2589aa2bd2b33fd4c61b1940dc2876865fc400
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/1913628
Commit-Queue: Jacob Kopczynski <jkop@chromium.org>
Tested-by: Jacob Kopczynski <jkop@chromium.org>
Auto-Submit: Jacob Kopczynski <jkop@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
diff --git a/descpb.bin b/descpb.bin
index 0211896..38b2d64 100644
--- a/descpb.bin
+++ b/descpb.bin
Binary files differ
diff --git a/go/test_platform/skylab_tool/result.pb.go b/go/test_platform/skylab_tool/result.pb.go
index 6028ad8..ab059c8 100644
--- a/go/test_platform/skylab_tool/result.pb.go
+++ b/go/test_platform/skylab_tool/result.pb.go
@@ -22,12 +22,13 @@
// WaitTaskResult describes the format returned by the `skylab wait-task` subcommand.
type WaitTaskResult struct {
- Result *WaitTaskResult_Task `protobuf:"bytes,1,opt,name=result,json=task-result,proto3" json:"result,omitempty"`
- Stdout string `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"`
- ChildResults []*WaitTaskResult_Task `protobuf:"bytes,3,rep,name=child_results,json=child-results,proto3" json:"child_results,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Result *WaitTaskResult_Task `protobuf:"bytes,1,opt,name=result,json=task-result,proto3" json:"result,omitempty"`
+ Stdout string `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"`
+ ChildResults []*WaitTaskResult_Task `protobuf:"bytes,3,rep,name=child_results,json=child-results,proto3" json:"child_results,omitempty"`
+ LogDataUrl *WaitTaskResult_LogDataURL `protobuf:"bytes,4,opt,name=log_data_url,json=logDataUrl,proto3" json:"log_data_url,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
}
func (m *WaitTaskResult) Reset() { *m = WaitTaskResult{} }
@@ -76,6 +77,13 @@
return nil
}
+func (m *WaitTaskResult) GetLogDataUrl() *WaitTaskResult_LogDataURL {
+ if m != nil {
+ return m.LogDataUrl
+ }
+ return nil
+}
+
type WaitTaskResult_Task struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
@@ -181,6 +189,45 @@
return ""
}
+type WaitTaskResult_LogDataURL struct {
+ IsolateUrl string `protobuf:"bytes,1,opt,name=isolate_url,json=isolateUrl,proto3" json:"isolate_url,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *WaitTaskResult_LogDataURL) Reset() { *m = WaitTaskResult_LogDataURL{} }
+func (m *WaitTaskResult_LogDataURL) String() string { return proto.CompactTextString(m) }
+func (*WaitTaskResult_LogDataURL) ProtoMessage() {}
+func (*WaitTaskResult_LogDataURL) Descriptor() ([]byte, []int) {
+ return fileDescriptor_febb2b9b7927acc2, []int{0, 1}
+}
+
+func (m *WaitTaskResult_LogDataURL) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_WaitTaskResult_LogDataURL.Unmarshal(m, b)
+}
+func (m *WaitTaskResult_LogDataURL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_WaitTaskResult_LogDataURL.Marshal(b, m, deterministic)
+}
+func (m *WaitTaskResult_LogDataURL) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_WaitTaskResult_LogDataURL.Merge(m, src)
+}
+func (m *WaitTaskResult_LogDataURL) XXX_Size() int {
+ return xxx_messageInfo_WaitTaskResult_LogDataURL.Size(m)
+}
+func (m *WaitTaskResult_LogDataURL) XXX_DiscardUnknown() {
+ xxx_messageInfo_WaitTaskResult_LogDataURL.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_WaitTaskResult_LogDataURL proto.InternalMessageInfo
+
+func (m *WaitTaskResult_LogDataURL) GetIsolateUrl() string {
+ if m != nil {
+ return m.IsolateUrl
+ }
+ return ""
+}
+
// WaitTasksResult describes the format returned by the `skylab wait-tasks` subcommand.
type WaitTasksResult struct {
Results []*WaitTaskResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
@@ -234,6 +281,7 @@
func init() {
proto.RegisterType((*WaitTaskResult)(nil), "test_platform.skylab_tool.WaitTaskResult")
proto.RegisterType((*WaitTaskResult_Task)(nil), "test_platform.skylab_tool.WaitTaskResult.Task")
+ proto.RegisterType((*WaitTaskResult_LogDataURL)(nil), "test_platform.skylab_tool.WaitTaskResult.LogDataURL")
proto.RegisterType((*WaitTasksResult)(nil), "test_platform.skylab_tool.WaitTasksResult")
}
@@ -242,29 +290,32 @@
}
var fileDescriptor_febb2b9b7927acc2 = []byte{
- // 375 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4f, 0xcb, 0xd3, 0x40,
- 0x10, 0xc6, 0x89, 0xe9, 0x9b, 0xb6, 0xd3, 0xd6, 0xc2, 0x22, 0xb2, 0x7a, 0x90, 0x50, 0x44, 0xe2,
- 0xa1, 0x1b, 0xd0, 0x6f, 0x60, 0xf1, 0xe4, 0x2d, 0x14, 0x04, 0x2f, 0x61, 0x9b, 0x6c, 0xd3, 0xa5,
- 0x9b, 0x6c, 0xdd, 0x3f, 0x82, 0xdf, 0xd0, 0xcf, 0xe4, 0x49, 0x32, 0xd9, 0x94, 0xf6, 0x50, 0x90,
- 0xf7, 0xb6, 0x33, 0xfb, 0x7b, 0x9e, 0xcd, 0x3c, 0x19, 0xf8, 0xe0, 0x84, 0x75, 0xe5, 0x45, 0x71,
- 0x77, 0xd4, 0xa6, 0xcd, 0xed, 0xf9, 0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 0x51, 0xd2, 0x4e, 0x5c, 0x03, 0x00, 0x00,
}
diff --git a/src/test_platform/skylab_tool/result.proto b/src/test_platform/skylab_tool/result.proto
index 073199a..32c6efb 100644
--- a/src/test_platform/skylab_tool/result.proto
+++ b/src/test_platform/skylab_tool/result.proto
@@ -36,6 +36,12 @@
Task result = 1 [json_name="task-result"];
string stdout = 2;
repeated Task child_results = 3 [json_name="child-results"];
+
+ message LogDataURL {
+ string isolate_url = 1;
+ }
+
+ LogDataURL log_data_url = 4;
}
// WaitTasksResult describes the format returned by the `skylab wait-tasks` subcommand.
@@ -45,4 +51,4 @@
// True if an error or timeout was encountered while waiting for tasks
// to complete.
bool incomplete = 2;
-}
\ No newline at end of file
+}