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 924f022d901 [AIP-94] Mark dags list-import-errors as migrated to
airflowctl (#68602)
924f022d901 is described below
commit 924f022d901acebaf75f8c1d9259bbcc024481ad
Author: Yuseok Jo <[email protected]>
AuthorDate: Sun Jul 5 03:45:35 2026 +0900
[AIP-94] Mark dags list-import-errors as migrated to airflowctl (#68602)
---
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 6a5b9b3a7cf..41d1c8c6669 100644
--- a/airflow-core/src/airflow/cli/commands/dag_command.py
+++ b/airflow-core/src/airflow/cli/commands/dag_command.py
@@ -638,6 +638,7 @@ def dag_details(args, *, session: Session = NEW_SESSION):
@cli_utils.action_cli
+@deprecated_for_airflowctl("airflowctl dags list-import-errors")
@suppress_logs_and_warning
@providers_configuration_loaded
@provide_session
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 969c3746a11..937c9fba44f 100644
--- a/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
+++ b/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
@@ -44,6 +44,7 @@ MIGRATED_CLI_COMMANDS = [
(dag_command.dag_trigger, "airflowctl dags trigger"),
(dag_command.dag_delete, "airflowctl dags delete"),
(dag_command.dag_details, "airflowctl dags get-details"),
+ (dag_command.dag_list_import_errors, "airflowctl dags list-import-errors"),
(pool_command.pool_list, "airflowctl pools list"),
(pool_command.pool_get, "airflowctl pools get"),
(pool_command.pool_set, "airflowctl pools create"),