@flyteorg/flyteidl 1.13.6 → 1.13.8

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
@@ -6389,6 +6401,9 @@ export namespace flyteidl {
6389
6401
 
6390
6402
  /** TaskMetadata cacheIgnoreInputVars */
6391
6403
  cacheIgnoreInputVars?: (string[]|null);
6404
+
6405
+ /** TaskMetadata isEager */
6406
+ isEager?: (boolean|null);
6392
6407
  }
6393
6408
 
6394
6409
  /** Represents a TaskMetadata. */
@@ -6436,6 +6451,9 @@ export namespace flyteidl {
6436
6451
  /** TaskMetadata cacheIgnoreInputVars. */
6437
6452
  public cacheIgnoreInputVars: string[];
6438
6453
 
6454
+ /** TaskMetadata isEager. */
6455
+ public isEager: boolean;
6456
+
6439
6457
  /** TaskMetadata interruptibleValue. */
6440
6458
  public interruptibleValue?: "interruptible";
6441
6459
 
@@ -7555,6 +7573,12 @@ export namespace flyteidl {
7555
7573
 
7556
7574
  /** ContainerError origin */
7557
7575
  origin?: (flyteidl.core.ExecutionError.ErrorKind|null);
7576
+
7577
+ /** ContainerError timestamp */
7578
+ timestamp?: (google.protobuf.ITimestamp|null);
7579
+
7580
+ /** ContainerError worker */
7581
+ worker?: (string|null);
7558
7582
  }
7559
7583
 
7560
7584
  /** Represents a ContainerError. */
@@ -7578,6 +7602,12 @@ export namespace flyteidl {
7578
7602
  /** ContainerError origin. */
7579
7603
  public origin: flyteidl.core.ExecutionError.ErrorKind;
7580
7604
 
7605
+ /** ContainerError timestamp. */
7606
+ public timestamp?: (google.protobuf.ITimestamp|null);
7607
+
7608
+ /** ContainerError worker. */
7609
+ public worker: string;
7610
+
7581
7611
  /**
7582
7612
  * Creates a new ContainerError instance using the specified properties.
7583
7613
  * @param [properties] Properties to set
@@ -8489,6 +8519,9 @@ export namespace flyteidl {
8489
8519
 
8490
8520
  /** NodeExecutionEvent isInDynamicChain */
8491
8521
  isInDynamicChain?: (boolean|null);
8522
+
8523
+ /** NodeExecutionEvent isEager */
8524
+ isEager?: (boolean|null);
8492
8525
  }
8493
8526
 
8494
8527
  /** Represents a NodeExecutionEvent. */
@@ -8572,6 +8605,9 @@ export namespace flyteidl {
8572
8605
  /** NodeExecutionEvent isInDynamicChain. */
8573
8606
  public isInDynamicChain: boolean;
8574
8607
 
8608
+ /** NodeExecutionEvent isEager. */
8609
+ public isEager: boolean;
8610
+
8575
8611
  /** NodeExecutionEvent inputValue. */
8576
8612
  public inputValue?: ("inputUri"|"inputData");
8577
8613
 
@@ -16934,6 +16970,9 @@ export namespace flyteidl {
16934
16970
 
16935
16971
  /** NodeExecutionMetaData isArray */
16936
16972
  isArray?: (boolean|null);
16973
+
16974
+ /** NodeExecutionMetaData isEager */
16975
+ isEager?: (boolean|null);
16937
16976
  }
16938
16977
 
16939
16978
  /** Represents a NodeExecutionMetaData. */
@@ -16960,6 +16999,9 @@ export namespace flyteidl {
16960
16999
  /** NodeExecutionMetaData isArray. */
16961
17000
  public isArray: boolean;
16962
17001
 
17002
+ /** NodeExecutionMetaData isEager. */
17003
+ public isEager: boolean;
17004
+
16963
17005
  /**
16964
17006
  * Creates a new NodeExecutionMetaData instance using the specified properties.
16965
17007
  * @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
 
@@ -15266,6 +15302,7 @@
15266
15302
  * @property {Object.<string,string>|null} [tags] TaskMetadata tags
15267
15303
  * @property {string|null} [podTemplateName] TaskMetadata podTemplateName
15268
15304
  * @property {Array.<string>|null} [cacheIgnoreInputVars] TaskMetadata cacheIgnoreInputVars
15305
+ * @property {boolean|null} [isEager] TaskMetadata isEager
15269
15306
  */
15270
15307
 
15271
15308
  /**
@@ -15381,6 +15418,14 @@
15381
15418
  */
15382
15419
  TaskMetadata.prototype.cacheIgnoreInputVars = $util.emptyArray;
15383
15420
 
15421
+ /**
15422
+ * TaskMetadata isEager.
15423
+ * @member {boolean} isEager
15424
+ * @memberof flyteidl.core.TaskMetadata
15425
+ * @instance
15426
+ */
15427
+ TaskMetadata.prototype.isEager = false;
15428
+
15384
15429
  // OneOf field names bound to virtual getters and setters
15385
15430
  var $oneOfFields;
15386
15431
 
@@ -15445,6 +15490,8 @@
15445
15490
  if (message.cacheIgnoreInputVars != null && message.cacheIgnoreInputVars.length)
15446
15491
  for (var i = 0; i < message.cacheIgnoreInputVars.length; ++i)
15447
15492
  writer.uint32(/* id 13, wireType 2 =*/106).string(message.cacheIgnoreInputVars[i]);
15493
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
15494
+ writer.uint32(/* id 14, wireType 0 =*/112).bool(message.isEager);
15448
15495
  return writer;
15449
15496
  };
15450
15497
 
@@ -15509,6 +15556,9 @@
15509
15556
  message.cacheIgnoreInputVars = [];
15510
15557
  message.cacheIgnoreInputVars.push(reader.string());
15511
15558
  break;
15559
+ case 14:
15560
+ message.isEager = reader.bool();
15561
+ break;
15512
15562
  default:
15513
15563
  reader.skipType(tag & 7);
15514
15564
  break;
@@ -15582,6 +15632,9 @@
15582
15632
  if (!$util.isString(message.cacheIgnoreInputVars[i]))
15583
15633
  return "cacheIgnoreInputVars: string[] expected";
15584
15634
  }
15635
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
15636
+ if (typeof message.isEager !== "boolean")
15637
+ return "isEager: boolean expected";
15585
15638
  return null;
15586
15639
  };
