@flyteorg/flyteidl 1.13.5 → 1.13.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5748,6 +5748,12 @@ export namespace flyteidl {
5748
5748
 
5749
5749
  /** ExecutionError kind */
5750
5750
  kind?: (flyteidl.core.ExecutionError.ErrorKind|null);
5751
+
5752
+ /** ExecutionError timestamp */
5753
+ timestamp?: (google.protobuf.ITimestamp|null);
5754
+
5755
+ /** ExecutionError worker */
5756
+ worker?: (string|null);
5751
5757
  }
5752
5758
 
5753
5759
  /** Represents an ExecutionError. */
@@ -5771,6 +5777,12 @@ export namespace flyteidl {
5771
5777
  /** ExecutionError kind. */
5772
5778
  public kind: flyteidl.core.ExecutionError.ErrorKind;
5773
5779
 
5780
+ /** ExecutionError timestamp. */
5781
+ public timestamp?: (google.protobuf.ITimestamp|null);
5782
+
5783
+ /** ExecutionError worker. */
5784
+ public worker: string;
5785
+
5774
5786
  /**
5775
5787
  * Creates a new ExecutionError instance using the specified properties.
5776
5788
  * @param [properties] Properties to set
@@ -7555,6 +7567,12 @@ export namespace flyteidl {
7555
7567
 
7556
7568
  /** ContainerError origin */
7557
7569
  origin?: (flyteidl.core.ExecutionError.ErrorKind|null);
7570
+
7571
+ /** ContainerError timestamp */
7572
+ timestamp?: (google.protobuf.ITimestamp|null);
7573
+
7574
+ /** ContainerError worker */
7575
+ worker?: (string|null);
7558
7576
  }
7559
7577
 
7560
7578
  /** Represents a ContainerError. */
@@ -7578,6 +7596,12 @@ export namespace flyteidl {
7578
7596
  /** ContainerError origin. */
7579
7597
  public origin: flyteidl.core.ExecutionError.ErrorKind;
7580
7598
 
7599
+ /** ContainerError timestamp. */
7600
+ public timestamp?: (google.protobuf.ITimestamp|null);
7601
+
7602
+ /** ContainerError worker. */
7603
+ public worker: string;
7604
+
7581
7605
  /**
7582
7606
  * Creates a new ContainerError instance using the specified properties.
7583
7607
  * @param [properties] Properties to set
@@ -13823,6 +13823,8 @@
13823
13823
  * @property {string|null} [message] ExecutionError message
13824
13824
  * @property {string|null} [errorUri] ExecutionError errorUri
13825
13825
  * @property {flyteidl.core.ExecutionError.ErrorKind|null} [kind] ExecutionError kind
13826
+ * @property {google.protobuf.ITimestamp|null} [timestamp] ExecutionError timestamp
13827
+ * @property {string|null} [worker] ExecutionError worker
13826
13828
  */
13827
13829
 
13828
13830
  /**
@@ -13872,6 +13874,22 @@
13872
13874
  */
13873
13875
  ExecutionError.prototype.kind = 0;
13874
13876
 
13877
+ /**
13878
+ * ExecutionError timestamp.
13879
+ * @member {google.protobuf.ITimestamp|null|undefined} timestamp
13880
+ * @memberof flyteidl.core.ExecutionError
13881
+ * @instance
13882
+ */
13883
+ ExecutionError.prototype.timestamp = null;
13884
+
13885
+ /**
13886
+ * ExecutionError worker.
13887
+ * @member {string} worker
13888
+ * @memberof flyteidl.core.ExecutionError
13889
+ * @instance
13890
+ */
13891
+ ExecutionError.prototype.worker = "";
13892
+
13875
13893
  /**
13876
13894
  * Creates a new ExecutionError instance using the specified properties.
13877
13895
  * @function create
@@ -13904,6 +13922,10 @@
13904
13922
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.errorUri);
13905
13923
  if (message.kind != null && message.hasOwnProperty("kind"))
13906
13924
  writer.uint32(/* id 4, wireType 0 =*/32).int32(message.kind);
13925
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
13926
+ $root.google.protobuf.Timestamp.encode(message.timestamp, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
13927
+ if (message.worker != null && message.hasOwnProperty("worker"))
13928
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.worker);
13907
13929
  return writer;
13908
13930
  };
13909
13931
 
@@ -13937,6 +13959,12 @@
13937
13959
  case 4:
13938
13960
  message.kind = reader.int32();
13939
13961
  break;
13962
+ case 5:
13963
+ message.timestamp = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
13964
+ break;
13965
+ case 6:
13966
+ message.worker = reader.string();
13967
+ break;
13940
13968
  default:
13941
13969
  reader.skipType(tag & 7);
13942
13970
  break;
@@ -13974,6 +14002,14 @@
13974
14002
  case 2:
13975
14003
  break;
13976
14004
  }
14005
+ if (message.timestamp != null && message.hasOwnProperty("timestamp")) {
14006
+ var error = $root.google.protobuf.Timestamp.verify(message.timestamp);
14007
+ if (error)
14008
+ return "timestamp." + error;
14009
+ }
14010
+ if (message.worker != null && message.hasOwnProperty("worker"))
14011
+ if (!$util.isString(message.worker))
14012
+ return "worker: string expected";
13977
14013
  return null;
13978
14014
  };
13979
14015
 
@@ -18268,6 +18304,8 @@
18268
18304
  * @property {string|null} [message] ContainerError message
18269
18305
  * @property {flyteidl.core.ContainerError.Kind|null} [kind] ContainerError kind
