Repository navigation
Add airflowctl task states-for-dag-run command - #67912
Closed
ibobgunardi wants to merge 3 commits into
Closed
ibobgunardi wants to merge 3 commits into
ibobgunardi wants to merge 3 commits into
Conversation
ibobgunardi
requested review from
amoghrajesh,
ashb,
bugraoz93,
dheerajturaga,
gopidesupavan,
jason810496 and
potiuk
as code owners
June 2, 2026 17:54
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide
|
ibobgunardi
force-pushed
the
bobi/airflowctl-task-states-for-dag-run
branch
from
June 2, 2026 18:45
89f112b to
6871380
Compare
bugraoz93
reviewed
Jun 11, 2026
bugraoz93
left a comment
Contributor
There was a problem hiding this comment.
We should make same as the Airflow core CLI. This looks like just a list operation
potiuk
marked this pull request as draft
June 18, 2026 21:47
Member
|
Note 🗑️ Closing stale draft · by This draft has been inactive for ~14 days. Closing to keep the queue tidy — no judgment on the change itself. Please reopen (or open a fresh PR) whenever you pick it back up, and a maintainer will be glad to take a look. Automated triage — may be imperfect. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
airflowctl tasks states-for-dag-runfor retrieving task instance states for a Dag run via the public task instances API.Closes: #66175
What changed
TasksOperations.states_for_dag_runto call/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstancestasksAPI client accessorTests
python -m ruff check airflow-ctl/src/airflowctl/api/operations.py airflow-ctl/src/airflowctl/api/client.py airflow-ctl/src/airflowctl/ctl/cli_config.py airflow-ctl/tests/airflow_ctl/api/test_operations.py airflow-ctl-tests/tests/airflowctl_tests/test_airflowctl_commands.pypython scripts/ci/prek/check_airflowctl_command_coverage.pypython scripts/ci/prek/check_airflowctl_help_texts.pypython -m pytest --confcutdir=airflow-ctl/tests/airflow_ctl/api airflow-ctl/tests/airflow_ctl/api/test_operations.py -k 'TasksOperations or DagRunOperations'Important
🛠️ Maintainer triage note for @ibobgunardi · by
@potiuk· 2026-06-17 14:51 UTCHelpful heads-up from the maintainers — please address before this PR can be reviewed:
CI image checks / Static checks). Run them locally withprek run --all-files(orpre-commit run --all-files) and push the fixes.The ball is in your court — you've been assigned to this PR. Fix the above, then mark it Ready for review.
Automated triage — may be imperfect; a maintainer takes the next look.