15587
15640
 
@@ -18268,6 +18321,8 @@
18268
18321
  * @property {string|null} [message] ContainerError message
18269
18322
  * @property {flyteidl.core.ContainerError.Kind|null} [kind] ContainerError kind
18270
18323
  * @property {flyteidl.core.ExecutionError.ErrorKind|null} [origin] ContainerError origin
18324
+ * @property {google.protobuf.ITimestamp|null} [timestamp] ContainerError timestamp
18325
+ * @property {string|null} [worker] ContainerError worker
18271
18326
  */
18272
18327
 
18273
18328
  /**
@@ -18317,6 +18372,22 @@
18317
18372
  */
18318
18373
  ContainerError.prototype.origin = 0;
18319
18374
 
18375
+ /**
18376
+ * ContainerError timestamp.
18377
+ * @member {google.protobuf.ITimestamp|null|undefined} timestamp
18378
+ * @memberof flyteidl.core.ContainerError
18379
+ * @instance
18380
+ */
18381
+ ContainerError.prototype.timestamp = null;
18382
+
18383
+ /**
18384
+ * ContainerError worker.
18385
+ * @member {string} worker
18386
+ * @memberof flyteidl.core.ContainerError
18387
+ * @instance
18388
+ */
18389
+ ContainerError.prototype.worker = "";
18390
+
18320
18391
  /**
18321
18392
  * Creates a new ContainerError instance using the specified properties.
18322
18393
  * @function create
@@ -18349,6 +18420,10 @@
18349
18420
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.kind);
18350
18421
  if (message.origin != null && message.hasOwnProperty("origin"))
18351
18422
  writer.uint32(/* id 4, wireType 0 =*/32).int32(message.origin);
