Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add max_consecutive_failed_dag_runs in API spec #39830

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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