This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-9-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 5e7cd0eb264000bb8337cd0f93fe655a4efdcab2 Author: Pankaj Singh <[email protected]> AuthorDate: Sat May 25 21:04:57 2024 +0530 Add max_consecutive_failed_dag_runs in API spec (#39830) (cherry picked from commit f4c4519f89fcfacf9ef3494f820e4138a2ec3d05) --- 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 ad97ce6442..948c0ed430 100644 --- a/airflow/api_connexion/openapi/v1.yaml +++ b/airflow/api_connexion/openapi/v1.yaml @@ -3037,6 +3037,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 b8da89e556..1c04b4d038 100644 --- a/airflow/www/static/js/types/api-generated.ts +++ b/airflow/www/static/js/types/api-generated.ts @@ -1064,6 +1064,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.