18423
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
18424
+ $root.google.protobuf.Timestamp.encode(message.timestamp, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
18425
+ if (message.worker != null && message.hasOwnProperty("worker"))
18426
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.worker);
18352
18427
  return writer;
18353
18428
  };
18354
18429
 
@@ -18382,6 +18457,12 @@
18382
18457
  case 4:
18383
18458
  message.origin = reader.int32();
18384
18459
  break;
18460
+ case 5:
18461
+ message.timestamp = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
18462
+ break;
18463
+ case 6:
18464
+ message.worker = reader.string();
18465
+ break;
18385
18466
  default:
18386
18467
  reader.skipType(tag & 7);
18387
18468
  break;
@@ -18424,6 +18505,14 @@
18424
18505
  case 2:
18425
18506
  break;
18426
18507
  }
18508
+ if (message.timestamp != null && message.hasOwnProperty("timestamp")) {
18509
+ var error = $root.google.protobuf.Timestamp.verify(message.timestamp);
18510
+ if (error)
18511
+ return "timestamp." + error;
18512
+ }
18513
+ if (message.worker != null && message.hasOwnProperty("worker"))
18514
+ if (!$util.isString(message.worker))
18515
+ return "worker: string expected";
18427
18516
  return null;
18428
18517
  };
18429
18518
 
@@ -20506,6 +20595,7 @@
20506
20595
  * @property {boolean|null} [isArray] NodeExecutionEvent isArray
20507
20596
  * @property {flyteidl.core.IIdentifier|null} [targetEntity] NodeExecutionEvent targetEntity
20508
20597
  * @property {boolean|null} [isInDynamicChain] NodeExecutionEvent isInDynamicChain
20598
+ * @property {boolean|null} [isEager] NodeExecutionEvent isEager
20509
20599
  */
20510
20600
 
20511
20601
  /**
@@ -20715,6 +20805,14 @@
20715
20805
  */
20716
20806
  NodeExecutionEvent.prototype.isInDynamicChain = false;
20717
20807
 
20808
+ /**
20809
+ * NodeExecutionEvent isEager.
20810
+ * @member {boolean} isEager
20811
+ * @memberof flyteidl.event.NodeExecutionEvent
20812
+ * @instance
20813
+ */
20814
+ NodeExecutionEvent.prototype.isEager = false;
20815
+
20718
20816
  // OneOf field names bound to virtual getters and setters
20719
20817
  var $oneOfFields;
20720
20818
 
@@ -20823,6 +20921,8 @@
20823
20921
  $root.flyteidl.core.Identifier.encode(message.targetEntity, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
20824
20922
  if (message.isInDynamicChain != null && message.hasOwnProperty("isInDynamicChain"))
20825
20923
  writer.uint32(/* id 24, wireType 0 =*/192).bool(message.isInDynamicChain);
20924
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
20925
+ writer.uint32(/* id 25, wireType 0 =*/200).bool(message.isEager);
20826
20926
  return writer;
20827
20927
  };
20828
20928
 
@@ -20916,6 +21016,9 @@
20916
21016
  case 24:
20917
21017
  message.isInDynamicChain = reader.bool();
20918
21018
  break;
21019
+ case 25:
21020
+ message.isEager = reader.bool();
21021
+ break;
20919
21022
  default:
20920
21023
  reader.skipType(tag & 7);
20921
21024
  break;
@@ -21071,6 +21174,9 @@
21071
21174
  if (message.isInDynamicChain != null && message.hasOwnProperty("isInDynamicChain"))
21072
21175
  if (typeof message.isInDynamicChain !== "boolean")
