@flyteorg/flyteidl2 2.0.16 → 2.0.46
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.
- package/flyteidl2/actions/actions_service_pb.ts +36 -74
- package/flyteidl2/app/app_definition_pb.ts +185 -24
- package/flyteidl2/app/app_logs_payload_pb.ts +18 -2
- package/flyteidl2/app/app_payload_pb.ts +90 -12
- package/flyteidl2/artifact/artifact_pb.ts +271 -0
- package/flyteidl2/artifact/artifact_service_pb.ts +378 -0
- package/flyteidl2/cluster/payload_pb.ts +44 -2
- package/flyteidl2/common/cache_pb.ts +37 -0
- package/flyteidl2/common/list_pb.ts +22 -2
- package/flyteidl2/common/phase_pb.ts +11 -1
- package/flyteidl2/common/run_pb.ts +89 -3
- package/flyteidl2/core/artifact_id_pb.ts +112 -11
- package/flyteidl2/core/execution_pb.ts +190 -15
- package/flyteidl2/core/literals_pb.ts +14 -1
- package/flyteidl2/core/tasks_pb.ts +170 -14
- package/flyteidl2/dataproxy/dataproxy_service_pb.ts +76 -5
- package/flyteidl2/imagebuilder/definition_pb.ts +22 -1
- package/flyteidl2/logs/dataplane/payload_pb.ts +66 -2
- package/flyteidl2/notification/definition_pb.ts +58 -7
- package/flyteidl2/plugins/clustered_pb.ts +232 -0
- package/flyteidl2/plugins/ray_pb.ts +104 -7
- package/flyteidl2/settings/settings_definition_pb.ts +52 -41
- package/flyteidl2/task/common_pb.ts +131 -6
- package/flyteidl2/task/run_pb.ts +157 -9
- package/flyteidl2/task/task_definition_pb.ts +25 -4
- package/flyteidl2/task/task_service_pb.ts +18 -2
- package/flyteidl2/trigger/trigger_definition_pb.ts +26 -5
- package/flyteidl2/workflow/internal_run_service_pb.ts +37 -1
- package/flyteidl2/workflow/run_definition_pb.ts +219 -16
- package/flyteidl2/workflow/run_info_pb.ts +30 -1
- package/flyteidl2/workflow/run_service_pb.ts +703 -12
- package/flyteidl2/workflow/tracked_run_service_pb.ts +368 -0
- package/flyteidl2/workflow/translator_service_pb.ts +43 -2
- package/package.json +2 -2
|
@@ -2,16 +2,18 @@
|
|
|
2
2
|
// @generated from file flyteidl2/common/run.proto (package flyteidl2.common, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
7
|
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { RunIdentifier } from "./identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "./identifier_pb.ts";
|
|
8
10
|
import type { Message } from "@bufbuild/protobuf";
|
|
9
11
|
|
|
10
12
|
/**
|
|
11
13
|
* Describes the file flyteidl2/common/run.proto.
|
|
12
14
|
*/
|
|
13
15
|
export const file_flyteidl2_common_run: GenFile = /*@__PURE__*/
|
|
14
|
-
fileDesc("
|
|
16
|
+
fileDesc("ChpmbHl0ZWlkbDIvY29tbW9uL3J1bi5wcm90bxIQZmx5dGVpZGwyLmNvbW1vbiJIChJPZmZsb2FkZWRJbnB1dERhdGESFAoDdXJpGAEgASgJQge6SARyAhABEhwKC2lucHV0c19oYXNoGAIgASgJQge6SARyAhABIvgBCghSZWxhdGlvbhI7CgpyZWxhdGVkX3RvGAEgASgLMh8uZmx5dGVpZGwyLmNvbW1vbi5SdW5JZGVudGlmaWVyQga6SAPIAQESrgEKDXJlbGF0aW9uX3R5cGUYAiABKA4yHi5mbHl0ZWlkbDIuY29tbW9uLlJlbGF0aW9uVHlwZUJ3ukh0ugFuCh9yZWxhdGlvbl90eXBlLmdyZWF0ZXJfdGhhbl96ZXJvEjxSZWxhdGlvbiB0eXBlIG11c3QgYmUgZ3JlYXRlciB0aGFuIDAgKGNhbm5vdCBiZSBVTlNQRUNJRklFRCkaDWludCh0aGlzKSA+IDDIAQEqtgEKDFJlbGF0aW9uVHlwZRIdChlSRUxBVElPTl9UWVBFX1VOU1BFQ0lGSUVEEAASFwoTUkVMQVRJT05fVFlQRV9SRVJVThABEhkKFVJFTEFUSU9OX1RZUEVfUkVDT1ZFUhACEhcKE1JFTEFUSU9OX1RZUEVfU1BBV04QAxIbChdSRUxBVElPTl9UWVBFX1RSSUdHRVJFRBAEEh0KGVJFTEFUSU9OX1RZUEVfT05fQVJUSUZBQ1QQBUK5AQoUY29tLmZseXRlaWRsMi5jb21tb25CCFJ1blByb3RvSAJQAVo0Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2NvbW1vbqICA0ZDWKoCEEZseXRlaWRsMi5Db21tb27KAhBGbHl0ZWlkbDJcQ29tbW9u4gIcRmx5dGVpZGwyXENvbW1vblxHUEJNZXRhZGF0YeoCEUZseXRlaWRsMjo6Q29tbW9uYgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_common_identifier]);
|
|
15
17
|
|
|
16
18
|
/**
|
|
17
19
|
* Captures required data to reference offloaded inputs.
|
|
@@ -37,3 +39,87 @@ export type OffloadedInputData = Message<"flyteidl2.common.OffloadedInputData">
|
|
|
37
39
|
export const OffloadedInputDataSchema: GenMessage<OffloadedInputData> = /*@__PURE__*/
|
|
38
40
|
messageDesc(file_flyteidl2_common_run, 0);
|
|
39
41
|
|
|
42
|
+
/**
|
|
43
|
+
* Relation is a provenance link to the single parent run this run was derived from.
|
|
44
|
+
* Set at creation, immutable thereafter.
|
|
45
|
+
*
|
|
46
|
+
* @generated from message flyteidl2.common.Relation
|
|
47
|
+
*/
|
|
48
|
+
export type Relation = Message<"flyteidl2.common.Relation"> & {
|
|
49
|
+
/**
|
|
50
|
+
* The parent run. Scoped to the same org/project/domain as the referencing run.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: flyteidl2.common.RunIdentifier related_to = 1;
|
|
53
|
+
*/
|
|
54
|
+
relatedTo?: RunIdentifier;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* How this run was derived from the parent.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: flyteidl2.common.RelationType relation_type = 2;
|
|
60
|
+
*/
|
|
61
|
+
relationType: RelationType;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message flyteidl2.common.Relation.
|
|
66
|
+
* Use `create(RelationSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export const RelationSchema: GenMessage<Relation> = /*@__PURE__*/
|
|
69
|
+
messageDesc(file_flyteidl2_common_run, 1);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* RelationType describes how a run was derived from the parent run it relates to.
|
|
73
|
+
*
|
|
74
|
+
* @generated from enum flyteidl2.common.RelationType
|
|
75
|
+
*/
|
|
76
|
+
export enum RelationType {
|
|
77
|
+
/**
|
|
78
|
+
* @generated from enum value: RELATION_TYPE_UNSPECIFIED = 0;
|
|
79
|
+
*/
|
|
80
|
+
UNSPECIFIED = 0,
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* The run is a re-run of the parent run.
|
|
84
|
+
*
|
|
85
|
+
* @generated from enum value: RELATION_TYPE_RERUN = 1;
|
|
86
|
+
*/
|
|
87
|
+
RERUN = 1,
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* The run recovers the parent run, resuming from its last known good state.
|
|
91
|
+
*
|
|
92
|
+
* @generated from enum value: RELATION_TYPE_RECOVER = 2;
|
|
93
|
+
*/
|
|
94
|
+
RECOVER = 2,
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The run was spawned as a child of the parent run (a nested or sub-run).
|
|
98
|
+
*
|
|
99
|
+
* @generated from enum value: RELATION_TYPE_SPAWN = 3;
|
|
100
|
+
*/
|
|
101
|
+
SPAWN = 3,
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* The run was launched by an automation trigger; the parent is the
|
|
105
|
+
* trigger-task run that fired it.
|
|
106
|
+
*
|
|
107
|
+
* @generated from enum value: RELATION_TYPE_TRIGGERED = 4;
|
|
108
|
+
*/
|
|
109
|
+
TRIGGERED = 4,
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* The run is a trigger-task run created because the parent run produced
|
|
113
|
+
* an artifact matching the trigger.
|
|
114
|
+
*
|
|
115
|
+
* @generated from enum value: RELATION_TYPE_ON_ARTIFACT = 5;
|
|
116
|
+
*/
|
|
117
|
+
ON_ARTIFACT = 5,
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Describes the enum flyteidl2.common.RelationType.
|
|
122
|
+
*/
|
|
123
|
+
export const RelationTypeSchema: GenEnum<RelationType> = /*@__PURE__*/
|
|
124
|
+
enumDesc(file_flyteidl2_common_run, 0);
|
|
125
|
+
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
6
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
7
8
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
9
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
10
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -12,7 +13,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
12
13
|
* Describes the file flyteidl2/core/artifact_id.proto.
|
|
13
14
|
*/
|
|
14
15
|
export const file_flyteidl2_core_artifact_id: GenFile = /*@__PURE__*/
|
|
15
|
-
fileDesc("
|
|
16
|
+
fileDesc("CiBmbHl0ZWlkbDIvY29yZS9hcnRpZmFjdF9pZC5wcm90bxIOZmx5dGVpZGwyLmNvcmUiSQoL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LYXJ0aWZhY3RfaWQYASABKAsyGi5mbHl0ZWlkbDIuY29yZS5BcnRpZmFjdElESAASMwoMYXJ0aWZhY3RfdGFnGAIgASgLMhsuZmx5dGVpZGwyLmNvcmUuQXJ0aWZhY3RUYWdIABINCgN1cmkYAyABKAlIABI2CgdiaW5kaW5nGAQgASgLMiMuZmx5dGVpZGwyLmNvcmUuQXJ0aWZhY3RCaW5kaW5nRGF0YUgAQgwKCmlkZW50aWZpZXIqQgoLR3JhbnVsYXJpdHkSCQoFVU5TRVQQABIKCgZNSU5VVEUQARIICgRIT1VSEAISBwoDREFZEAMSCQoFTU9OVEgQBCofCghPcGVyYXRvchIJCgVNSU5VUxAAEggKBFBMVVMQAUK0AQoSY29tLmZseXRlaWRsMi5jb3JlQg9BcnRpZmFjdElkUHJvdG9IAlABWjJnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvY29yZaICA0ZDWKoCDkZseXRlaWRsMi5Db3JlygIORmx5dGVpZGwyXENvcmXiAhpGbHl0ZWlkbDJcQ29yZVxHUEJNZXRhZGF0YeoCD0ZseXRlaWRsMjo6Q29yZWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* @generated from message flyteidl2.core.ArtifactKey
|
|
@@ -48,6 +49,106 @@ export type ArtifactKey = Message<"flyteidl2.core.ArtifactKey"> & {
|
|
|
48
49
|
export const ArtifactKeySchema: GenMessage<ArtifactKey> = /*@__PURE__*/
|
|
49
50
|
messageDesc(file_flyteidl2_core_artifact_id, 0);
|
|
50
51
|
|
|
52
|
+
/**
|
|
53
|
+
* Identity of one artifact version. Unlike the legacy ArtifactID below, this
|
|
54
|
+
* carries no partition machinery — it is the minimal identity stamped onto
|
|
55
|
+
* values (core.Literal.artifact_id) and referenced by v2 artifact APIs.
|
|
56
|
+
*
|
|
57
|
+
* @generated from message flyteidl2.core.ArtifactVersionId
|
|
58
|
+
*/
|
|
59
|
+
export type ArtifactVersionId = Message<"flyteidl2.core.ArtifactVersionId"> & {
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: flyteidl2.core.ArtifactKey key = 1;
|
|
62
|
+
*/
|
|
63
|
+
key?: ArtifactKey;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: string version = 2;
|
|
67
|
+
*/
|
|
68
|
+
version: string;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message flyteidl2.core.ArtifactVersionId.
|
|
73
|
+
* Use `create(ArtifactVersionIdSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const ArtifactVersionIdSchema: GenMessage<ArtifactVersionId> = /*@__PURE__*/
|
|
76
|
+
messageDesc(file_flyteidl2_core_artifact_id, 1);
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Reference to a previously uploaded card (model/data card) describing an
|
|
80
|
+
* artifact.
|
|
81
|
+
*
|
|
82
|
+
* @generated from message flyteidl2.core.ArtifactCard
|
|
83
|
+
*/
|
|
84
|
+
export type ArtifactCard = Message<"flyteidl2.core.ArtifactCard"> & {
|
|
85
|
+
/**
|
|
86
|
+
* URI of the uploaded card content.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: string uri = 1;
|
|
89
|
+
*/
|
|
90
|
+
uri: string;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Format of the card, e.g. html, md, json, yaml, csv, tsv, png, jpg, jpeg.
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: string format = 2;
|
|
96
|
+
*/
|
|
97
|
+
format: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Type of the card, e.g. model, data, generic.
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: string type = 3;
|
|
103
|
+
*/
|
|
104
|
+
type: string;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message flyteidl2.core.ArtifactCard.
|
|
109
|
+
* Use `create(ArtifactCardSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export const ArtifactCardSchema: GenMessage<ArtifactCard> = /*@__PURE__*/
|
|
112
|
+
messageDesc(file_flyteidl2_core_artifact_id, 2);
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Descriptive payload of an artifact — shared by the production declaration
|
|
116
|
+
* (task.ProducedArtifact) and the stored spec (artifact.ArtifactSpec).
|
|
117
|
+
* Deliberately excludes identity (name/version): identity lives in
|
|
118
|
+
* ArtifactIdentifier / the declaration, so it can never drift against this.
|
|
119
|
+
*
|
|
120
|
+
* @generated from message flyteidl2.core.ArtifactInfo
|
|
121
|
+
*/
|
|
122
|
+
export type ArtifactInfo = Message<"flyteidl2.core.ArtifactInfo"> & {
|
|
123
|
+
/**
|
|
124
|
+
* Optional human readable description.
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: string description = 1;
|
|
127
|
+
*/
|
|
128
|
+
description: string;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Free-form, user-supplied key/value metadata.
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: map<string, string> user_metadata = 2;
|
|
134
|
+
*/
|
|
135
|
+
userMetadata: { [key: string]: string };
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Optional card describing this artifact.
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: flyteidl2.core.ArtifactCard card = 3;
|
|
141
|
+
*/
|
|
142
|
+
card?: ArtifactCard;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Describes the message flyteidl2.core.ArtifactInfo.
|
|
147
|
+
* Use `create(ArtifactInfoSchema)` to create a new message.
|
|
148
|
+
*/
|
|
149
|
+
export const ArtifactInfoSchema: GenMessage<ArtifactInfo> = /*@__PURE__*/
|
|
150
|
+
messageDesc(file_flyteidl2_core_artifact_id, 3);
|
|
151
|
+
|
|
51
152
|
/**
|
|
52
153
|
* Only valid for triggers
|
|
53
154
|
*
|
|
@@ -86,7 +187,7 @@ export type ArtifactBindingData = Message<"flyteidl2.core.ArtifactBindingData">
|
|
|
86
187
|
* Use `create(ArtifactBindingDataSchema)` to create a new message.
|
|
87
188
|
*/
|
|
88
189
|
export const ArtifactBindingDataSchema: GenMessage<ArtifactBindingData> = /*@__PURE__*/
|
|
89
|
-
messageDesc(file_flyteidl2_core_artifact_id,
|
|
190
|
+
messageDesc(file_flyteidl2_core_artifact_id, 4);
|
|
90
191
|
|
|
91
192
|
/**
|
|
92
193
|
* @generated from message flyteidl2.core.TimeTransform
|
|
@@ -108,7 +209,7 @@ export type TimeTransform = Message<"flyteidl2.core.TimeTransform"> & {
|
|
|
108
209
|
* Use `create(TimeTransformSchema)` to create a new message.
|
|
109
210
|
*/
|
|
110
211
|
export const TimeTransformSchema: GenMessage<TimeTransform> = /*@__PURE__*/
|
|
111
|
-
messageDesc(file_flyteidl2_core_artifact_id,
|
|
212
|
+
messageDesc(file_flyteidl2_core_artifact_id, 5);
|
|
112
213
|
|
|
113
214
|
/**
|
|
114
215
|
* @generated from message flyteidl2.core.InputBindingData
|
|
@@ -125,7 +226,7 @@ export type InputBindingData = Message<"flyteidl2.core.InputBindingData"> & {
|
|
|
125
226
|
* Use `create(InputBindingDataSchema)` to create a new message.
|
|
126
227
|
*/
|
|
127
228
|
export const InputBindingDataSchema: GenMessage<InputBindingData> = /*@__PURE__*/
|
|
128
|
-
messageDesc(file_flyteidl2_core_artifact_id,
|
|
229
|
+
messageDesc(file_flyteidl2_core_artifact_id, 6);
|
|
129
230
|
|
|
130
231
|
/**
|
|
131
232
|
* @generated from message flyteidl2.core.RuntimeBinding
|
|
@@ -138,7 +239,7 @@ export type RuntimeBinding = Message<"flyteidl2.core.RuntimeBinding"> & {
|
|
|
138
239
|
* Use `create(RuntimeBindingSchema)` to create a new message.
|
|
139
240
|
*/
|
|
140
241
|
export const RuntimeBindingSchema: GenMessage<RuntimeBinding> = /*@__PURE__*/
|
|
141
|
-
messageDesc(file_flyteidl2_core_artifact_id,
|
|
242
|
+
messageDesc(file_flyteidl2_core_artifact_id, 7);
|
|
142
243
|
|
|
143
244
|
/**
|
|
144
245
|
* @generated from message flyteidl2.core.LabelValue
|
|
@@ -189,7 +290,7 @@ export type LabelValue = Message<"flyteidl2.core.LabelValue"> & {
|
|
|
189
290
|
* Use `create(LabelValueSchema)` to create a new message.
|
|
190
291
|
*/
|
|
191
292
|
export const LabelValueSchema: GenMessage<LabelValue> = /*@__PURE__*/
|
|
192
|
-
messageDesc(file_flyteidl2_core_artifact_id,
|
|
293
|
+
messageDesc(file_flyteidl2_core_artifact_id, 8);
|
|
193
294
|
|
|
194
295
|
/**
|
|
195
296
|
* @generated from message flyteidl2.core.Partitions
|
|
@@ -206,7 +307,7 @@ export type Partitions = Message<"flyteidl2.core.Partitions"> & {
|
|
|
206
307
|
* Use `create(PartitionsSchema)` to create a new message.
|
|
207
308
|
*/
|
|
208
309
|
export const PartitionsSchema: GenMessage<Partitions> = /*@__PURE__*/
|
|
209
|
-
messageDesc(file_flyteidl2_core_artifact_id,
|
|
310
|
+
messageDesc(file_flyteidl2_core_artifact_id, 9);
|
|
210
311
|
|
|
211
312
|
/**
|
|
212
313
|
* @generated from message flyteidl2.core.TimePartition
|
|
@@ -228,7 +329,7 @@ export type TimePartition = Message<"flyteidl2.core.TimePartition"> & {
|
|
|
228
329
|
* Use `create(TimePartitionSchema)` to create a new message.
|
|
229
330
|
*/
|
|
230
331
|
export const TimePartitionSchema: GenMessage<TimePartition> = /*@__PURE__*/
|
|
231
|
-
messageDesc(file_flyteidl2_core_artifact_id,
|
|
332
|
+
messageDesc(file_flyteidl2_core_artifact_id, 10);
|
|
232
333
|
|
|
233
334
|
/**
|
|
234
335
|
* @generated from message flyteidl2.core.ArtifactID
|
|
@@ -265,7 +366,7 @@ export type ArtifactID = Message<"flyteidl2.core.ArtifactID"> & {
|
|
|
265
366
|
* Use `create(ArtifactIDSchema)` to create a new message.
|
|
266
367
|
*/
|
|
267
368
|
export const ArtifactIDSchema: GenMessage<ArtifactID> = /*@__PURE__*/
|
|
268
|
-
messageDesc(file_flyteidl2_core_artifact_id,
|
|
369
|
+
messageDesc(file_flyteidl2_core_artifact_id, 11);
|
|
269
370
|
|
|
270
371
|
/**
|
|
271
372
|
* @generated from message flyteidl2.core.ArtifactTag
|
|
@@ -287,7 +388,7 @@ export type ArtifactTag = Message<"flyteidl2.core.ArtifactTag"> & {
|
|
|
287
388
|
* Use `create(ArtifactTagSchema)` to create a new message.
|
|
288
389
|
*/
|
|
289
390
|
export const ArtifactTagSchema: GenMessage<ArtifactTag> = /*@__PURE__*/
|
|
290
|
-
messageDesc(file_flyteidl2_core_artifact_id,
|
|
391
|
+
messageDesc(file_flyteidl2_core_artifact_id, 12);
|
|
291
392
|
|
|
292
393
|
/**
|
|
293
394
|
* Uniqueness constraints for Artifacts
|
|
@@ -337,7 +438,7 @@ export type ArtifactQuery = Message<"flyteidl2.core.ArtifactQuery"> & {
|
|
|
337
438
|
* Use `create(ArtifactQuerySchema)` to create a new message.
|
|
338
439
|
*/
|
|
339
440
|
export const ArtifactQuerySchema: GenMessage<ArtifactQuery> = /*@__PURE__*/
|
|
340
|
-
messageDesc(file_flyteidl2_core_artifact_id,
|
|
441
|
+
messageDesc(file_flyteidl2_core_artifact_id, 13);
|
|
341
442
|
|
|
342
443
|
/**
|
|
343
444
|
* @generated from enum flyteidl2.core.Granularity
|
|
@@ -12,7 +12,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
12
12
|
* Describes the file flyteidl2/core/execution.proto.
|
|
13
13
|
*/
|
|
14
14
|
export const file_flyteidl2_core_execution: GenFile = /*@__PURE__*/
|
|
15
|
-
fileDesc("
|
|
15
|
+
fileDesc("Ch5mbHl0ZWlkbDIvY29yZS9leGVjdXRpb24ucHJvdG8SDmZseXRlaWRsMi5jb3JlIqcBChFXb3JrZmxvd0V4ZWN1dGlvbiKRAQoFUGhhc2USDQoJVU5ERUZJ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GoIBCg5Qcm9jZXNzQ29udGV4dBI4ChRjb250YWluZXJfc3RhcnRfdGltZRgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASNgoSY29udGFpbmVyX2VuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCJKChRRdWFsaXR5T2ZTZXJ2aWNlU3BlYxIyCg9xdWV1ZWluZ19idWRnZXQYASABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24ixAEKEFF1YWxpdHlPZlNlcnZpY2USNQoEdGllchgBIAEoDjIlLmZseXRlaWRsMi5jb3JlLlF1YWxpdHlPZlNlcnZpY2UuVGllckgAEjQKBHNwZWMYAiABKAsyJC5mbHl0ZWlkbDIuY29yZS5RdWFsaXR5T2ZTZXJ2aWNlU3BlY0gAIjQKBFRpZXISDQoJVU5ERUZJTkVEEAASCAoESElHSBABEgoKBk1FRElVTRACEgcKA0xPVxADQg0KC2Rlc2lnbmF0aW9uQrMBChJjb20uZmx5dGVpZGwyLmNvcmVCDkV4ZWN1dGlvblByb3RvSAJQAVoyZ2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2NvcmWiAgNGQ1iqAg5GbHl0ZWlkbDIuQ29yZcoCDkZseXRlaWRsMlxDb3Jl4gIaRmx5dGVpZGwyXENvcmVcR1BCTWV0YWRhdGHqAg9GbHl0ZWlkbDI6OkNvcmViBnByb3RvMw", [file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Indicates various phases of Workflow Execution
|
|
@@ -306,6 +306,15 @@ export type ExecutionError = Message<"flyteidl2.core.ExecutionError"> & {
|
|
|
306
306
|
* @generated from field: flyteidl2.core.ContainerError.Kind recoverability = 7;
|
|
307
307
|
*/
|
|
308
308
|
recoverability: ContainerError_Kind;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Set when the failure was classified as caused by or coincident with a GPU
|
|
312
|
+
* fault. It carries the fault as data so that consumers do not have to parse
|
|
313
|
+
* message.
|
|
314
|
+
*
|
|
315
|
+
* @generated from field: flyteidl2.core.GpuFault gpu_fault = 8;
|
|
316
|
+
*/
|
|
317
|
+
gpuFault?: GpuFault;
|
|
309
318
|
};
|
|
310
319
|
|
|
311
320
|
/**
|
|
@@ -343,6 +352,156 @@ export enum ExecutionError_ErrorKind {
|
|
|
343
352
|
export const ExecutionError_ErrorKindSchema: GenEnum<ExecutionError_ErrorKind> = /*@__PURE__*/
|
|
344
353
|
enumDesc(file_flyteidl2_core_execution, 3, 0);
|
|
345
354
|
|
|
355
|
+
/**
|
|
356
|
+
* GpuFault is a GPU fault reported by the NVIDIA driver in the node kernel log
|
|
357
|
+
* and attributed to an action attempt by the data plane. Field semantics follow
|
|
358
|
+
* the driver's Xid line: which device faulted, which fault, and, when the driver
|
|
359
|
+
* could blame a process, which process.
|
|
360
|
+
*
|
|
361
|
+
* @generated from message flyteidl2.core.GpuFault
|
|
362
|
+
*/
|
|
363
|
+
export type GpuFault = Message<"flyteidl2.core.GpuFault"> & {
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: flyteidl2.core.GpuFault.Kind kind = 1;
|
|
366
|
+
*/
|
|
367
|
+
kind: GpuFault_Kind;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* The Xid or SXid number as printed by the driver, for example 79.
|
|
371
|
+
*
|
|
372
|
+
* @generated from field: uint32 code = 2;
|
|
373
|
+
*/
|
|
374
|
+
code: number;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Short human-readable name of the fault, for example "GPU has fallen off the
|
|
378
|
+
* bus". Empty when the data plane does not know the code.
|
|
379
|
+
*
|
|
380
|
+
* @generated from field: string name = 3;
|
|
381
|
+
*/
|
|
382
|
+
name: string;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @generated from field: flyteidl2.core.GpuFault.Severity severity = 4;
|
|
386
|
+
*/
|
|
387
|
+
severity: GpuFault_Severity;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Identity of the faulting device. gpu_uuid is the NVML UUID ("GPU-..."),
|
|
391
|
+
* gpu_index is the host device index (the same index DCGM and nvidia-smi use,
|
|
392
|
+
* not an ordinal within the pod), pci_bus_id is the sysfs bus id such as
|
|
393
|
+
* "0000:3b:00.0". For an SXid only pci_bus_id is set. gpu_index is optional
|
|
394
|
+
* because 0 is a valid index.
|
|
395
|
+
*
|
|
396
|
+
* @generated from field: string gpu_uuid = 5;
|
|
397
|
+
*/
|
|
398
|
+
gpuUuid: string;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* @generated from field: optional uint32 gpu_index = 6;
|
|
402
|
+
*/
|
|
403
|
+
gpuIndex?: number;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* @generated from field: string pci_bus_id = 7;
|
|
407
|
+
*/
|
|
408
|
+
pciBusId: string;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* The Kubernetes node the device is attached to.
|
|
412
|
+
*
|
|
413
|
+
* @generated from field: string node = 8;
|
|
414
|
+
*/
|
|
415
|
+
node: string;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* The host process the driver blamed for the fault, when it named one. Only
|
|
419
|
+
* workload-caused faults carry a process; hardware faults usually do not.
|
|
420
|
+
*
|
|
421
|
+
* @generated from field: uint32 pid = 9;
|
|
422
|
+
*/
|
|
423
|
+
pid: number;
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* @generated from field: string process = 10;
|
|
427
|
+
*/
|
|
428
|
+
process: string;
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Describes the message flyteidl2.core.GpuFault.
|
|
433
|
+
* Use `create(GpuFaultSchema)` to create a new message.
|
|
434
|
+
*/
|
|
435
|
+
export const GpuFaultSchema: GenMessage<GpuFault> = /*@__PURE__*/
|
|
436
|
+
messageDesc(file_flyteidl2_core_execution, 4);
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @generated from enum flyteidl2.core.GpuFault.Kind
|
|
440
|
+
*/
|
|
441
|
+
export enum GpuFault_Kind {
|
|
442
|
+
/**
|
|
443
|
+
* @generated from enum value: KIND_UNSPECIFIED = 0;
|
|
444
|
+
*/
|
|
445
|
+
UNSPECIFIED = 0,
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* An Xid: a fault on a GPU.
|
|
449
|
+
*
|
|
450
|
+
* @generated from enum value: KIND_XID = 1;
|
|
451
|
+
*/
|
|
452
|
+
XID = 1,
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* An SXid: a fault on an NVSwitch, which affects every GPU attached to it.
|
|
456
|
+
*
|
|
457
|
+
* @generated from enum value: KIND_SXID = 2;
|
|
458
|
+
*/
|
|
459
|
+
SXID = 2,
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* Describes the enum flyteidl2.core.GpuFault.Kind.
|
|
464
|
+
*/
|
|
465
|
+
export const GpuFault_KindSchema: GenEnum<GpuFault_Kind> = /*@__PURE__*/
|
|
466
|
+
enumDesc(file_flyteidl2_core_execution, 4, 0);
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Severity classifies the fault for the reader. USER faults are caused by the
|
|
470
|
+
* workload (for example an out-of-bounds memory access, Xid 31) and need no
|
|
471
|
+
* node action; CRITICAL faults are hardware faults (for example Xid 79, GPU
|
|
472
|
+
* fallen off the bus) after which the device or node is not trustworthy; WARN
|
|
473
|
+
* covers everything in between and any code the data plane does not know.
|
|
474
|
+
*
|
|
475
|
+
* @generated from enum flyteidl2.core.GpuFault.Severity
|
|
476
|
+
*/
|
|
477
|
+
export enum GpuFault_Severity {
|
|
478
|
+
/**
|
|
479
|
+
* @generated from enum value: SEVERITY_UNSPECIFIED = 0;
|
|
480
|
+
*/
|
|
481
|
+
UNSPECIFIED = 0,
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* @generated from enum value: SEVERITY_USER = 1;
|
|
485
|
+
*/
|
|
486
|
+
USER = 1,
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* @generated from enum value: SEVERITY_WARN = 2;
|
|
490
|
+
*/
|
|
491
|
+
WARN = 2,
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* @generated from enum value: SEVERITY_CRITICAL = 3;
|
|
495
|
+
*/
|
|
496
|
+
CRITICAL = 3,
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* Describes the enum flyteidl2.core.GpuFault.Severity.
|
|
501
|
+
*/
|
|
502
|
+
export const GpuFault_SeveritySchema: GenEnum<GpuFault_Severity> = /*@__PURE__*/
|
|
503
|
+
enumDesc(file_flyteidl2_core_execution, 4, 1);
|
|
504
|
+
|
|
346
505
|
/**
|
|
347
506
|
* Error message to propagate detailed errors from container executions to the
|
|
348
507
|
* execution engine.
|
|
@@ -384,7 +543,7 @@ export type ContainerError = Message<"flyteidl2.core.ContainerError"> & {
|
|
|
384
543
|
* Use `create(ContainerErrorSchema)` to create a new message.
|
|
385
544
|
*/
|
|
386
545
|
export const ContainerErrorSchema: GenMessage<ContainerError> = /*@__PURE__*/
|
|
387
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
546
|
+
messageDesc(file_flyteidl2_core_execution, 5);
|
|
388
547
|
|
|
389
548
|
/**
|
|
390
549
|
* Defines a generic error type that dictates the behavior of the retry strategy.
|
|
@@ -407,7 +566,7 @@ export enum ContainerError_Kind {
|
|
|
407
566
|
* Describes the enum flyteidl2.core.ContainerError.Kind.
|
|
408
567
|
*/
|
|
409
568
|
export const ContainerError_KindSchema: GenEnum<ContainerError_Kind> = /*@__PURE__*/
|
|
410
|
-
enumDesc(file_flyteidl2_core_execution,
|
|
569
|
+
enumDesc(file_flyteidl2_core_execution, 5, 0);
|
|
411
570
|
|
|
412
571
|
/**
|
|
413
572
|
* Defines the errors.pb file format the container can produce to communicate
|
|
@@ -429,7 +588,7 @@ export type ErrorDocument = Message<"flyteidl2.core.ErrorDocument"> & {
|
|
|
429
588
|
* Use `create(ErrorDocumentSchema)` to create a new message.
|
|
430
589
|
*/
|
|
431
590
|
export const ErrorDocumentSchema: GenMessage<ErrorDocument> = /*@__PURE__*/
|
|
432
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
591
|
+
messageDesc(file_flyteidl2_core_execution, 6);
|
|
433
592
|
|
|
434
593
|
/**
|
|
435
594
|
* Log information for the task that is specific to a log sink
|
|
@@ -489,7 +648,7 @@ export type TaskLog = Message<"flyteidl2.core.TaskLog"> & {
|
|
|
489
648
|
* Use `create(TaskLogSchema)` to create a new message.
|
|
490
649
|
*/
|
|
491
650
|
export const TaskLogSchema: GenMessage<TaskLog> = /*@__PURE__*/
|
|
492
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
651
|
+
messageDesc(file_flyteidl2_core_execution, 7);
|
|
493
652
|
|
|
494
653
|
/**
|
|
495
654
|
* @generated from enum flyteidl2.core.TaskLog.MessageFormat
|
|
@@ -515,7 +674,7 @@ export enum TaskLog_MessageFormat {
|
|
|
515
674
|
* Describes the enum flyteidl2.core.TaskLog.MessageFormat.
|
|
516
675
|
*/
|
|
517
676
|
export const TaskLog_MessageFormatSchema: GenEnum<TaskLog_MessageFormat> = /*@__PURE__*/
|
|
518
|
-
enumDesc(file_flyteidl2_core_execution,
|
|
677
|
+
enumDesc(file_flyteidl2_core_execution, 7, 0);
|
|
519
678
|
|
|
520
679
|
/**
|
|
521
680
|
* @generated from enum flyteidl2.core.TaskLog.LinkType
|
|
@@ -547,7 +706,7 @@ export enum TaskLog_LinkType {
|
|
|
547
706
|
* Describes the enum flyteidl2.core.TaskLog.LinkType.
|
|
548
707
|
*/
|
|
549
708
|
export const TaskLog_LinkTypeSchema: GenEnum<TaskLog_LinkType> = /*@__PURE__*/
|
|
550
|
-
enumDesc(file_flyteidl2_core_execution,
|
|
709
|
+
enumDesc(file_flyteidl2_core_execution, 7, 1);
|
|
551
710
|
|
|
552
711
|
/**
|
|
553
712
|
* Contains metadata required to identify logs produces by a set of pods
|
|
@@ -569,6 +728,22 @@ export type LogContext = Message<"flyteidl2.core.LogContext"> & {
|
|
|
569
728
|
* @generated from field: flyteidl2.core.ConnectorLogContext connector = 3;
|
|
570
729
|
*/
|
|
571
730
|
connector?: ConnectorLogContext;
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* Deprecated: use pod_name_prefixes. Still populated with the task's own pod-name prefix for
|
|
734
|
+
* readers that predate pod_name_prefixes.
|
|
735
|
+
*
|
|
736
|
+
* @generated from field: string pod_name_prefix = 4 [deprecated = true];
|
|
737
|
+
* @deprecated
|
|
738
|
+
*/
|
|
739
|
+
podNamePrefix: string;
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* Pod-name prefixes used by log sources to narrow stream/pod searches.
|
|
743
|
+
*
|
|
744
|
+
* @generated from field: repeated string pod_name_prefixes = 5;
|
|
745
|
+
*/
|
|
746
|
+
podNamePrefixes: string[];
|
|
572
747
|
};
|
|
573
748
|
|
|
574
749
|
/**
|
|
@@ -576,7 +751,7 @@ export type LogContext = Message<"flyteidl2.core.LogContext"> & {
|
|
|
576
751
|
* Use `create(LogContextSchema)` to create a new message.
|
|
577
752
|
*/
|
|
578
753
|
export const LogContextSchema: GenMessage<LogContext> = /*@__PURE__*/
|
|
579
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
754
|
+
messageDesc(file_flyteidl2_core_execution, 8);
|
|
580
755
|
|
|
581
756
|
/**
|
|
582
757
|
* ConnectorLogContext describes how to reach a connector that owns an action's logs.
|
|
@@ -598,7 +773,7 @@ export type ConnectorLogContext = Message<"flyteidl2.core.ConnectorLogContext">
|
|
|
598
773
|
* Use `create(ConnectorLogContextSchema)` to create a new message.
|
|
599
774
|
*/
|
|
600
775
|
export const ConnectorLogContextSchema: GenMessage<ConnectorLogContext> = /*@__PURE__*/
|
|
601
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
776
|
+
messageDesc(file_flyteidl2_core_execution, 9);
|
|
602
777
|
|
|
603
778
|
/**
|
|
604
779
|
* Contains metadata required to identify logs produces by a single pod
|
|
@@ -637,7 +812,7 @@ export type PodLogContext = Message<"flyteidl2.core.PodLogContext"> & {
|
|
|
637
812
|
* Use `create(PodLogContextSchema)` to create a new message.
|
|
638
813
|
*/
|
|
639
814
|
export const PodLogContextSchema: GenMessage<PodLogContext> = /*@__PURE__*/
|
|
640
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
815
|
+
messageDesc(file_flyteidl2_core_execution, 10);
|
|
641
816
|
|
|
642
817
|
/**
|
|
643
818
|
* Contains metadata required to identify logs produces by a single container
|
|
@@ -661,7 +836,7 @@ export type ContainerContext = Message<"flyteidl2.core.ContainerContext"> & {
|
|
|
661
836
|
* Use `create(ContainerContextSchema)` to create a new message.
|
|
662
837
|
*/
|
|
663
838
|
export const ContainerContextSchema: GenMessage<ContainerContext> = /*@__PURE__*/
|
|
664
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
839
|
+
messageDesc(file_flyteidl2_core_execution, 11);
|
|
665
840
|
|
|
666
841
|
/**
|
|
667
842
|
* Contains metadata required to identify logs produces by a single light-weight process that was run inside a container
|
|
@@ -685,7 +860,7 @@ export type ContainerContext_ProcessContext = Message<"flyteidl2.core.ContainerC
|
|
|
685
860
|
* Use `create(ContainerContext_ProcessContextSchema)` to create a new message.
|
|
686
861
|
*/
|
|
687
862
|
export const ContainerContext_ProcessContextSchema: GenMessage<ContainerContext_ProcessContext> = /*@__PURE__*/
|
|
688
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
863
|
+
messageDesc(file_flyteidl2_core_execution, 11, 0);
|
|
689
864
|
|
|
690
865
|
/**
|
|
691
866
|
* Represents customized execution run-time attributes.
|
|
@@ -706,7 +881,7 @@ export type QualityOfServiceSpec = Message<"flyteidl2.core.QualityOfServiceSpec"
|
|
|
706
881
|
* Use `create(QualityOfServiceSpecSchema)` to create a new message.
|
|
707
882
|
*/
|
|
708
883
|
export const QualityOfServiceSpecSchema: GenMessage<QualityOfServiceSpec> = /*@__PURE__*/
|
|
709
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
884
|
+
messageDesc(file_flyteidl2_core_execution, 12);
|
|
710
885
|
|
|
711
886
|
/**
|
|
712
887
|
* Indicates the priority of an execution.
|
|
@@ -737,7 +912,7 @@ export type QualityOfService = Message<"flyteidl2.core.QualityOfService"> & {
|
|
|
737
912
|
* Use `create(QualityOfServiceSchema)` to create a new message.
|
|
738
913
|
*/
|
|
739
914
|
export const QualityOfServiceSchema: GenMessage<QualityOfService> = /*@__PURE__*/
|
|
740
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
915
|
+
messageDesc(file_flyteidl2_core_execution, 13);
|
|
741
916
|
|
|
742
917
|
/**
|
|
743
918
|
* @generated from enum flyteidl2.core.QualityOfService.Tier
|
|
@@ -770,5 +945,5 @@ export enum QualityOfService_Tier {
|
|
|
770
945
|
* Describes the enum flyteidl2.core.QualityOfService.Tier.
|
|
771
946
|
*/
|
|
772
947
|
export const QualityOfService_TierSchema: GenEnum<QualityOfService_Tier> = /*@__PURE__*/
|
|
773
|
-
enumDesc(file_flyteidl2_core_execution,
|
|
948
|
+
enumDesc(file_flyteidl2_core_execution, 13, 0);
|
|
774
949
|
|