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 eb056a97fb5 Mark dags list-jobs as migrated to airflowctl (#70153)
(#70442)
eb056a97fb5 is described below
commit eb056a97fb56c2a77c0380e57050d29b2f4a01f5
Author: Henry Chen <[email protected]>
AuthorDate: Sun Jul 26 00:43:09 2026 +0800
Mark dags list-jobs as migrated to airflowctl (#70153) (#70442)
Co-authored-by: Haseeb Malik
<[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 f4b6b9ff5f5..b6688643c5d 100644
--- a/airflow-core/src/airflow/cli/commands/dag_command.py
+++ b/airflow-core/src/airflow/cli/commands/dag_command.py
@@ -732,6 +732,7 @@ def dag_report(args) -> None:
)
+@deprecated_for_airflowctl("airflowctl jobs 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 6b3cc796e3e..86c57e6fdef 100644
--- a/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
+++ b/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
@@ -55,6 +55,7 @@ MIGRATED_CLI_COMMANDS = [
(dag_command.dag_pause, "airflowctl dags pause"),
(dag_command.dag_unpause, "airflowctl dags unpause"),
(dag_command.dag_list_import_errors, "airflowctl dags list-import-errors"),
+ (dag_command.dag_list_jobs, "airflowctl jobs list"),
(dag_command.dag_state, "airflowctl dags state"),
(dag_command.dag_next_execution, "airflowctl dags next-execution"),
(pool_command.pool_list, "airflowctl pools list"),