21073
21176
  return "isInDynamicChain: boolean expected";
21177
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
21178
+ if (typeof message.isEager !== "boolean")
21179
+ return "isEager: boolean expected";
21074
21180
  return null;
21075
21181
  };
21076
21182
 
@@ -40985,6 +41091,7 @@
40985
41091
  * @property {string|null} [specNodeId] NodeExecutionMetaData specNodeId
40986
41092
  * @property {boolean|null} [isDynamic] NodeExecutionMetaData isDynamic
40987
41093
  * @property {boolean|null} [isArray] NodeExecutionMetaData isArray
41094
+ * @property {boolean|null} [isEager] NodeExecutionMetaData isEager
40988
41095
  */
40989
41096
 
40990
41097
  /**
@@ -41042,6 +41149,14 @@
41042
41149
  */
41043
41150
  NodeExecutionMetaData.prototype.isArray = false;
41044
41151
 
41152
+ /**
41153
+ * NodeExecutionMetaData isEager.
41154
+ * @member {boolean} isEager
41155
+ * @memberof flyteidl.admin.NodeExecutionMetaData
41156
+ * @instance
41157
+ */
41158
+ NodeExecutionMetaData.prototype.isEager = false;
41159
+
41045
41160
  /**
41046
41161
  * Creates a new NodeExecutionMetaData instance using the specified properties.
41047
41162
  * @function create
@@ -41076,6 +41191,8 @@
41076
41191
  writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isDynamic);
41077
41192
  if (message.isArray != null && message.hasOwnProperty("isArray"))
41078
41193
  writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isArray);
41194
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
41195
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.isEager);
41079
41196
  return writer;
41080
41197
  };
41081
41198
 
@@ -41112,6 +41229,9 @@
41112
41229
  case 5:
41113
41230
  message.isArray = reader.bool();
41114
41231
  break;
41232
+ case 6:
41233
+ message.isEager = reader.bool();
41234
+ break;
41115
41235
  default:
41116
41236
  reader.skipType(tag & 7);
41117
41237
  break;
@@ -41146,6 +41266,9 @@
41146
41266
  if (message.isArray != null && message.hasOwnProperty("isArray"))
41147
41267
  if (typeof message.isArray !== "boolean")
41148
41268
  return "isArray: boolean expected";
41269
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
41270
+ if (typeof message.isEager !== "boolean")
41271
+ return "isEager: boolean expected";
41149
41272
  return null;
41150
41273
  };
41151
41274
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.13.6",
3
+ "version": "1.13.8",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -118,6 +118,9 @@ message NodeExecutionMetaData {
118
118
  // Boolean flag indicating if the node is an array node. This is intended to uniquely identify
119
119
  // array nodes from other nodes which can have is_parent_node as true.
120
120
  bool is_array = 5;
121
+
122
+ // Whether this node is an eager node.
123
+ bool is_eager = 6;
121
124
  }
122
125
 
123
126
  // Request structure to retrieve a list of node execution entities.
@@ -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
@@ -134,6 +134,9 @@ message TaskMetadata {
134
134
 
135
135
  // cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
136
136
  repeated string cache_ignore_input_vars = 13;
137
+ // is_eager indicates whether the task is eager or not.
138
+ // This would be used by CreateTask endpoint.
139
+ bool is_eager = 14;
137
140
  }
138
141
 
139
142
  // A Task structure that uniquely identifies a task in the system
@@ -127,6 +127,9 @@ message NodeExecutionEvent {
127
127
  // if the relevant execution entity is was registered, or dynamic. This field indicates that the target_entity ID,
128
128
  // as well as task IDs in any corresponding Task Executions, should not be used to looked up the task in Admin's db.
129
129
  bool is_in_dynamic_chain = 24;
130
+
131
+ // Whether this node launched an eager task.
132
+ bool is_eager = 25;
130
133
  }
131
134
 
132
135
  // For Workflow Nodes we need to send information about the workflow that's launched