This is an automated email from the ASF dual-hosted git repository.
potiuk 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 5c93fbaab67 [AIP-94] Mark dags list-runs as migrated to airflowctl
(#69409)
5c93fbaab67 is described below
commit 5c93fbaab67aab2ab9e5a1c5c3237dcfcb1f6737
Author: Yuseok Jo <[email protected]>
AuthorDate: Mon Jul 6 06:26:48 2026 +0900
[AIP-94] Mark dags list-runs as migrated to airflowctl (#69409)
* [AIP-94] Mark dags list-runs/list-jobs/report/clear as migrated to
airflowctl
* [AIP-94] Mark dags list-runs as migrated to airflowctl
---
airflow-core/src/airflow/cli/commands/dag_command.py | 1 +
airflow-core/tests/unit/cli/commands/test_command_deprecations.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/airflow-core/src/airflow/cli/commands/dag_command.py
b/airflow-core/src/airflow/cli/commands/dag_command.py
index ec5b62ca1d3..78ceba514ec 100644
--- a/airflow-core/src/airflow/cli/commands/dag_command.py
+++ b/airflow-core/src/airflow/cli/commands/dag_command.py
@@ -760,6 +760,7 @@ def dag_list_jobs(args, dag: DAG | None = None, *, session:
Session = NEW_SESSIO
)
+@deprecated_for_airflowctl("airflowctl dagrun list")
@cli_utils.action_cli
@suppress_logs_and_warning
@providers_configuration_loaded
diff --git a/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
b/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
index c06605c80ae..e2e02be9f49 100644
--- a/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
+++ b/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
@@ -54,6 +54,7 @@ MIGRATED_CLI_COMMANDS = [
(dag_command.dag_list_import_errors, "airflowctl dags list-import-errors"),
(dag_command.dag_pause, "airflowctl dags pause"),
(dag_command.dag_unpause, "airflowctl dags unpause"),
+ (dag_command.dag_list_dag_runs, "airflowctl dagrun list"),
(pool_command.pool_list, "airflowctl pools list"),
(pool_command.pool_get, "airflowctl pools get"),
(pool_command.pool_set, "airflowctl pools create"),