This is an automated email from the ASF dual-hosted git repository.
henry3260 pushed a commit to branch v3-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-3-test by this push:
new ecfc6f92649 [v3-3-test] [AIP-94] Mark dags list-import-errors as
migrated to airflowctl (#68602) (#69390)
ecfc6f92649 is described below
commit ecfc6f926491dfed82ea4dc9c9c6b41915df155c
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Jul 5 21:19:38 2026 +0800
[v3-3-test] [AIP-94] Mark dags list-import-errors as migrated to airflowctl
(#68602) (#69390)
(cherry picked from commit 924f022d901acebaf75f8c1d9259bbcc024481ad)
Co-authored-by: Yuseok Jo <[email protected]>
---
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 411cb6a84f1..bcf7516dbd8 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"),