@flyteorg/flyteidl 1.3.7 → 1.3.9

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.
@@ -6833,6 +6833,9 @@ export namespace flyteidl {
6833
6833
 
6834
6834
  /** DynamicWorkflowNodeMetadata compiledWorkflow */
6835
6835
  compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null);
6836
+
6837
+ /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */
6838
+ dynamicJobSpecUri?: (string|null);
6836
6839
  }
6837
6840
 
6838
6841
  /** Represents a DynamicWorkflowNodeMetadata. */
@@ -6850,6 +6853,9 @@ export namespace flyteidl {
6850
6853
  /** DynamicWorkflowNodeMetadata compiledWorkflow. */
6851
6854
  public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null);
6852
6855
 
6856
+ /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */
6857
+ public dynamicJobSpecUri: string;
6858
+
6853
6859
  /**
6854
6860
  * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties.
6855
6861
  * @param [properties] Properties to set
@@ -13246,6 +13252,9 @@ export namespace flyteidl {
13246
13252
 
13247
13253
  /** NodeExecutionClosure deckUri */
13248
13254
  deckUri?: (string|null);
13255
+
13256
+ /** NodeExecutionClosure dynamicJobSpecUri */
13257
+ dynamicJobSpecUri?: (string|null);
13249
13258
  }
13250
13259
 
13251
13260
  /** Represents a NodeExecutionClosure. */
@@ -13290,6 +13299,9 @@ export namespace flyteidl {
13290
13299
  /** NodeExecutionClosure deckUri. */
13291
13300
  public deckUri: string;
13292
13301
 
13302
+ /** NodeExecutionClosure dynamicJobSpecUri. */
13303
+ public dynamicJobSpecUri: string;
13304
+
13293
13305
  /** NodeExecutionClosure outputResult. */
13294
13306
  public outputResult?: ("outputUri"|"error"|"outputData");
13295
13307
 
@@ -13453,6 +13465,9 @@ export namespace flyteidl {
13453
13465
 
13454
13466
  /** DynamicWorkflowNodeMetadata compiledWorkflow */
13455
13467
  compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null);
13468
+
13469
+ /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */
13470
+ dynamicJobSpecUri?: (string|null);
13456
13471
  }
13457
13472
 
13458
13473
  /** Represents a DynamicWorkflowNodeMetadata. */
@@ -13470,6 +13485,9 @@ export namespace flyteidl {
13470
13485
  /** DynamicWorkflowNodeMetadata compiledWorkflow. */
13471
13486
  public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null);
13472
13487
 
13488
+ /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */
13489
+ public dynamicJobSpecUri: string;
13490
+
13473
13491
  /**
13474
13492
  * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties.
13475
13493
  * @param [properties] Properties to set
@@ -16520,6 +16520,7 @@
16520
16520
  * @interface IDynamicWorkflowNodeMetadata
16521
16521
  * @property {flyteidl.core.IIdentifier|null} [id] DynamicWorkflowNodeMetadata id
16522
16522
  * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicWorkflowNodeMetadata compiledWorkflow
16523
+ * @property {string|null} [dynamicJobSpecUri] DynamicWorkflowNodeMetadata dynamicJobSpecUri
16523
16524
  */
16524
16525
 
16525
16526
  /**
@@ -16553,6 +16554,14 @@
16553
16554
  */
16554
16555
  DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null;
16555
16556
 
16557
+ /**
16558
+ * DynamicWorkflowNodeMetadata dynamicJobSpecUri.
16559
+ * @member {string} dynamicJobSpecUri
16560
+ * @memberof flyteidl.event.DynamicWorkflowNodeMetadata
16561
+ * @instance
16562
+ */
16563
+ DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = "";
16564
+
16556
16565
  /**
16557
16566
  * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties.
16558
16567
  * @function create
@@ -16581,6 +16590,8 @@
16581
16590
  $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
16582
16591
  if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow"))
16583
16592
  $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
16593
+ if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
16594
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.dynamicJobSpecUri);
16584
16595
  return writer;
16585
16596
  };
16586
16597
 
@@ -16608,6 +16619,9 @@
16608
16619
  case 2:
16609
16620
  message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32());
16610
16621
  break;
16622
+ case 3:
16623
+ message.dynamicJobSpecUri = reader.string();
16624
+ break;
16611
16625
  default:
16612
16626
  reader.skipType(tag & 7);
16613
16627
  break;
@@ -16637,6 +16651,9 @@
16637
16651
  if (error)
16638
16652
  return "compiledWorkflow." + error;
16639
16653
  }
16654
+ if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
16655
+ if (!$util.isString(message.dynamicJobSpecUri))
16656
+ return "dynamicJobSpecUri: string expected";
16640
16657
  return null;
16641
16658
  };
16642
16659
 
@@ -31766,6 +31783,7 @@
31766
31783
  * @property {flyteidl.admin.IWorkflowNodeMetadata|null} [workflowNodeMetadata] NodeExecutionClosure workflowNodeMetadata
31767
31784
  * @property {flyteidl.admin.ITaskNodeMetadata|null} [taskNodeMetadata] NodeExecutionClosure taskNodeMetadata
31768
31785
  * @property {string|null} [deckUri] NodeExecutionClosure deckUri
31786
+ * @property {string|null} [dynamicJobSpecUri] NodeExecutionClosure dynamicJobSpecUri
31769
31787
  */
