Skip to content

Add airflowctl tasks failed-deps command#69397

Open
FrankYang0529 wants to merge 1 commit into
apache:mainfrom
FrankYang0529:airflow-tasks-failed-deps
Open

Add airflowctl tasks failed-deps command#69397
FrankYang0529 wants to merge 1 commit into
apache:mainfrom
FrankYang0529:airflow-tasks-failed-deps

Conversation

@FrankYang0529

Copy link
Copy Markdown
Member
  • Add command airflowctl tasks failed-deps <dag_id> <task_id> <logical_date_or_run_id> [--map-index N].
  • TaskInstancesOperations with get and get_dependencies, auto-generating airflowctl taskinstances get / airflowctl taskinstances get-dependencies
  • Mark the core CLI command with @deprecated_for_airflowctl("airflowctl tasks failed-deps") and register it in test_command_deprecations.py.
  • Extract get_dag_run_by_run_id_or_logical_date to ctl/utils/dag_run.py (shared with dags state).

Was generative AI tooling used to co-author this PR?
  • Yes - Claude Code

  • 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.

Comment thread airflow-ctl/src/airflowctl/api/operations.py Outdated
Comment thread airflow-ctl/src/airflowctl/ctl/utils/dag_run.py Outdated
Comment thread airflow-ctl/tests/airflow_ctl/api/test_operations.py
Comment thread airflow-ctl/tests/airflow_ctl/ctl/commands/test_task_command.py Outdated
Comment thread airflow-ctl/tests/airflow_ctl/ctl/commands/test_task_command.py Outdated
@FrankYang0529 FrankYang0529 force-pushed the airflow-tasks-failed-deps branch from d86e94b to e7e524a Compare July 9, 2026 11:14
Comment thread airflow-ctl/src/airflowctl/ctl/utils/dag_run.py Outdated
Comment thread docs/spelling_wordlist.txt Outdated
@FrankYang0529 FrankYang0529 force-pushed the airflow-tasks-failed-deps branch from e7e524a to 90a8e35 Compare July 14, 2026 05:23
Signed-off-by: PoAn Yang <payang@apache.org>
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.

3 participants