Repository navigation
Description
Body
Goal: move every remote airflow CLI command (anything backed by a public REST API endpoint)
into airflowctl. Admin commands have no API and are local-only. They run components (scheduler,
api-server, triggerer, dag-processor, kerberos, standalone), manage the DB, or reach internals
directly (DAG parsing/rendering, local provider manager). Those remain in the airflow CLI and are
out of scope here.
Why:
AIP-81: Enhanced Security in CLI via Integration of API
and its sub-proposal
AIP-94: Decouple Remote Commands from the airflow CLI.
Status: converted. The only work per command now is to add the marker decorator to the
listed commands so they are frozen for development. There is no airflowctl migration to
do.
What to do:
- Add the marker decorator to each command on the list. See PR Convert CLI Deprecations to maintainer idetifiable only #68726 for how the
decorator is converted to a maintainer and developer facing marker (it replaces the
user facing deprecation warning). Apply that same decorator to each command. - The decorator is maintainer and developer facing only. It records the airflowctl
equivalent and adds a note in the code, and it does not print anything to users or
change behavior. - The point of the marker is to freeze these commands for development. Once a command is
marked, no new features or behavior changes should land on it.
Admin (no API, local-only, not migrated, stay in the airflow CLI):
dags:show,show-dependencies,test,reserialize(parse/render DAGs directly)tasks:test,render(execute/render DAG files directly)providers:links,widgets,hooks,triggers,behaviours,logging,secrets,
executors,queues,notifications,configs,lazy-loaded,auth-managers(read the local
provider manager)
dags
-
dags trigger[AIP-94] Create a CLI airflowctl client and adopt it in existing commands #68175 -
dags delete[AIP-94] Create a CLI airflowctl client and adopt it in existing commands #68175 -
dags list -
dags details[AIP-94] Migrate airflow dags details to the API server #68529 -
dags state -
dags list-runs -
dags list-jobs -
dags list-import-errors[AIP-94] Mark dags list-import-errors as migrated to airflowctl #68602 -
dags report -
dags clear -
dags pause -
dags unpause -
dags next-execution
tasks
- operations for
tasks -
tasks state -
tasks states-for-dag-run -
tasks clear -
tasks list -
tasks failed-deps
assets
-
assets materialize([AIP-94] Create a CLI airflowctl client and adopt it in existing commands #68175) -
assets list[AIP-94] Add deprecation marker to assets list/details cli commands #68531 -
assets details[AIP-94] Add deprecation marker to assets list/details cli commands #68531
pools
-
pools: list / get / set / delete / import / export ([AIP-94] Create a CLI airflowctl client and adopt it in existing commands #68175)
variables
-
variables list[AIP-94] Mark variables CLI commands as migrated to airflowctl #68932 -
variables get[AIP-94] Mark variables CLI commands as migrated to airflowctl #68932 -
variables set[AIP-94] Mark variables CLI commands as migrated to airflowctl #68932 -
variables delete[AIP-94] Mark variables CLI commands as migrated to airflowctl #68932 -
variables import[AIP-94] Mark variables CLI commands as migrated to airflowctl #68932
connections
-
connections list[AIP-94] Mark connections commands as migrated to airflowctl #68972 -
connections add[AIP-94] Mark connections commands as migrated to airflowctl #68972 -
connections delete[AIP-94] Mark connections commands as migrated to airflowctl #68972 -
connections import[AIP-94] Mark connections commands as migrated to airflowctl #68972 -
connections test[AIP-94] Mark connections commands as migrated to airflowctl #68972 -
connections create-default-connections[AIP-94] Mark connections commands as migrated to airflowctl #68972
backfill
-
backfill create
jobs
-
jobs check
config
-
config get-value[AIP-94] Mark config CLI commands as migrated to airflowctl #68958 -
config list[AIP-94] Mark config CLI commands as migrated to airflowctl #68958
providers
-
providers list[AIP-94] Migrate airflow providers command to the API server #68525 -
providers get[AIP-94] Migrate airflow providers command to the API server #68525
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn progress
Activity
Prab-27 commentedon Jun 13, 2026
I'm working on
connectionsbugraoz93 commentedon Jun 13, 2026
@ElangoSubramani, you mentioned you would like to work. Pick a single command. That would be easier rather than going for full. It would be helpful for reviews too.
justinpakzad commentedon Jun 13, 2026
I'm going to take assets if that's cool.
FrankYang0529 commentedon Jun 14, 2026
I'm working on variables / config / jobs commands.
yuseok89 commentedon Jun 14, 2026
I'd like to take
backfill createandproviders get.14 remaining items
Mark dags list-jobs as migrated to airflowctl apache#68402
vatsrahul1001 commentedon Jul 28, 2026
Moving to 3.4.0 as its more appropriate for minor
[AIP-94] Add airflowctl jobs check command
Add airflowctl tasks list command
kaxil commentedon Oct 1, 2026
All the items tracked here are now closed or merged. Can this be closed, or is there remaining work it should track?
yuseok89 commentedon Oct 7, 2026
I checked the unchecked items against
main.dags clearhas no marker yet. The airflowctl command landed in Add airflowctl dags clear command #68706, and [AIP-94] Mark dags clear as migrated to airflowctl #74384 adds the marker.dags reporthas no airflowctl equivalent. Likedags showanddags reserialize, it parses Dag files locally, so I think it belongs in the Admin section above.Two checked items have the marker but no airflowctl command on
mainyet.providers getdepends on [AIP-94] Add airflowctl providers get #68854, which adds the REST endpoint.tasks listwas implemented in [AIP-94] Add airflowctl Tasks List Command #70472, which was closed by the open PR limit.Apart from these, everything else looks done to me.