Skip to content

Commit

Permalink
Add max_consecutive_failed_dag_runs in API spec (#39830)
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed May 25, 2024
1 parent cae9663 commit f4c4519
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions airflow/api_connexion/openapi/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
6 changes: 6 additions & 0 deletions airflow/www/static/js/types/api-generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f4c4519

Please sign in to comment.