You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal: move every remoteairflow 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.
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):
Body
Goal: move every remote
airflowCLI 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
airflowCLI and areout 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:
decorator is converted to a maintainer and developer facing marker (it replaces the
user facing deprecation warning). Apply that same decorator to each command.
equivalent and adds a note in the code, and it does not print anything to users or
change behavior.
marked, no new features or behavior changes should land on it.
Admin (no API, local-only, not migrated, stay in the
airflowCLI):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 localprovider 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 listdags detailsdags statedags list-runsdags list-jobsdags list-import-errorsdags reportdags cleardags pausedags unpausedags next-executiontasks
tasks([AIP-94] airflowctl tasks: add TasksOperations and TaskInstancesOperations to operations.py #66173)tasks state(depends on [AIP-94] airflowctl tasks: add TasksOperations and TaskInstancesOperations to operations.py #66173)tasks states-for-dag-run(depends on [AIP-94] airflowctl tasks: add TasksOperations and TaskInstancesOperations to operations.py #66173)tasks clear(depends on [AIP-94] airflowctl tasks: add TasksOperations and TaskInstancesOperations to operations.py #66173)tasks list(depends on [AIP-94] airflowctl tasks: add TasksOperations and TaskInstancesOperations to operations.py #66173)tasks failed-deps(depends on [AIP-94] airflowctl tasks: add TasksOperations and TaskInstancesOperations to operations.py #66173)assets
assets materialize([AIP-94] Create a CLI airflowctl client and adopt it in existing commands #68175)assets listassets detailspools
pools: list / get / set / delete / import / export ([AIP-94] Create a CLI airflowctl client and adopt it in existing commands #68175)variables
variables listvariables getvariables setvariables deletevariables importconnections
connections listconnections addconnections deleteconnections importconnections testconnections create-default-connectionsbackfill
backfill createjobs
jobs checkconfig
config get-valueconfig listproviders
providers listproviders getCommitter