@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
|
@@ -7,6 +7,8 @@ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1
|
|
|
7
7
|
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
8
|
import type { ActionIdentifier } from "../common/identifier_pb.ts";
|
|
9
9
|
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
10
|
+
import type { EnrichedIdentity } from "../common/identity_pb.ts";
|
|
11
|
+
import { file_flyteidl2_common_identity } from "../common/identity_pb.ts";
|
|
10
12
|
import type { Literal } from "../core/literals_pb.ts";
|
|
11
13
|
import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
|
|
12
14
|
import type { RunSpec } from "../task/run_pb.ts";
|
|
@@ -21,7 +23,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
21
23
|
* Describes the file flyteidl2/actions/actions_service.proto.
|
|
22
24
|
*/
|
|
23
25
|
export const file_flyteidl2_actions_actions_service: GenFile = /*@__PURE__*/
|
|
24
|
-
fileDesc("
|
|
26
|
+
fileDesc("CidmbHl0ZWlkbDIvYWN0aW9ucy9hY3Rpb25zX3NlcnZpY2UucHJvdG8SEWZseXRlaWRsMi5hY3Rpb25zIsQDCgZBY3Rpb24SPQoJYWN0aW9uX2lkGAEgASgLMiIuZmx5dGVpZGwyLmNvbW1vbi5BY3Rpb25JZGVudGlmaWVyQga6SAPIAQESHwoScGFyZW50X2FjdGlvbl9uYW1lGAIgASgJSAGIAQESGgoJaW5wdXRfdXJpGAMgASgJQge6SARyAhABEiAKD3J1bl9vdXRwdXRfYmFzZRgEIAEoCUIHukgEcgIQARINCgVncm91cBgFIAEoCRIPCgdzdWJqZWN0GAYgASgJEi4KBHRhc2sYByABKAsyHi5mbHl0ZWlkbDIud29ya2Zsb3cuVGFza0FjdGlvbkgAEjAKBXRyYWNlGAggASgLMh8uZmx5dGVpZGwyLndvcmtmbG93LlRyYWNlQWN0aW9uSAASOA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wSIC5mbHl0ZWlkbDIuYWN0aW9ucy5TaWduYWxSZXF1ZXN0GiEuZmx5dGVpZGwyLmFjdGlvbnMuU2lnbmFsUmVzcG9uc2UiAELKAQoVY29tLmZseXRlaWRsMi5hY3Rpb25zQhNBY3Rpb25zU2VydmljZVByb3RvSAJQAVo1Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2FjdGlvbnOiAgNGQViqAhFGbHl0ZWlkbDIuQWN0aW9uc8oCEUZseXRlaWRsMlxBY3Rpb25z4gIdRmx5dGVpZGwyXEFjdGlvbnNcR1BCTWV0YWRhdGHqAhJGbHl0ZWlkbDI6OkFjdGlvbnNiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_identity, file_flyteidl2_core_literals, file_flyteidl2_task_run, file_flyteidl2_workflow_run_definition, file_flyteidl2_workflow_state_service]);
|
|
25
27
|
|
|
26
28
|
/**
|
|
27
29
|
* Action represents a unit of work to be executed. Theses can be task executions, traces, or conditions.
|
|
@@ -101,6 +103,15 @@ export type Action = Message<"flyteidl2.actions.Action"> & {
|
|
|
101
103
|
value: ConditionAction;
|
|
102
104
|
case: "condition";
|
|
103
105
|
} | { case: undefined; value?: undefined };
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* set server-side when this action was recovered from a prior run instead of executed:
|
|
109
|
+
* identifies the source action (source run id + action name) whose result was reused.
|
|
110
|
+
* never set by clients on enqueue.
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: flyteidl2.common.ActionIdentifier recovered_from = 10;
|
|
113
|
+
*/
|
|
114
|
+
recoveredFrom?: ActionIdentifier;
|
|
104
115
|
};
|
|
105
116
|
|
|
106
117
|
/**
|
|
@@ -177,13 +188,6 @@ export type UpdateRequest = Message<"flyteidl2.actions.UpdateRequest"> & {
|
|
|
177
188
|
* @generated from field: flyteidl2.workflow.ActionStatus status = 3;
|
|
178
189
|
*/
|
|
179
190
|
status?: ActionStatus;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* The new state in form of a JSON serialized `NodeStatus` object.
|
|
183
|
-
*
|
|
184
|
-
* @generated from field: string state = 4;
|
|
185
|
-
*/
|
|
186
|
-
state: string;
|
|
187
191
|
};
|
|
188
192
|
|
|
189
193
|
/**
|
|
@@ -208,55 +212,6 @@ export type UpdateResponse = Message<"flyteidl2.actions.UpdateResponse"> & {
|
|
|
208
212
|
export const UpdateResponseSchema: GenMessage<UpdateResponse> = /*@__PURE__*/
|
|
209
213
|
messageDesc(file_flyteidl2_actions_actions_service, 4);
|
|
210
214
|
|
|
211
|
-
/**
|
|
212
|
-
* GetLatestStateRequest is the request message for getting the state of an action.
|
|
213
|
-
*
|
|
214
|
-
* @generated from message flyteidl2.actions.GetLatestStateRequest
|
|
215
|
-
*/
|
|
216
|
-
export type GetLatestStateRequest = Message<"flyteidl2.actions.GetLatestStateRequest"> & {
|
|
217
|
-
/**
|
|
218
|
-
* A unique identifier for the action.
|
|
219
|
-
*
|
|
220
|
-
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
221
|
-
*/
|
|
222
|
-
actionId?: ActionIdentifier;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* The attempt number (starts at 1, incremented on retry).
|
|
226
|
-
*
|
|
227
|
-
* @generated from field: uint32 attempt = 2;
|
|
228
|
-
*/
|
|
229
|
-
attempt: number;
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Describes the message flyteidl2.actions.GetLatestStateRequest.
|
|
234
|
-
* Use `create(GetLatestStateRequestSchema)` to create a new message.
|
|
235
|
-
*/
|
|
236
|
-
export const GetLatestStateRequestSchema: GenMessage<GetLatestStateRequest> = /*@__PURE__*/
|
|
237
|
-
messageDesc(file_flyteidl2_actions_actions_service, 5);
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* GetLatestStateResponse is the response message for getting the state of an action.
|
|
241
|
-
*
|
|
242
|
-
* @generated from message flyteidl2.actions.GetLatestStateResponse
|
|
243
|
-
*/
|
|
244
|
-
export type GetLatestStateResponse = Message<"flyteidl2.actions.GetLatestStateResponse"> & {
|
|
245
|
-
/**
|
|
246
|
-
* A JSON serialized `NodeStatus` object.
|
|
247
|
-
*
|
|
248
|
-
* @generated from field: string state = 1;
|
|
249
|
-
*/
|
|
250
|
-
state: string;
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Describes the message flyteidl2.actions.GetLatestStateResponse.
|
|
255
|
-
* Use `create(GetLatestStateResponseSchema)` to create a new message.
|
|
256
|
-
*/
|
|
257
|
-
export const GetLatestStateResponseSchema: GenMessage<GetLatestStateResponse> = /*@__PURE__*/
|
|
258
|
-
messageDesc(file_flyteidl2_actions_actions_service, 6);
|
|
259
|
-
|
|
260
215
|
/**
|
|
261
216
|
* WatchForUpdatesRequest is a request message for watching updates to the state of actions.
|
|
262
217
|
*
|
|
@@ -284,7 +239,7 @@ export type WatchForUpdatesRequest = Message<"flyteidl2.actions.WatchForUpdatesR
|
|
|
284
239
|
* Use `create(WatchForUpdatesRequestSchema)` to create a new message.
|
|
285
240
|
*/
|
|
286
241
|
export const WatchForUpdatesRequestSchema: GenMessage<WatchForUpdatesRequest> = /*@__PURE__*/
|
|
287
|
-
messageDesc(file_flyteidl2_actions_actions_service,
|
|
242
|
+
messageDesc(file_flyteidl2_actions_actions_service, 5);
|
|
288
243
|
|
|
289
244
|
/**
|
|
290
245
|
* WatchForUpdatesResponse is a response message for watching updates to the state of actions.
|
|
@@ -321,7 +276,7 @@ export type WatchForUpdatesResponse = Message<"flyteidl2.actions.WatchForUpdates
|
|
|
321
276
|
* Use `create(WatchForUpdatesResponseSchema)` to create a new message.
|
|
322
277
|
*/
|
|
323
278
|
export const WatchForUpdatesResponseSchema: GenMessage<WatchForUpdatesResponse> = /*@__PURE__*/
|
|
324
|
-
messageDesc(file_flyteidl2_actions_actions_service,
|
|
279
|
+
messageDesc(file_flyteidl2_actions_actions_service, 6);
|
|
325
280
|
|
|
326
281
|
/**
|
|
327
282
|
* AbortRequest is the request message for aborting a queued or running action.
|
|
@@ -342,6 +297,15 @@ export type AbortRequest = Message<"flyteidl2.actions.AbortRequest"> & {
|
|
|
342
297
|
* @generated from field: optional string reason = 2;
|
|
343
298
|
*/
|
|
344
299
|
reason?: string;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Identity of the caller that issued the abort. Populated by Run Service
|
|
303
|
+
* with a stripped-down EnrichedIdentity (subject only) for storage and
|
|
304
|
+
* replication; the full identity is re-enriched on read.
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: optional flyteidl2.common.EnrichedIdentity aborted_by = 3;
|
|
307
|
+
*/
|
|
308
|
+
abortedBy?: EnrichedIdentity;
|
|
345
309
|
};
|
|
346
310
|
|
|
347
311
|
/**
|
|
@@ -349,7 +313,7 @@ export type AbortRequest = Message<"flyteidl2.actions.AbortRequest"> & {
|
|
|
349
313
|
* Use `create(AbortRequestSchema)` to create a new message.
|
|
350
314
|
*/
|
|
351
315
|
export const AbortRequestSchema: GenMessage<AbortRequest> = /*@__PURE__*/
|
|
352
|
-
messageDesc(file_flyteidl2_actions_actions_service,
|
|
316
|
+
messageDesc(file_flyteidl2_actions_actions_service, 7);
|
|
353
317
|
|
|
354
318
|
/**
|
|
355
319
|
* AbortResponse is the response message for aborting a queued or running action.
|
|
@@ -364,7 +328,7 @@ export type AbortResponse = Message<"flyteidl2.actions.AbortResponse"> & {
|
|
|
364
328
|
* Use `create(AbortResponseSchema)` to create a new message.
|
|
365
329
|
*/
|
|
366
330
|
export const AbortResponseSchema: GenMessage<AbortResponse> = /*@__PURE__*/
|
|
367
|
-
messageDesc(file_flyteidl2_actions_actions_service,
|
|
331
|
+
messageDesc(file_flyteidl2_actions_actions_service, 8);
|
|
368
332
|
|
|
369
333
|
/**
|
|
370
334
|
* SignalRequest is the request message for resolving a condition action.
|
|
@@ -394,6 +358,15 @@ export type SignalRequest = Message<"flyteidl2.actions.SignalRequest"> & {
|
|
|
394
358
|
* @generated from field: flyteidl2.core.Literal value = 3;
|
|
395
359
|
*/
|
|
396
360
|
value?: Literal;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Identity of the caller that issued the signal. Populated by Run Service
|
|
364
|
+
* with a stripped-down EnrichedIdentity (subject only) for storage and
|
|
365
|
+
* replication; the full identity is re-enriched on read.
|
|
366
|
+
*
|
|
367
|
+
* @generated from field: optional flyteidl2.common.EnrichedIdentity signalled_by = 4;
|
|
368
|
+
*/
|
|
369
|
+
signalledBy?: EnrichedIdentity;
|
|
397
370
|
};
|
|
398
371
|
|
|
399
372
|
/**
|
|
@@ -401,7 +374,7 @@ export type SignalRequest = Message<"flyteidl2.actions.SignalRequest"> & {
|
|
|
401
374
|
* Use `create(SignalRequestSchema)` to create a new message.
|
|
402
375
|
*/
|
|
403
376
|
export const SignalRequestSchema: GenMessage<SignalRequest> = /*@__PURE__*/
|
|
404
|
-
messageDesc(file_flyteidl2_actions_actions_service,
|
|
377
|
+
messageDesc(file_flyteidl2_actions_actions_service, 9);
|
|
405
378
|
|
|
406
379
|
/**
|
|
407
380
|
* SignalResponse is the response message for resolving a condition action.
|
|
@@ -416,7 +389,7 @@ export type SignalResponse = Message<"flyteidl2.actions.SignalResponse"> & {
|
|
|
416
389
|
* Use `create(SignalResponseSchema)` to create a new message.
|
|
417
390
|
*/
|
|
418
391
|
export const SignalResponseSchema: GenMessage<SignalResponse> = /*@__PURE__*/
|
|
419
|
-
messageDesc(file_flyteidl2_actions_actions_service,
|
|
392
|
+
messageDesc(file_flyteidl2_actions_actions_service, 10);
|
|
420
393
|
|
|
421
394
|
/**
|
|
422
395
|
* ActionsService provides an interface for managing the state and execution of actions.
|
|
@@ -436,17 +409,6 @@ export const ActionsService: GenService<{
|
|
|
436
409
|
input: typeof EnqueueRequestSchema;
|
|
437
410
|
output: typeof EnqueueResponseSchema;
|
|
438
411
|
},
|
|
439
|
-
/**
|
|
440
|
-
* GetLatestState returns the latest `NodeStatus` of an action.
|
|
441
|
-
* This deprecates Get in the current StateService.
|
|
442
|
-
*
|
|
443
|
-
* @generated from rpc flyteidl2.actions.ActionsService.GetLatestState
|
|
444
|
-
*/
|
|
445
|
-
getLatestState: {
|
|
446
|
-
methodKind: "unary";
|
|
447
|
-
input: typeof GetLatestStateRequestSchema;
|
|
448
|
-
output: typeof GetLatestStateResponseSchema;
|
|
449
|
-
},
|
|
450
412
|
/**
|
|
451
413
|
* WatchForUpdates watches for updates to the state of actions.
|
|
452
414
|
* This API guarantees at-least-once delivery semantics.
|
|
@@ -9,12 +9,14 @@ import type { EnrichedIdentity } from "../common/identity_pb.ts";
|
|
|
9
9
|
import { file_flyteidl2_common_identity } from "../common/identity_pb.ts";
|
|
10
10
|
import type { RuntimeMetadata } from "../common/runtime_version_pb.ts";
|
|
11
11
|
import { file_flyteidl2_common_runtime_version } from "../common/runtime_version_pb.ts";
|
|
12
|
-
import type { ArtifactID,
|
|
12
|
+
import type { ArtifactID, ArtifactVersionId } from "../core/artifact_id_pb.ts";
|
|
13
13
|
import { file_flyteidl2_core_artifact_id } from "../core/artifact_id_pb.ts";
|
|
14
14
|
import type { Identity, Secret } from "../core/security_pb.ts";
|
|
15
15
|
import { file_flyteidl2_core_security } from "../core/security_pb.ts";
|
|
16
16
|
import type { Container, ExtendedResources, K8sPod } from "../core/tasks_pb.ts";
|
|
17
17
|
import { file_flyteidl2_core_tasks } from "../core/tasks_pb.ts";
|
|
18
|
+
import type { SourceCode } from "../task/task_definition_pb.ts";
|
|
19
|
+
import { file_flyteidl2_task_task_definition } from "../task/task_definition_pb.ts";
|
|
18
20
|
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
19
21
|
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
20
22
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -23,7 +25,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
23
25
|
* Describes the file flyteidl2/app/app_definition.proto.
|
|
24
26
|
*/
|
|
25
27
|
export const file_flyteidl2_app_app_definition: GenFile = /*@__PURE__*/
|
|
26
|
-
fileDesc("CiJmbHl0ZWlkbDIvYXBwL2FwcF9kZWZpbml0aW9uLnByb3RvEg1mbHl0ZWlkbDIuYXBwIpYBCgpJZGVudGlmaWVyEgsKA29yZxgBIAEoCRIYCgdwcm9qZWN0GAIgASgJQge6SARyAhABEhcKBmRvbWFpbhgDIAEoCUIHukgEcgIQARJICgRuYW1lGAQgASgJQjq6SDdyNRABGB4yL15bQS1aYS16MC05XSg/
|
|
28
|
+
fileDesc("CiJmbHl0ZWlkbDIvYXBwL2FwcF9kZWZpbml0aW9uLnByb3RvEg1mbHl0ZWlkbDIuYXBwIpYBCgpJZGVudGlmaWVyEgsKA29yZxgBIAEoCRIYCgdwcm9qZWN0GAIgASgJQge6SARyAhABEhcKBmRvbWFpbhgDIAEoCUIHukgEcgIQARJICgRuYW1lGAQgASgJQjq6SDdyNRABGB4yL15bQS1aYS16MC05XSg/OltBLVphLXowLTktXXswLDYxfVtBLVphLXowLTldKT8kIvoBCgRNZXRhEi0KAmlkGAEgASgLMhkuZmx5dGVpZGwyLmFwcC5JZGVudGlmaWVyQga6SAPIAQESGQoIcmV2aXNpb24YAiABKARCB7pIBDICKAASLwoGbGFiZWxzGAMgAygLMh8uZmx5dGVpZGwyLmFwcC5NZXRhLkxhYmVsc0VudHJ5EhcKD2NvZGVfYnVuZGxlX3VyaRgEIAEoCRIvCgtzb3VyY2VfY29kZRgFIAEoCzIaLmZseXRlaWRsMi50YXNrLlNvdXJjZUNvZGUaLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJ1CgpBcHBXcmFwcGVyEgwKBGhvc3QYASABKAkSIQoDYXBwGAIgASgLMhIuZmx5dGVpZGwyLmFwcC5BcHBIABIrCgZhcHBfaWQYAyABKAsyGS5mbH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gIoABIUCgNtYXgYAiABKA1CB7pIBCoCKAAiUgoNVGltZW91dENvbmZpZxJBCg9yZXF1ZXN0X3RpbWVvdXQYASABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25CDbpICqoBByIDCJAcMgBCsQEKEWNvbS5mbHl0ZWlkbDIuYXBwQhJBcHBEZWZpbml0aW9uUHJvdG9IAlABWjFnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvYXBwogIDRkFYqgINRmx5dGVpZGwyLkFwcMoCDUZseXRlaWRsMlxBcHDiAhlGbHl0ZWlkbDJcQXBwXEdQQk1ldGFkYXRh6gIORmx5dGVpZGwyOjpBcHBiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_common_identity, file_flyteidl2_common_runtime_version, file_flyteidl2_core_artifact_id, file_flyteidl2_core_security, file_flyteidl2_core_tasks, file_flyteidl2_task_task_definition, file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
27
29
|
|
|
28
30
|
/**
|
|
29
31
|
* @generated from message flyteidl2.app.Identifier
|
|
@@ -89,6 +91,20 @@ export type Meta = Message<"flyteidl2.app.Meta"> & {
|
|
|
89
91
|
* @generated from field: map<string, string> labels = 3;
|
|
90
92
|
*/
|
|
91
93
|
labels: { [key: string]: string };
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Remote URI pointing to the code bundle used to build this app.
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: string code_bundle_uri = 4;
|
|
99
|
+
*/
|
|
100
|
+
codeBundleUri: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Link to the source code used to define this app.
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: flyteidl2.task.SourceCode source_code = 5;
|
|
106
|
+
*/
|
|
107
|
+
sourceCode?: SourceCode;
|
|
92
108
|
};
|
|
93
109
|
|
|
94
110
|
/**
|
|
@@ -197,8 +213,8 @@ export type Condition = Message<"flyteidl2.app.Condition"> & {
|
|
|
197
213
|
message: string;
|
|
198
214
|
|
|
199
215
|
/**
|
|
200
|
-
*
|
|
201
|
-
*
|
|
216
|
+
* Optimistic-concurrency counter bumped on every status write. This is NOT a
|
|
217
|
+
* deployment identity — use `deployment_id` to anchor per-deployment state.
|
|
202
218
|
*
|
|
203
219
|
* @generated from field: uint64 revision = 4;
|
|
204
220
|
*/
|
|
@@ -210,6 +226,21 @@ export type Condition = Message<"flyteidl2.app.Condition"> & {
|
|
|
210
226
|
* @generated from field: flyteidl2.common.EnrichedIdentity actor = 5;
|
|
211
227
|
*/
|
|
212
228
|
actor?: EnrichedIdentity;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Finer-grained substate qualifying deployment_status (e.g. FAILED + IMAGE_PULL_ERROR).
|
|
232
|
+
* Human-readable detail for a failure is carried in the existing `message` field.
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: flyteidl2.app.Status.Substate substate = 6;
|
|
235
|
+
*/
|
|
236
|
+
substate: Status_Substate;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Identity of the deployment this Condition applies to (the functional spec hash).
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: string deployment_id = 7;
|
|
242
|
+
*/
|
|
243
|
+
deploymentId: string;
|
|
213
244
|
};
|
|
214
245
|
|
|
215
246
|
/**
|
|
@@ -284,6 +315,23 @@ export type Status = Message<"flyteidl2.app.Status"> & {
|
|
|
284
315
|
* @generated from field: flyteidl2.app.MaterializedInputs materialized_inputs = 9;
|
|
285
316
|
*/
|
|
286
317
|
materializedInputs?: MaterializedInputs;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* LastStartedAt is the time the app most recently started (first start or restart).
|
|
321
|
+
* Unset for apps that never started, and for those last started before this field existed.
|
|
322
|
+
*
|
|
323
|
+
* @generated from field: google.protobuf.Timestamp last_started_at = 10;
|
|
324
|
+
*/
|
|
325
|
+
lastStartedAt?: Timestamp;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Cluster the app most recently ran on. Unlike assigned_cluster this is never cleared when the
|
|
329
|
+
* app is released, so a stopped app's persisted logs stay addressable. It is not an ownership
|
|
330
|
+
* claim — never route work with it, only reads that need to reach the cluster's data plane.
|
|
331
|
+
*
|
|
332
|
+
* @generated from field: string last_assigned_cluster = 11;
|
|
333
|
+
*/
|
|
334
|
+
lastAssignedCluster: string;
|
|
287
335
|
};
|
|
288
336
|
|
|
289
337
|
/**
|
|
@@ -357,16 +405,20 @@ export enum Status_DeploymentStatus {
|
|
|
357
405
|
ACTIVE = 7,
|
|
358
406
|
|
|
359
407
|
/**
|
|
360
|
-
* Triggered in response to desired app replicas > actual app replicas
|
|
408
|
+
* Triggered in response to desired app replicas > actual app replicas.
|
|
409
|
+
* Please use DEPLOYMENT_STATUS_ACTIVE with Substate.SCALING_UP instead.
|
|
361
410
|
*
|
|
362
|
-
* @generated from enum value: DEPLOYMENT_STATUS_SCALING_UP = 8;
|
|
411
|
+
* @generated from enum value: DEPLOYMENT_STATUS_SCALING_UP = 8 [deprecated = true];
|
|
412
|
+
* @deprecated
|
|
363
413
|
*/
|
|
364
414
|
SCALING_UP = 8,
|
|
365
415
|
|
|
366
416
|
/**
|
|
367
|
-
* Triggered in response to desired app replicas < actual app replicas
|
|
417
|
+
* Triggered in response to desired app replicas < actual app replicas.
|
|
418
|
+
* Please use DEPLOYMENT_STATUS_ACTIVE with Substate.SCALING_DOWN instead.
|
|
368
419
|
*
|
|
369
|
-
* @generated from enum value: DEPLOYMENT_STATUS_SCALING_DOWN = 9;
|
|
420
|
+
* @generated from enum value: DEPLOYMENT_STATUS_SCALING_DOWN = 9 [deprecated = true];
|
|
421
|
+
* @deprecated
|
|
370
422
|
*/
|
|
371
423
|
SCALING_DOWN = 9,
|
|
372
424
|
|
|
@@ -384,6 +436,122 @@ export enum Status_DeploymentStatus {
|
|
|
384
436
|
export const Status_DeploymentStatusSchema: GenEnum<Status_DeploymentStatus> = /*@__PURE__*/
|
|
385
437
|
enumDesc(file_flyteidl2_app_app_definition, 5, 0);
|
|
386
438
|
|
|
439
|
+
/**
|
|
440
|
+
* Finer-grained substate that qualifies a DeploymentStatus, surfaced on a Condition.
|
|
441
|
+
*
|
|
442
|
+
* @generated from enum flyteidl2.app.Status.Substate
|
|
443
|
+
*/
|
|
444
|
+
export enum Status_Substate {
|
|
445
|
+
/**
|
|
446
|
+
* No specific substate. On a DEPLOYMENT_STATUS_FAILED condition this is a
|
|
447
|
+
* legitimate terminal state meaning "failed for an unclassified reason";
|
|
448
|
+
* consumers must not assume every FAILED condition carries a specific substate.
|
|
449
|
+
*
|
|
450
|
+
* @generated from enum value: SUBSTATE_UNSPECIFIED = 0;
|
|
451
|
+
*/
|
|
452
|
+
SUBSTATE_UNSPECIFIED = 0,
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* The container image is being pulled. Qualifies DEPLOYMENT_STATUS_DEPLOYING.
|
|
456
|
+
*
|
|
457
|
+
* @generated from enum value: PULLING_IMAGE = 1;
|
|
458
|
+
*/
|
|
459
|
+
PULLING_IMAGE = 1,
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* The container is starting up. Qualifies DEPLOYMENT_STATUS_DEPLOYING.
|
|
463
|
+
*
|
|
464
|
+
* @generated from enum value: INITIALIZING = 2;
|
|
465
|
+
*/
|
|
466
|
+
INITIALIZING = 2,
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* The Knative admission webhook rejected the revision. Qualifies
|
|
470
|
+
* DEPLOYMENT_STATUS_DEPLOYING while the rejection may still resolve
|
|
471
|
+
* (admission is retried), and DEPLOYMENT_STATUS_FAILED once terminal.
|
|
472
|
+
*
|
|
473
|
+
* @generated from enum value: WEBHOOK_ERROR = 3;
|
|
474
|
+
*/
|
|
475
|
+
WEBHOOK_ERROR = 3,
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* The container image could not be pulled.
|
|
479
|
+
*
|
|
480
|
+
* @generated from enum value: IMAGE_PULL_ERROR = 4;
|
|
481
|
+
*/
|
|
482
|
+
IMAGE_PULL_ERROR = 4,
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* A referenced secret could not be mounted.
|
|
486
|
+
*
|
|
487
|
+
* @generated from enum value: SECRET_MOUNT_ERROR = 5;
|
|
488
|
+
*/
|
|
489
|
+
SECRET_MOUNT_ERROR = 5,
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* The container is repeatedly crashing on startup.
|
|
493
|
+
*
|
|
494
|
+
* @generated from enum value: CRASH_LOOP = 6;
|
|
495
|
+
*/
|
|
496
|
+
CRASH_LOOP = 6,
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* The container was killed for exceeding its memory limit.
|
|
500
|
+
*
|
|
501
|
+
* @generated from enum value: OOM_KILLED = 7;
|
|
502
|
+
*/
|
|
503
|
+
OOM_KILLED = 7,
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* The app is serving normally. Qualifies DEPLOYMENT_STATUS_ACTIVE.
|
|
507
|
+
* An ACTIVE+RUNNING condition newer than a FAILED condition for the same
|
|
508
|
+
* deployment means the failure resolved in place (the service became Ready
|
|
509
|
+
* without a redeploy); a bare ACTIVE with SUBSTATE_UNSPECIFIED carries no
|
|
510
|
+
* such recovery meaning.
|
|
511
|
+
*
|
|
512
|
+
* @generated from enum value: RUNNING = 8;
|
|
513
|
+
*/
|
|
514
|
+
RUNNING = 8,
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* The app has zero replicas and is idle; it will scale up on the first request.
|
|
518
|
+
* Qualifies DEPLOYMENT_STATUS_ACTIVE.
|
|
519
|
+
*
|
|
520
|
+
* @generated from enum value: SCALED_TO_ZERO = 9;
|
|
521
|
+
*/
|
|
522
|
+
SCALED_TO_ZERO = 9,
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* The app is cold-starting from zero replicas, typically after receiving
|
|
526
|
+
* a request. Qualifies DEPLOYMENT_STATUS_ACTIVE.
|
|
527
|
+
*
|
|
528
|
+
* @generated from enum value: SCALING_FROM_ZERO = 10;
|
|
529
|
+
*/
|
|
530
|
+
SCALING_FROM_ZERO = 10,
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Desired replicas exceed actual replicas. Qualifies DEPLOYMENT_STATUS_ACTIVE.
|
|
534
|
+
* Replaces the deprecated top-level DEPLOYMENT_STATUS_SCALING_UP.
|
|
535
|
+
*
|
|
536
|
+
* @generated from enum value: SCALING_UP = 11;
|
|
537
|
+
*/
|
|
538
|
+
SCALING_UP = 11,
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Actual replicas exceed desired replicas. Qualifies DEPLOYMENT_STATUS_ACTIVE.
|
|
542
|
+
* Replaces the deprecated top-level DEPLOYMENT_STATUS_SCALING_DOWN.
|
|
543
|
+
*
|
|
544
|
+
* @generated from enum value: SCALING_DOWN = 12;
|
|
545
|
+
*/
|
|
546
|
+
SCALING_DOWN = 12,
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* Describes the enum flyteidl2.app.Status.Substate.
|
|
551
|
+
*/
|
|
552
|
+
export const Status_SubstateSchema: GenEnum<Status_Substate> = /*@__PURE__*/
|
|
553
|
+
enumDesc(file_flyteidl2_app_app_definition, 5, 1);
|
|
554
|
+
|
|
387
555
|
/**
|
|
388
556
|
* @generated from message flyteidl2.app.K8sMetadata
|
|
389
557
|
*/
|
|
@@ -666,29 +834,22 @@ export type Input = Message<"flyteidl2.app.Input"> & {
|
|
|
666
834
|
case: "stringValue";
|
|
667
835
|
} | {
|
|
668
836
|
/**
|
|
669
|
-
*
|
|
670
|
-
* The artifact will be pinned at the time of the app creation.
|
|
837
|
+
* ID of the app.
|
|
671
838
|
*
|
|
672
|
-
* @generated from field: flyteidl2.
|
|
839
|
+
* @generated from field: flyteidl2.app.Identifier app_id = 5;
|
|
673
840
|
*/
|
|
674
|
-
value:
|
|
675
|
-
case: "
|
|
841
|
+
value: Identifier;
|
|
842
|
+
case: "appId";
|
|
676
843
|
} | {
|
|
677
844
|
/**
|
|
678
|
-
* ArtifactId is
|
|
845
|
+
* ArtifactId is the exact artifact version bound to this input, pinned by the
|
|
846
|
+
* client at deploy time. Recorded for lineage only; the server does not
|
|
847
|
+
* validate or resolve it.
|
|
679
848
|
*
|
|
680
|
-
* @generated from field: flyteidl2.core.
|
|
849
|
+
* @generated from field: flyteidl2.core.ArtifactVersionId artifact_id = 6;
|
|
681
850
|
*/
|
|
682
|
-
value:
|
|
851
|
+
value: ArtifactVersionId;
|
|
683
852
|
case: "artifactId";
|
|
684
|
-
} | {
|
|
685
|
-
/**
|
|
686
|
-
* ID of the app.
|
|
687
|
-
*
|
|
688
|
-
* @generated from field: flyteidl2.app.Identifier app_id = 5;
|
|
689
|
-
*/
|
|
690
|
-
value: Identifier;
|
|
691
|
-
case: "appId";
|
|
692
853
|
} | { case: undefined; value?: undefined };
|
|
693
854
|
};
|
|
694
855
|
|
|
@@ -9,7 +9,7 @@ import type { Identifier } from "./app_definition_pb.ts";
|
|
|
9
9
|
import { file_flyteidl2_app_app_definition } from "./app_definition_pb.ts";
|
|
10
10
|
import type { ReplicaIdentifier } from "./replica_definition_pb.ts";
|
|
11
11
|
import { file_flyteidl2_app_replica_definition } from "./replica_definition_pb.ts";
|
|
12
|
-
import type { LogLine, LogLines as LogLines$1 } from "../logs/dataplane/payload_pb.ts";
|
|
12
|
+
import type { LogLine, LogLines as LogLines$1, LogLineSource, LogsSource } from "../logs/dataplane/payload_pb.ts";
|
|
13
13
|
import { file_flyteidl2_logs_dataplane_payload } from "../logs/dataplane/payload_pb.ts";
|
|
14
14
|
import type { Message } from "@bufbuild/protobuf";
|
|
15
15
|
|
|
@@ -17,7 +17,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
17
17
|
* Describes the file flyteidl2/app/app_logs_payload.proto.
|
|
18
18
|
*/
|
|
19
19
|
export const file_flyteidl2_app_app_logs_payload: GenFile = /*@__PURE__*/
|
|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dGNoSABCDQoEcmVzcBIFukgCCAFCsgEKEWNvbS5mbHl0ZWlkbDIuYXBwQhNBcHBMb2dzUGF5bG9hZFByb3RvSAJQAVoxZ2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2FwcKICA0ZBWKoCDUZseXRlaWRsMi5BcHDKAg1GbHl0ZWlkbDJcQXBw4gIZRmx5dGVpZGwyXEFwcFxHUEJNZXRhZGF0YeoCDkZseXRlaWRsMjo6QXBwYgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_app_app_definition, file_flyteidl2_app_replica_definition, file_flyteidl2_logs_dataplane_payload]);
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @generated from message flyteidl2.app.TailLogsRequest
|
|
@@ -43,6 +43,15 @@ export type TailLogsRequest = Message<"flyteidl2.app.TailLogsRequest"> & {
|
|
|
43
43
|
value: ReplicaIdentifier;
|
|
44
44
|
case: "replicaId";
|
|
45
45
|
} | { case: undefined; value?: undefined };
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Which backends to stream from. Defaults to PERSISTED_ONLY. Use LIVE_ONLY to get the live
|
|
49
|
+
* tail without paying for a persisted-history scan, and re-request with LIVE_OR_PERSISTED when
|
|
50
|
+
* the history is actually wanted.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: flyteidl2.logs.dataplane.LogsSource source = 3;
|
|
53
|
+
*/
|
|
54
|
+
source: LogsSource;
|
|
46
55
|
};
|
|
47
56
|
|
|
48
57
|
/**
|
|
@@ -88,6 +97,13 @@ export type LogLines = Message<"flyteidl2.app.LogLines"> & {
|
|
|
88
97
|
* @generated from field: repeated flyteidl2.logs.dataplane.LogLine structured_lines = 3;
|
|
89
98
|
*/
|
|
90
99
|
structuredLines: LogLine[];
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Which backend these lines were read from. Every line in a batch has the same source.
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: flyteidl2.logs.dataplane.LogLineSource source = 4;
|
|
105
|
+
*/
|
|
106
|
+
source: LogLineSource;
|
|
91
107
|
};
|
|
92
108
|
|
|
93
109
|
/**
|