[AIP-94] Add airflowctl Tasks List Command - #70472
Conversation
|
Heads-up: I merged #69274 earlier today and it has just put this PR into conflict — apologies, the overlap wasn't visible until I went looking. #69274 marked the
This branch is ~133 commits behind Same situation applies to #69397 ( Drafted-by: Claude Code (Opus 5); reviewed by @potiuk before posting |
10429af to
d81c6f7
Compare
|
Thanks for the heads-up! Rebased onto latest main and dropped both duplicated lines |
Listing a Dag's tasks currently requires the local `airflow tasks list` command, which parses Dag files on the caller's machine and needs direct metadata database access. Exposing it through airflowctl lets operators list tasks against the Public API under RBAC instead, per AIP-94. related: apache#68402
d81c6f7 to
5424ba7
Compare
|
I think the failing Airflow CTL tests check doesn't come from this PR (? The tasks list tests had passed |
Adds
airflowctl tasks list <dag_id> [--order-by], backed by the existingGET /dags/{dag_id}/tasksPublic API endpoint, and marks the coreairflow tasks listcommand with@deprecated_for_airflowctl.related: #68402 [AIP-94] airflowctl command migration
Was generative AI tooling used to co-author this PR?