Skip to content

Add airflowctl tasks states-for-dag-run command (#69366) - #70276

Open
Lee-W wants to merge 3 commits into
apache:airflow-ctl/v0-1-testfrom
astronomer:backport-41613f2-airflow-ctl/v0-1-test
Open

Add airflowctl tasks states-for-dag-run command (#69366)#70276
Lee-W wants to merge 3 commits into
apache:airflow-ctl/v0-1-testfrom
astronomer:backport-41613f2-airflow-ctl/v0-1-test

Conversation

@Lee-W

@Lee-W Lee-W commented Jul 23, 2026

Copy link
Copy Markdown
Member

Signed-off-by: PoAn Yang payang@apache.org
(cherry picked from commit e9f89d6)


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

FrankYang0529 and others added 3 commits July 23, 2026 14:21
Signed-off-by: PoAn Yang <payang@apache.org>
(cherry picked from commit e9f89d6)
Signed-off-by: PoAn Yang <payang@apache.org>
(cherry picked from commit 41613f2)
)

(cherry picked from commit 41613f2)

Co-authored-by: PoAn Yang <payang@apache.org>
Signed-off-by: PoAn Yang <payang@apache.org>

@jason810496 jason810496 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for helping backport.

from airflow._shared.timezones import timezone
from airflow.cli.simple_table import AirflowConsole
from airflow.cli.utils import fetch_dag_run_from_run_id_or_logical_date_string
from airflow.cli.utils import deprecated_for_airflowctl, fetch_dag_run_from_run_id_or_logical_date_string

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shoule deprecated_for_airflowctl be defined in file https://github.com/apache/airflow/blob/airflow-ctl/v0-1-test/airflow-core/src/airflow/cli/utils.py? I couldn't find it.

@jason810496 jason810496 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on what Aaron pointed out.

I found that CI wasn't triggered at all on this branch...

Would it be better to restore the CI on this branch before going further?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants