Skip to content

Commit

Permalink
Add protos to support cache overrides (#4820)
Browse files Browse the repository at this point in the history
* updated protos

Signed-off-by: Daniel Rammer <[email protected]>

* updated golden files

Signed-off-by: Daniel Rammer <[email protected]>

* removed wf yaml compiler testdata

Signed-off-by: Daniel Rammer <[email protected]>

* removed unecessary yaml compiler testdata

Signed-off-by: Daniel Rammer <[email protected]>

---------

Signed-off-by: Daniel Rammer <[email protected]>
  • Loading branch information
hamersaw authored Feb 9, 2024
1 parent 03a0aef commit 227c6a1
Show file tree
Hide file tree
Showing 15 changed files with 9,030 additions and 7,911 deletions.
41 changes: 41 additions & 0 deletions flyteidl/clients/go/assets/admin.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -11328,6 +11328,16 @@
},
"description": "Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables.\nEach expression results in a boolean result."
},
"coreCompiledLaunchPlan": {
"type": "object",
"properties": {
"template": {
"$ref": "#/definitions/coreLaunchPlanTemplate",
"title": "Completely contained LaunchPlan Template"
}
},
"title": "Output of the compilation step. This object represents one LaunchPlan. We store more metadata at this layer"
},
"coreCompiledTask": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -11374,6 +11384,14 @@
"$ref": "#/definitions/coreCompiledTask"
},
"title": "Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id\n+required (at least 1)"
},
"launch_plans": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/coreCompiledLaunchPlan"
},
"description": "A collection of launch plans that are compiled. Guaranteed that there will only exist one and only one launch plan\nwith a given id, i.e., every launch plan has a unique id."
}
},
"description": "A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow\nand its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that\nwill being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of\ncompiled subworkflows."
Expand Down Expand Up @@ -11757,6 +11775,20 @@
}
}
},
"coreLaunchPlanTemplate": {
"type": "object",
"properties": {
"id": {
"$ref": "#/definitions/coreIdentifier",
"description": "A globally unique identifier for the launch plan."
},
"interface": {
"$ref": "#/definitions/coreTypedInterface",
"title": "The input and output interface for the launch plan"
}
},
"description": "A structure that uniquely identifies a launch plan in the system."
},
"coreLiteral": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -11964,6 +11996,15 @@
},
"interruptible": {
"type": "boolean"
},
"cacheable": {
"type": "boolean"
},
"cache_version": {
"type": "string"
},
"cache_serializable": {
"type": "boolean"
}
},
"description": "Defines extra information about the Node."
Expand Down
52 changes: 51 additions & 1 deletion flyteidl/gen/pb-es/flyteidl/core/compiler_pb.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

91 changes: 91 additions & 0 deletions flyteidl/gen/pb-es/flyteidl/core/workflow_pb.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 227c6a1

Please sign in to comment.