@flyteorg/flyteidl2 2.0.8 → 2.0.15
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 +70 -1
- package/flyteidl2/auth/auth_service_pb.ts +9 -2
- package/flyteidl2/cluster/payload_pb.ts +147 -0
- package/flyteidl2/cluster/service_pb.ts +30 -0
- package/flyteidl2/common/phase_pb.ts +9 -1
- package/flyteidl2/common/run_pb.ts +39 -0
- package/flyteidl2/connector/connector_pb.ts +17 -3
- package/flyteidl2/core/execution_pb.ts +139 -11
- package/flyteidl2/core/literals_pb.ts +103 -4
- package/flyteidl2/core/tasks_pb.ts +29 -3
- package/flyteidl2/dataproxy/dataproxy_service_pb.ts +415 -5
- package/flyteidl2/notification/definition_pb.ts +81 -16
- package/flyteidl2/settings/settings_definition_pb.ts +525 -0
- package/flyteidl2/settings/settings_service_pb.ts +301 -0
- package/flyteidl2/task/task_service_pb.ts +9 -1
- package/flyteidl2/workflow/queue_service_pb.ts +1 -2
- package/flyteidl2/workflow/run_definition_pb.ts +105 -90
- package/flyteidl2/workflow/run_info_pb.ts +59 -0
- package/flyteidl2/workflow/run_logs_service_pb.ts +4 -1
- package/flyteidl2/workflow/run_service_pb.ts +161 -19
- package/flyteidl2/workflow/state_service_pb.ts +10 -1
- package/package.json +1 -1
- package/flyteidl2/core/errors_pb.ts +0 -104
|
@@ -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("Ch5mbHl0ZWlkbDIvY29yZS9leGVjdXRpb24ucHJvdG8SDmZseXRlaWRsMi5jb3JlIqcBChFXb3JrZmxvd0V4ZWN1dGlvbiKRAQoFUGhhc2USDQoJVU5ERUZJTkVEEAASCgoGUVV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wyLkNvcmXKAg5GbHl0ZWlkbDJcQ29yZeICGkZseXRlaWRsMlxDb3JlXEdQQk1ldGFkYXRh6gIPRmx5dGVpZGwyOjpDb3JlYgZwcm90bzM", [file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Indicates various phases of Workflow Execution
|
|
@@ -293,6 +293,19 @@ export type ExecutionError = Message<"flyteidl2.core.ExecutionError"> & {
|
|
|
293
293
|
* @generated from field: string worker = 6;
|
|
294
294
|
*/
|
|
295
295
|
worker: string;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Whether this failure consumed a user retry. Mirrors the value the
|
|
299
|
+
* container reported via ContainerError.kind. Default is NON_RECOVERABLE
|
|
300
|
+
* (proto3 zero), matching the ContainerError.Kind default — producers
|
|
301
|
+
* (lease worker, leasor) must always set this explicitly when surfacing
|
|
302
|
+
* a recoverable failure. The SDK error-marshaling path is the source of
|
|
303
|
+
* truth: ordinary exceptions -> RECOVERABLE; flyte.errors.NonRecoverableError
|
|
304
|
+
* -> NON_RECOVERABLE.
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: flyteidl2.core.ContainerError.Kind recoverability = 7;
|
|
307
|
+
*/
|
|
308
|
+
recoverability: ContainerError_Kind;
|
|
296
309
|
};
|
|
297
310
|
|
|
298
311
|
/**
|
|
@@ -330,6 +343,94 @@ export enum ExecutionError_ErrorKind {
|
|
|
330
343
|
export const ExecutionError_ErrorKindSchema: GenEnum<ExecutionError_ErrorKind> = /*@__PURE__*/
|
|
331
344
|
enumDesc(file_flyteidl2_core_execution, 3, 0);
|
|
332
345
|
|
|
346
|
+
/**
|
|
347
|
+
* Error message to propagate detailed errors from container executions to the
|
|
348
|
+
* execution engine.
|
|
349
|
+
*
|
|
350
|
+
* @generated from message flyteidl2.core.ContainerError
|
|
351
|
+
*/
|
|
352
|
+
export type ContainerError = Message<"flyteidl2.core.ContainerError"> & {
|
|
353
|
+
/**
|
|
354
|
+
* A simplified code for errors, so that we can provide a glossary of all possible errors.
|
|
355
|
+
*
|
|
356
|
+
* @generated from field: string code = 1;
|
|
357
|
+
*/
|
|
358
|
+
code: string;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* A detailed error message.
|
|
362
|
+
*
|
|
363
|
+
* @generated from field: string message = 2;
|
|
364
|
+
*/
|
|
365
|
+
message: string;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
|
|
369
|
+
*
|
|
370
|
+
* @generated from field: flyteidl2.core.ContainerError.Kind kind = 3;
|
|
371
|
+
*/
|
|
372
|
+
kind: ContainerError_Kind;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Defines the origin of the error (system, user, unknown).
|
|
376
|
+
*
|
|
377
|
+
* @generated from field: flyteidl2.core.ExecutionError.ErrorKind origin = 4;
|
|
378
|
+
*/
|
|
379
|
+
origin: ExecutionError_ErrorKind;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Describes the message flyteidl2.core.ContainerError.
|
|
384
|
+
* Use `create(ContainerErrorSchema)` to create a new message.
|
|
385
|
+
*/
|
|
386
|
+
export const ContainerErrorSchema: GenMessage<ContainerError> = /*@__PURE__*/
|
|
387
|
+
messageDesc(file_flyteidl2_core_execution, 4);
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Defines a generic error type that dictates the behavior of the retry strategy.
|
|
391
|
+
*
|
|
392
|
+
* @generated from enum flyteidl2.core.ContainerError.Kind
|
|
393
|
+
*/
|
|
394
|
+
export enum ContainerError_Kind {
|
|
395
|
+
/**
|
|
396
|
+
* @generated from enum value: NON_RECOVERABLE = 0;
|
|
397
|
+
*/
|
|
398
|
+
NON_RECOVERABLE = 0,
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* @generated from enum value: RECOVERABLE = 1;
|
|
402
|
+
*/
|
|
403
|
+
RECOVERABLE = 1,
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Describes the enum flyteidl2.core.ContainerError.Kind.
|
|
408
|
+
*/
|
|
409
|
+
export const ContainerError_KindSchema: GenEnum<ContainerError_Kind> = /*@__PURE__*/
|
|
410
|
+
enumDesc(file_flyteidl2_core_execution, 4, 0);
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* Defines the errors.pb file format the container can produce to communicate
|
|
414
|
+
* failure reasons to the execution engine.
|
|
415
|
+
*
|
|
416
|
+
* @generated from message flyteidl2.core.ErrorDocument
|
|
417
|
+
*/
|
|
418
|
+
export type ErrorDocument = Message<"flyteidl2.core.ErrorDocument"> & {
|
|
419
|
+
/**
|
|
420
|
+
* The error raised during execution.
|
|
421
|
+
*
|
|
422
|
+
* @generated from field: flyteidl2.core.ContainerError error = 1;
|
|
423
|
+
*/
|
|
424
|
+
error?: ContainerError;
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Describes the message flyteidl2.core.ErrorDocument.
|
|
429
|
+
* Use `create(ErrorDocumentSchema)` to create a new message.
|
|
430
|
+
*/
|
|
431
|
+
export const ErrorDocumentSchema: GenMessage<ErrorDocument> = /*@__PURE__*/
|
|
432
|
+
messageDesc(file_flyteidl2_core_execution, 5);
|
|
433
|
+
|
|
333
434
|
/**
|
|
334
435
|
* Log information for the task that is specific to a log sink
|
|
335
436
|
* When our log story is flushed out, we may have more metadata here like log link expiry
|
|
@@ -388,7 +489,7 @@ export type TaskLog = Message<"flyteidl2.core.TaskLog"> & {
|
|
|
388
489
|
* Use `create(TaskLogSchema)` to create a new message.
|
|
389
490
|
*/
|
|
390
491
|
export const TaskLogSchema: GenMessage<TaskLog> = /*@__PURE__*/
|
|
391
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
492
|
+
messageDesc(file_flyteidl2_core_execution, 6);
|
|
392
493
|
|
|
393
494
|
/**
|
|
394
495
|
* @generated from enum flyteidl2.core.TaskLog.MessageFormat
|
|
@@ -414,7 +515,7 @@ export enum TaskLog_MessageFormat {
|
|
|
414
515
|
* Describes the enum flyteidl2.core.TaskLog.MessageFormat.
|
|
415
516
|
*/
|
|
416
517
|
export const TaskLog_MessageFormatSchema: GenEnum<TaskLog_MessageFormat> = /*@__PURE__*/
|
|
417
|
-
enumDesc(file_flyteidl2_core_execution,
|
|
518
|
+
enumDesc(file_flyteidl2_core_execution, 6, 0);
|
|
418
519
|
|
|
419
520
|
/**
|
|
420
521
|
* @generated from enum flyteidl2.core.TaskLog.LinkType
|
|
@@ -446,7 +547,7 @@ export enum TaskLog_LinkType {
|
|
|
446
547
|
* Describes the enum flyteidl2.core.TaskLog.LinkType.
|
|
447
548
|
*/
|
|
448
549
|
export const TaskLog_LinkTypeSchema: GenEnum<TaskLog_LinkType> = /*@__PURE__*/
|
|
449
|
-
enumDesc(file_flyteidl2_core_execution,
|
|
550
|
+
enumDesc(file_flyteidl2_core_execution, 6, 1);
|
|
450
551
|
|
|
451
552
|
/**
|
|
452
553
|
* Contains metadata required to identify logs produces by a set of pods
|
|
@@ -463,6 +564,11 @@ export type LogContext = Message<"flyteidl2.core.LogContext"> & {
|
|
|
463
564
|
* @generated from field: string primary_pod_name = 2;
|
|
464
565
|
*/
|
|
465
566
|
primaryPodName: string;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* @generated from field: flyteidl2.core.ConnectorLogContext connector = 3;
|
|
570
|
+
*/
|
|
571
|
+
connector?: ConnectorLogContext;
|
|
466
572
|
};
|
|
467
573
|
|
|
468
574
|
/**
|
|
@@ -470,7 +576,29 @@ export type LogContext = Message<"flyteidl2.core.LogContext"> & {
|
|
|
470
576
|
* Use `create(LogContextSchema)` to create a new message.
|
|
471
577
|
*/
|
|
472
578
|
export const LogContextSchema: GenMessage<LogContext> = /*@__PURE__*/
|
|
473
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
579
|
+
messageDesc(file_flyteidl2_core_execution, 7);
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* ConnectorLogContext describes how to reach a connector that owns an action's logs.
|
|
583
|
+
*
|
|
584
|
+
* @generated from message flyteidl2.core.ConnectorLogContext
|
|
585
|
+
*/
|
|
586
|
+
export type ConnectorLogContext = Message<"flyteidl2.core.ConnectorLogContext"> & {
|
|
587
|
+
/**
|
|
588
|
+
* gRPC endpoint of the connector deployment (e.g.
|
|
589
|
+
* "batch-job-connector.flytesnacks-development.svc.cluster.local:80").
|
|
590
|
+
*
|
|
591
|
+
* @generated from field: string endpoint = 1;
|
|
592
|
+
*/
|
|
593
|
+
endpoint: string;
|
|
594
|
+
};
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* Describes the message flyteidl2.core.ConnectorLogContext.
|
|
598
|
+
* Use `create(ConnectorLogContextSchema)` to create a new message.
|
|
599
|
+
*/
|
|
600
|
+
export const ConnectorLogContextSchema: GenMessage<ConnectorLogContext> = /*@__PURE__*/
|
|
601
|
+
messageDesc(file_flyteidl2_core_execution, 8);
|
|
474
602
|
|
|
475
603
|
/**
|
|
476
604
|
* Contains metadata required to identify logs produces by a single pod
|
|
@@ -509,7 +637,7 @@ export type PodLogContext = Message<"flyteidl2.core.PodLogContext"> & {
|
|
|
509
637
|
* Use `create(PodLogContextSchema)` to create a new message.
|
|
510
638
|
*/
|
|
511
639
|
export const PodLogContextSchema: GenMessage<PodLogContext> = /*@__PURE__*/
|
|
512
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
640
|
+
messageDesc(file_flyteidl2_core_execution, 9);
|
|
513
641
|
|
|
514
642
|
/**
|
|
515
643
|
* Contains metadata required to identify logs produces by a single container
|
|
@@ -533,7 +661,7 @@ export type ContainerContext = Message<"flyteidl2.core.ContainerContext"> & {
|
|
|
533
661
|
* Use `create(ContainerContextSchema)` to create a new message.
|
|
534
662
|
*/
|
|
535
663
|
export const ContainerContextSchema: GenMessage<ContainerContext> = /*@__PURE__*/
|
|
536
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
664
|
+
messageDesc(file_flyteidl2_core_execution, 10);
|
|
537
665
|
|
|
538
666
|
/**
|
|
539
667
|
* Contains metadata required to identify logs produces by a single light-weight process that was run inside a container
|
|
@@ -557,7 +685,7 @@ export type ContainerContext_ProcessContext = Message<"flyteidl2.core.ContainerC
|
|
|
557
685
|
* Use `create(ContainerContext_ProcessContextSchema)` to create a new message.
|
|
558
686
|
*/
|
|
559
687
|
export const ContainerContext_ProcessContextSchema: GenMessage<ContainerContext_ProcessContext> = /*@__PURE__*/
|
|
560
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
688
|
+
messageDesc(file_flyteidl2_core_execution, 10, 0);
|
|
561
689
|
|
|
562
690
|
/**
|
|
563
691
|
* Represents customized execution run-time attributes.
|
|
@@ -578,7 +706,7 @@ export type QualityOfServiceSpec = Message<"flyteidl2.core.QualityOfServiceSpec"
|
|
|
578
706
|
* Use `create(QualityOfServiceSpecSchema)` to create a new message.
|
|
579
707
|
*/
|
|
580
708
|
export const QualityOfServiceSpecSchema: GenMessage<QualityOfServiceSpec> = /*@__PURE__*/
|
|
581
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
709
|
+
messageDesc(file_flyteidl2_core_execution, 11);
|
|
582
710
|
|
|
583
711
|
/**
|
|
584
712
|
* Indicates the priority of an execution.
|
|
@@ -609,7 +737,7 @@ export type QualityOfService = Message<"flyteidl2.core.QualityOfService"> & {
|
|
|
609
737
|
* Use `create(QualityOfServiceSchema)` to create a new message.
|
|
610
738
|
*/
|
|
611
739
|
export const QualityOfServiceSchema: GenMessage<QualityOfService> = /*@__PURE__*/
|
|
612
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
740
|
+
messageDesc(file_flyteidl2_core_execution, 12);
|
|
613
741
|
|
|
614
742
|
/**
|
|
615
743
|
* @generated from enum flyteidl2.core.QualityOfService.Tier
|
|
@@ -642,5 +770,5 @@ export enum QualityOfService_Tier {
|
|
|
642
770
|
* Describes the enum flyteidl2.core.QualityOfService.Tier.
|
|
643
771
|
*/
|
|
644
772
|
export const QualityOfService_TierSchema: GenEnum<QualityOfService_Tier> = /*@__PURE__*/
|
|
645
|
-
enumDesc(file_flyteidl2_core_execution,
|
|
773
|
+
enumDesc(file_flyteidl2_core_execution, 12, 0);
|
|
646
774
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
6
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
7
8
|
import type { BlobType, Error, LiteralType, OutputReference, SchemaType, StructuredDatasetType } from "./types_pb.ts";
|
|
8
9
|
import { file_flyteidl2_core_types } from "./types_pb.ts";
|
|
9
10
|
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
@@ -14,7 +15,7 @@ import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
|
14
15
|
* Describes the file flyteidl2/core/literals.proto.
|
|
15
16
|
*/
|
|
16
17
|
export const file_flyteidl2_core_literals: GenFile = /*@__PURE__*/
|
|
17
|
-
fileDesc("Ch1mbHl0ZWlkbDIvY29yZS9saXRlcmFscy5wcm90bxIOZmx5dGVpZGwyLmNvcmUiyAEKCVByaW1pdGl2ZRIRCgdpbnRlZ2VyGAEgASgDSAASFQoLZmxvYXRfdmFsdWUYAiABKAFIABIWCgxzdHJpbmdfdmFsdWUYAyABKAlIABIRCgdib29sZWFuGAQgASgISAASLgoIZGF0ZXRpbWUYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAASLQoIZHVyYXRpb24YBiABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25IAEIHCgV2YWx1ZSIGCgRWb2lkIkMKBEJsb2ISLgoIbWV0YWRhdGEYASABKAsyHC5mbHl0ZWlkbDIuY29yZS5CbG9iTWV0YWRhdGESCwoDdXJpGAMgASgJIjYKDEJsb2JNZX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91dBgBIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbkIIukgFqgECMgASNQoIZGVhZGxpbmUYAiABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25CCLpIBaoBAjIAQrIBChJjb20uZmx5dGVpZGwyLmNvcmVCDUxpdGVyYWxzUHJvdG9IAlABWjJnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvY29yZaICA0ZDWKoCDkZseXRlaWRsMi5Db3JlygIORmx5dGVpZGwyXENvcmXiAhpGbHl0ZWlkbDJcQ29yZVxHUEJNZXRhZGF0YeoCD0ZseXRlaWRsMjo6Q29yZWIGcHJvdG8z", [file_buf_validate_validate, file_flyteidl2_core_types, file_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_timestamp]);
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
* Primitive Types
|
|
@@ -649,6 +650,47 @@ export type KeyValuePair = Message<"flyteidl2.core.KeyValuePair"> & {
|
|
|
649
650
|
export const KeyValuePairSchema: GenMessage<KeyValuePair> = /*@__PURE__*/
|
|
650
651
|
messageDesc(file_flyteidl2_core_literals, 19);
|
|
651
652
|
|
|
653
|
+
/**
|
|
654
|
+
* Backoff policy applied between user retries. Computed delay for retry n
|
|
655
|
+
* (0-indexed) is: min(base * factor**n, cap). All fields are optional; if
|
|
656
|
+
* all are unset, no backoff is applied (retries fire immediately). An unset
|
|
657
|
+
* factor is interpreted as 1.0 (constant delay).
|
|
658
|
+
*
|
|
659
|
+
* @generated from message flyteidl2.core.Backoff
|
|
660
|
+
*/
|
|
661
|
+
export type Backoff = Message<"flyteidl2.core.Backoff"> & {
|
|
662
|
+
/**
|
|
663
|
+
* Initial delay before the first retry. Must be >= 0 when set.
|
|
664
|
+
*
|
|
665
|
+
* @generated from field: google.protobuf.Duration base = 1;
|
|
666
|
+
*/
|
|
667
|
+
base?: Duration;
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Multiplier applied per retry. factor=1 yields constant delay; factor=2
|
|
671
|
+
* doubles each time. When unset, factor is treated as 1.0. Must be >= 1.0
|
|
672
|
+
* when set.
|
|
673
|
+
*
|
|
674
|
+
* @generated from field: optional double factor = 2;
|
|
675
|
+
*/
|
|
676
|
+
factor?: number;
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Upper bound on the computed delay. Required when factor > 1 to prevent
|
|
680
|
+
* unbounded growth. Must be >= 0 when set.
|
|
681
|
+
*
|
|
682
|
+
* @generated from field: google.protobuf.Duration cap = 3;
|
|
683
|
+
*/
|
|
684
|
+
cap?: Duration;
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Describes the message flyteidl2.core.Backoff.
|
|
689
|
+
* Use `create(BackoffSchema)` to create a new message.
|
|
690
|
+
*/
|
|
691
|
+
export const BackoffSchema: GenMessage<Backoff> = /*@__PURE__*/
|
|
692
|
+
messageDesc(file_flyteidl2_core_literals, 20);
|
|
693
|
+
|
|
652
694
|
/**
|
|
653
695
|
* Retry strategy associated with an executable unit.
|
|
654
696
|
*
|
|
@@ -656,12 +698,23 @@ export const KeyValuePairSchema: GenMessage<KeyValuePair> = /*@__PURE__*/
|
|
|
656
698
|
*/
|
|
657
699
|
export type RetryStrategy = Message<"flyteidl2.core.RetryStrategy"> & {
|
|
658
700
|
/**
|
|
659
|
-
* Number of retries. Retries
|
|
660
|
-
*
|
|
701
|
+
* Number of user retries. Retries are consumed when the job fails with a
|
|
702
|
+
* recoverable error. Retries are NOT consumed when user code raises
|
|
703
|
+
* NonRecoverableError (see ContainerError.Kind.NON_RECOVERABLE).
|
|
704
|
+
* The number of retries must be less than or equal to 10.
|
|
661
705
|
*
|
|
662
706
|
* @generated from field: uint32 retries = 5;
|
|
663
707
|
*/
|
|
664
708
|
retries: number;
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Optional backoff policy applied between user retries. If unset, retries
|
|
712
|
+
* fire immediately back-to-back. Backoff applies only to user retries;
|
|
713
|
+
* system retries are governed by platform recovery policy.
|
|
714
|
+
*
|
|
715
|
+
* @generated from field: flyteidl2.core.Backoff backoff = 6;
|
|
716
|
+
*/
|
|
717
|
+
backoff?: Backoff;
|
|
665
718
|
};
|
|
666
719
|
|
|
667
720
|
/**
|
|
@@ -669,5 +722,51 @@ export type RetryStrategy = Message<"flyteidl2.core.RetryStrategy"> & {
|
|
|
669
722
|
* Use `create(RetryStrategySchema)` to create a new message.
|
|
670
723
|
*/
|
|
671
724
|
export const RetryStrategySchema: GenMessage<RetryStrategy> = /*@__PURE__*/
|
|
672
|
-
messageDesc(file_flyteidl2_core_literals,
|
|
725
|
+
messageDesc(file_flyteidl2_core_literals, 21);
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* Timeout strategy for an action — additional bounds layered on top of
|
|
729
|
+
* TaskMetadata.timeout (the per-attempt RUNNING-phase bound, a.k.a.
|
|
730
|
+
* max_runtime). Each field below is independently optional. For every
|
|
731
|
+
* duration field in this message, a value of 0 (or an unset field) is
|
|
732
|
+
* interpreted as unlimited (no bound applied). Negative values are
|
|
733
|
+
* rejected.
|
|
734
|
+
*
|
|
735
|
+
* queued_timeout is anchored per attempt (resets on retry). deadline is
|
|
736
|
+
* anchored once at the timestamp the action first entered
|
|
737
|
+
* ACTION_PHASE_QUEUED, recorded by the actions service and reused across
|
|
738
|
+
* all attempts (user or system).
|
|
739
|
+
*
|
|
740
|
+
* @generated from message flyteidl2.core.TimeoutStrategy
|
|
741
|
+
*/
|
|
742
|
+
export type TimeoutStrategy = Message<"flyteidl2.core.TimeoutStrategy"> & {
|
|
743
|
+
/**
|
|
744
|
+
* Wall-clock spent in ACTION_PHASE_QUEUED + ACTION_PHASE_WAITING_FOR_RESOURCES
|
|
745
|
+
* before the action enters ACTION_PHASE_INITIALIZING. Per attempt — resets
|
|
746
|
+
* on each retry. Enforced by the leasor (pre-lease) and the lease worker
|
|
747
|
+
* (post-lease, before user code starts). 0 (or unset) means unlimited.
|
|
748
|
+
*
|
|
749
|
+
* @generated from field: google.protobuf.Duration queued_timeout = 1;
|
|
750
|
+
*/
|
|
751
|
+
queuedTimeout?: Duration;
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* Wall-clock from first ACTION_PHASE_QUEUED timestamp to a terminal phase,
|
|
755
|
+
* across ALL attempts (user and system). One-time, absolute. If deadline
|
|
756
|
+
* fires while an attempt is mid-flight, the attempt is reaped and the
|
|
757
|
+
* action terminates as TIMED_OUT regardless of TaskMetadata.timeout or
|
|
758
|
+
* remaining retry budget. Enforced by the leasor. 0 (or unset) means
|
|
759
|
+
* unlimited.
|
|
760
|
+
*
|
|
761
|
+
* @generated from field: google.protobuf.Duration deadline = 2;
|
|
762
|
+
*/
|
|
763
|
+
deadline?: Duration;
|
|
764
|
+
};
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Describes the message flyteidl2.core.TimeoutStrategy.
|
|
768
|
+
* Use `create(TimeoutStrategySchema)` to create a new message.
|
|
769
|
+
*/
|
|
770
|
+
export const TimeoutStrategySchema: GenMessage<TimeoutStrategy> = /*@__PURE__*/
|
|
771
|
+
messageDesc(file_flyteidl2_core_literals, 22);
|
|
673
772
|
|
|
@@ -12,7 +12,7 @@ import type { Identifier } from "./identifier_pb.ts";
|
|
|
12
12
|
import { file_flyteidl2_core_identifier } from "./identifier_pb.ts";
|
|
13
13
|
import type { TypedInterface } from "./interface_pb.ts";
|
|
14
14
|
import { file_flyteidl2_core_interface } from "./interface_pb.ts";
|
|
15
|
-
import type { KeyValuePair, RetryStrategy } from "./literals_pb.ts";
|
|
15
|
+
import type { KeyValuePair, RetryStrategy, TimeoutStrategy } from "./literals_pb.ts";
|
|
16
16
|
import { file_flyteidl2_core_literals } from "./literals_pb.ts";
|
|
17
17
|
import type { SecurityContext } from "./security_pb.ts";
|
|
18
18
|
import { file_flyteidl2_core_security } from "./security_pb.ts";
|
|
@@ -24,7 +24,7 @@ import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
|
24
24
|
* Describes the file flyteidl2/core/tasks.proto.
|
|
25
25
|
*/
|
|
26
26
|
export const file_flyteidl2_core_tasks: GenFile = /*@__PURE__*/
|
|
27
|
-
fileDesc("
|
|
27
|
+
fileDesc("ChpmbHl0ZWlkbDIvY29yZS90YXNrcy5wcm90bxIOZmx5dGVpZGwyLmNvcmUitAIKCVJlc291cmNlcxI5CghyZXF1ZXN0cxgBIAMoCzInLmZseXRlaWRsMi5jb3JlLlJlc291cmNlcy5SZXNvdXJjZUVudHJ5EjcKBmxpbWl0cxgCIAMoCzInLmZseXRlaWRsMi5jb3JlLlJlc291cmNlcy5SZXNvdXJjZUVudHJ5GlQKDVJlc291cmNlRW50cnkSNAoEbmFtZRgBIAEoDjImLmZseXRlaWRsMi5jb3JlLlJlc291cmNlcy5SZXNvdXJjZU5hbWUSDQoFdmFsdWUYAiABKAkiXQoMUmVzb3VyY2VOYW1lEgsKB1VOS05PV04QABIHCgNDUFUQARIHCgNHUFUQAhIKCgZNRU1PUlkQAxILCgdTVE9SQUdFEAQSFQoRRVBIRU1FUkFMX1NUT1JBR0UQBSKOAgoOR1BVQWNjZWxlcmF0b3ISDgoGZGV2aWNlGAEgASgJEhcKDXVucGFydGl0aW9uZWQYAiABKAhIABIYCg5wYXJ0aXRpb25fc2l6ZRgDIAEoCUgAEkAKDGRldmljZV9jbGFzcxgEIAEoDjIqLmZseXRlaWRsMi5jb3JlLkdQVUFjY2VsZXJhdG9yLkRldmljZUNsYXNzIl8KC0RldmljZUNsYXNzEg4KCk5WSURJQV9HUFUQABIOCgpHT09HTEVfVFBVEAESEQoNQU1BWk9OX05FVVJPThACEgsKB0FNRF9HUFUQAxIQCgxIQUJBTkFfR0FVREkQBEIWChRwYXJ0aXRpb25fc2l6ZV92YWx1ZSJKCgxTaGFyZWRNZW1vcnkSEgoKbW91bnRfcGF0aBgBIAEoCRISCgptb3VudF9uYW1lGAIgASgJEhIKCnNpemVfbGltaXQYAyAB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U3FsEhEKCXN0YXRlbWVudBgBIAEoCRIsCgdkaWFsZWN0GAIgASgOMhsuZmx5dGVpZGwyLmNvcmUuU3FsLkRpYWxlY3QiNwoHRGlhbGVjdBINCglVTkRFRklORUQQABIICgRBTlNJEAESCAoESElWRRACEgkKBU9USEVSEANCrwEKEmNvbS5mbHl0ZWlkbDIuY29yZUIKVGFza3NQcm90b0gCUAFaMmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9jb3JlogIDRkNYqgIORmx5dGVpZGwyLkNvcmXKAg5GbHl0ZWlkbDJcQ29yZeICGkZseXRlaWRsMlxDb3JlXEdQQk1ldGFkYXRh6gIPRmx5dGVpZGwyOjpDb3JlYgZwcm90bzM", [file_flyteidl2_common_identifier, file_flyteidl2_core_execution, file_flyteidl2_core_identifier, file_flyteidl2_core_interface, file_flyteidl2_core_literals, file_flyteidl2_core_security, file_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_wrappers]);
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* A customizable interface to convey resources requested for a container. This can be interpreted differently for different
|
|
@@ -374,7 +374,10 @@ export type TaskMetadata = Message<"flyteidl2.core.TaskMetadata"> & {
|
|
|
374
374
|
runtime?: RuntimeMetadata;
|
|
375
375
|
|
|
376
376
|
/**
|
|
377
|
-
*
|
|
377
|
+
* Wall-clock bound on a single attempt's ACTION_PHASE_RUNNING phase
|
|
378
|
+
* (a.k.a. max_runtime). Per attempt — resets on each retry. Enforced by
|
|
379
|
+
* the lease worker. Unset means unlimited.
|
|
380
|
+
* For queued_timeout and deadline, see TaskMetadata.timeouts (field 22).
|
|
378
381
|
*
|
|
379
382
|
* @generated from field: google.protobuf.Duration timeout = 4;
|
|
380
383
|
*/
|
|
@@ -498,6 +501,29 @@ export type TaskMetadata = Message<"flyteidl2.core.TaskMetadata"> & {
|
|
|
498
501
|
* @generated from field: flyteidl2.common.RunIdentifier image_build_run = 19;
|
|
499
502
|
*/
|
|
500
503
|
imageBuildRun?: RunIdentifier;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* IsEntryPoint indicates whether this task will launch additional actions as it runs.
|
|
507
|
+
*
|
|
508
|
+
* @generated from field: bool is_entrypoint = 20;
|
|
509
|
+
*/
|
|
510
|
+
isEntrypoint: boolean;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Remote URI pointing to the code bundle used to build this task.
|
|
514
|
+
*
|
|
515
|
+
* @generated from field: string code_bundle_uri = 21;
|
|
516
|
+
*/
|
|
517
|
+
codeBundleUri: string;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Additional timeout bounds (queued_timeout, deadline) layered on top of
|
|
521
|
+
* the per-attempt RUNNING-phase bound expressed by `timeout` (field 4).
|
|
522
|
+
* Each bound is independently optional; an unspecified bound is unlimited.
|
|
523
|
+
*
|
|
524
|
+
* @generated from field: flyteidl2.core.TimeoutStrategy timeouts = 22;
|
|
525
|
+
*/
|
|
526
|
+
timeouts?: TimeoutStrategy;
|
|
501
527
|
};
|
|
502
528
|
|
|
503
529
|
/**
|