18270
18306
  * @property {flyteidl.core.ExecutionError.ErrorKind|null} [origin] ContainerError origin
18307
+ * @property {google.protobuf.ITimestamp|null} [timestamp] ContainerError timestamp
18308
+ * @property {string|null} [worker] ContainerError worker
18271
18309
  */
18272
18310
 
18273
18311
  /**
@@ -18317,6 +18355,22 @@
18317
18355
  */
18318
18356
  ContainerError.prototype.origin = 0;
18319
18357
 
18358
+ /**
18359
+ * ContainerError timestamp.
18360
+ * @member {google.protobuf.ITimestamp|null|undefined} timestamp
18361
+ * @memberof flyteidl.core.ContainerError
18362
+ * @instance
18363
+ */
18364
+ ContainerError.prototype.timestamp = null;
18365
+
18366
+ /**
18367
+ * ContainerError worker.
18368
+ * @member {string} worker
18369
+ * @memberof flyteidl.core.ContainerError
18370
+ * @instance
18371
+ */
18372
+ ContainerError.prototype.worker = "";
18373
+
18320
18374
  /**
18321
18375
  * Creates a new ContainerError instance using the specified properties.
18322
18376
  * @function create
@@ -18349,6 +18403,10 @@
18349
18403
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.kind);
18350
18404
  if (message.origin != null && message.hasOwnProperty("origin"))
18351
18405
  writer.uint32(/* id 4, wireType 0 =*/32).int32(message.origin);
18406
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
18407
+ $root.google.protobuf.Timestamp.encode(message.timestamp, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
18408
+ if (message.worker != null && message.hasOwnProperty("worker"))
18409
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.worker);
18352
18410
  return writer;
18353
18411
  };
18354
18412
 
@@ -18382,6 +18440,12 @@
18382
18440
  case 4:
18383
18441
  message.origin = reader.int32();
18384
18442
  break;
18443
+ case 5:
18444
+ message.timestamp = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
18445
+ break;
18446
+ case 6:
18447
+ message.worker = reader.string();
18448
+ break;
18385
18449
  default:
18386
18450
  reader.skipType(tag & 7);
18387
18451
  break;
@@ -18424,6 +18488,14 @@
18424
18488
  case 2:
18425
18489
  break;
18426
18490
  }
18491
+ if (message.timestamp != null && message.hasOwnProperty("timestamp")) {
18492
+ var error = $root.google.protobuf.Timestamp.verify(message.timestamp);
18493
+ if (error)
18494
+ return "timestamp." + error;
18495
+ }
18496
+ if (message.worker != null && message.hasOwnProperty("worker"))
18497
+ if (!$util.isString(message.worker))
18498
+ return "worker: string expected";
18427
18499
  return null;
18428
18500
  };
18429
18501
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.13.5",
3
+ "version": "1.13.7",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -5,6 +5,7 @@ package flyteidl.core;
5
5
  option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core";
6
6
 
7
7
  import "flyteidl/core/execution.proto";
8
+ import "google/protobuf/timestamp.proto";
8
9
 
9
10
  // Error message to propagate detailed errors from container executions to the execution
10
11
  // engine.
@@ -25,6 +26,12 @@ message ContainerError {
25
26
 
26
27
  // Defines the origin of the error (system, user, unknown).
27
28
  ExecutionError.ErrorKind origin = 4;
29
+
30
+ // Timestamp of the error
31
+ google.protobuf.Timestamp timestamp = 5;
32
+
33
+ // Worker that generated the error
34
+ string worker = 6;
28
35
  }
29
36
 
30
37
  // Defines the errors.pb file format the container can produce to communicate
@@ -5,6 +5,7 @@ package flyteidl.core;
5
5
  option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core";
6
6
 
7
7
  import "google/protobuf/duration.proto";
8
+ import "google/protobuf/timestamp.proto";
8
9
 
9
10
  // Indicates various phases of Workflow Execution
10
11
  message WorkflowExecution {
@@ -73,6 +74,10 @@ message ExecutionError {
73
74
  SYSTEM = 2;
74
75
  }
75
76
  ErrorKind kind = 4;
77
+ // Timestamp of the error
78
+ google.protobuf.Timestamp timestamp = 5;
79
+ // Worker that generated the error
80
+ string worker = 6;
76
81
  }
77
82
 
78
83
  // Log information for the task that is specific to a log sink
@@ -4,6 +4,8 @@ package flyteidl.plugins;
4
4
 
5
5
  option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/plugins";
6
6
 
7
+ import "flyteidl/core/tasks.proto";
8
+
7
9
  // RayJobSpec defines the desired state of RayJob
8
10
  message RayJob {
9
11
  // RayClusterSpec is the cluster template to run the job
@@ -35,6 +37,8 @@ message HeadGroupSpec {
35
37
  // Optional. RayStartParams are the params of the start command: address, object-store-memory.
36
38
  // Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
37
39
  map<string, string> ray_start_params = 1;
40
+ // Pod Spec for the ray head pod
41
+ core.K8sPod k8s_pod = 2;
38
42
  }
39
43
 
40
44
  // WorkerGroupSpec are the specs for the worker pods
@@ -50,4 +54,6 @@ message WorkerGroupSpec {
50
54
  // Optional. RayStartParams are the params of the start command: address, object-store-memory.
51
55
  // Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
52
56
  map<string, string> ray_start_params = 5;
57
+ // Pod Spec for ray worker pods
58
+ core.K8sPod k8s_pod = 6;
53
59
  }