This is an automated email from the ASF dual-hosted git repository.

pankaj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new f4c4519f89 Add max_consecutive_failed_dag_runs in API spec (#39830)
f4c4519f89 is described below

commit f4c4519f89fcfacf9ef3494f820e4138a2ec3d05
Author: Pankaj Singh <[email protected]>
AuthorDate: Sat May 25 21:04:57 2024 +0530

    Add max_consecutive_failed_dag_runs in API spec (#39830)
---
 airflow/api_connexion/openapi/v1.yaml        | 8 ++++++++
 airflow/www/static/js/types/api-generated.ts | 6 ++++++
 2 files changed, 14 insertions(+)

diff --git a/airflow/api_connexion/openapi/v1.yaml 
b/airflow/api_connexion/openapi/v1.yaml
index 4e25341ace..3efff1ebf5 100644
--- a/airflow/api_connexion/openapi/v1.yaml
+++ b/airflow/api_connexion/openapi/v1.yaml
@@ -3123,6 +3123,14 @@ components:
             Earliest time at which this ``next_dagrun`` can be created.
 
             *New in version 2.3.0*
+        max_consecutive_failed_dag_runs:
+          type: integer
+          nullable: true
+          readOnly: true
+          description: |
+            (experimental) The maximum number of consecutive DAG failures 
before DAG is automatically paused.
+
+            *New in version 2.9.0*
 
     DAGCollection:
       description: |
diff --git a/airflow/www/static/js/types/api-generated.ts 
b/airflow/www/static/js/types/api-generated.ts
index c6cc5daddd..ff65443fe7 100644
--- a/airflow/www/static/js/types/api-generated.ts
+++ b/airflow/www/static/js/types/api-generated.ts
@@ -1116,6 +1116,12 @@ export interface components {
        * *New in version 2.3.0*
        */
       next_dagrun_create_after?: string | null;
+      /**
+       * @description (experimental) The maximum number of consecutive DAG 
failures before DAG is automatically paused.
+       *
+       * *New in version 2.9.0*
+       */
+      max_consecutive_failed_dag_runs?: number | null;
     };
     /**
      * @description Collection of DAGs.

Reply via email to