This is an automated email from the ASF dual-hosted git repository.

henry3260 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 025b0a14a41 Mark dags list-jobs as migrated to airflowctl (#70153)
025b0a14a41 is described below

commit 025b0a14a4192656473d072140799cb17aaec6a1
Author: Haseeb Malik <[email protected]>
AuthorDate: Sat Jul 25 10:54:10 2026 -0400

    Mark dags list-jobs as migrated to airflowctl (#70153)
---
 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 e37580d7619..40e7c08c87f 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 5e9d0613acd..d0eda839273 100644
--- a/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
+++ b/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
@@ -57,6 +57,7 @@ MIGRATED_CLI_COMMANDS = [
     (dag_command.dag_pause, "airflowctl dags pause"),
     (dag_command.dag_unpause, "airflowctl dags unpause"),
     (dag_command.dag_list_dag_runs, "airflowctl dagrun list"),
+    (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"),

Reply via email to