31770
31788
 
31771
31789
  /**
@@ -31871,6 +31889,14 @@
31871
31889
  */
31872
31890
  NodeExecutionClosure.prototype.deckUri = "";
31873
31891
 
31892
+ /**
31893
+ * NodeExecutionClosure dynamicJobSpecUri.
31894
+ * @member {string} dynamicJobSpecUri
31895
+ * @memberof flyteidl.admin.NodeExecutionClosure
31896
+ * @instance
31897
+ */
31898
+ NodeExecutionClosure.prototype.dynamicJobSpecUri = "";
31899
+
31874
31900
  // OneOf field names bound to virtual getters and setters
31875
31901
  var $oneOfFields;
31876
31902
 
@@ -31942,6 +31968,8 @@
31942
31968
  $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
31943
31969
  if (message.deckUri != null && message.hasOwnProperty("deckUri"))
31944
31970
  writer.uint32(/* id 11, wireType 2 =*/90).string(message.deckUri);
31971
+ if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
31972
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.dynamicJobSpecUri);
31945
31973
  return writer;
31946
31974
  };
31947
31975
 
@@ -31996,6 +32024,9 @@
31996
32024
  case 11:
31997
32025
  message.deckUri = reader.string();
31998
32026
  break;
32027
+ case 12:
32028
+ message.dynamicJobSpecUri = reader.string();
32029
+ break;
31999
32030
  default:
32000
32031
  reader.skipType(tag & 7);
32001
32032
  break;
@@ -32099,6 +32130,9 @@
32099
32130
  if (message.deckUri != null && message.hasOwnProperty("deckUri"))
32100
32131
  if (!$util.isString(message.deckUri))
32101
32132
  return "deckUri: string expected";
32133
+ if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
32134
+ if (!$util.isString(message.dynamicJobSpecUri))
32135
+ return "dynamicJobSpecUri: string expected";
32102
32136
  return null;
32103
32137
  };
32104
32138
 
@@ -32381,6 +32415,7 @@
32381
32415
  * @interface IDynamicWorkflowNodeMetadata
32382
32416
  * @property {flyteidl.core.IIdentifier|null} [id] DynamicWorkflowNodeMetadata id
32383
32417
  * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicWorkflowNodeMetadata compiledWorkflow
32418
+ * @property {string|null} [dynamicJobSpecUri] DynamicWorkflowNodeMetadata dynamicJobSpecUri
32384
32419
  */
32385
32420
 
32386
32421
  /**
@@ -32414,6 +32449,14 @@
32414
32449
  */
32415
32450
  DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null;
32416
32451
 
32452
+ /**
32453
+ * DynamicWorkflowNodeMetadata dynamicJobSpecUri.
32454
+ * @member {string} dynamicJobSpecUri
32455
+ * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata
32456
+ * @instance
32457
+ */
32458
+ DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = "";
32459
+
32417
32460
  /**
32418
32461
  * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties.
32419
32462
  * @function create
@@ -32442,6 +32485,8 @@
32442
32485
  $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
32443
32486
  if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow"))
32444
32487
  $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
32488
+ if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
32489
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.dynamicJobSpecUri);
32445
32490
  return writer;
32446
32491
  };
32447
32492
 
@@ -32469,6 +32514,9 @@
32469
32514
  case 2:
32470
32515
  message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32());
32471
32516
  break;
32517
+ case 3:
32518
+ message.dynamicJobSpecUri = reader.string();
32519
+ break;
32472
32520
  default:
32473
32521
  reader.skipType(tag & 7);
32474
32522
  break;
@@ -32498,6 +32546,9 @@
32498
32546
  if (error)
32499
32547
  return "compiledWorkflow." + error;
32500
32548
  }
32549
+ if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
32550
+ if (!$util.isString(message.dynamicJobSpecUri))
32551
+ return "dynamicJobSpecUri: string expected";
32501
32552
  return null;
32502
32553
  };
32503
32554
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -167,6 +167,10 @@ message NodeExecutionClosure {
167
167
  // String location uniquely identifying where the deck HTML file is.
168
168
  // NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
169
169
  string deck_uri = 11;
170
+
171
+ // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
172
+ // to correctly recover partially completed executions where the subworkflow has already been compiled.
173
+ string dynamic_job_spec_uri = 12;
170
174
  }
171
175
 
172
176
  // Metadata for a WorkflowNode
@@ -192,6 +196,10 @@ message DynamicWorkflowNodeMetadata {
192
196
 
193
197
  // Represents the compiled representation of the embedded dynamic workflow.
194
198
  core.CompiledWorkflowClosure compiled_workflow = 2;
199
+
200
+ // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
201
+ // required to correctly recover partially completed executions where the subworkflow has already been compiled.
202
+ string dynamic_job_spec_uri = 3;
195
203
  }
196
204
 
197
205
  // Request structure to fetch inputs and output for a node execution.
@@ -132,6 +132,10 @@ message DynamicWorkflowNodeMetadata {
132
132
 
133
133
  // Represents the compiled representation of the embedded dynamic workflow.
134
134
  core.CompiledWorkflowClosure compiled_workflow = 2;
135
+
136
+ // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
137
+ // required to correctly recover partially completed executions where the workflow has already been compiled.
138
+ string dynamic_job_spec_uri = 3;
135
139
  }
136
140
 
137
141
  message ParentTaskExecutionMetadata {