Uh oh!
There was an error while loading. Please reload this page.
[AIP-94] Create a CLI airflowctl client and adopt it in existing commands - #68175
Conversation
Uh oh!
There was an error while loading. Please reload this page.
jscheffl
commented
Jun 7, 2026
One question: Was it not planned also to add a deprecation note that in future these commands will be removed and be an alias only? Would it be beneficial when switching to add the deprecation note early? |
bugraoz93
commented
Jun 8, 2026
Great point Jens! Many thanks for the review! Will address this before merging :) |
bugraoz93
commented
Jun 8, 2026
bugraoz93
commented
Jun 9, 2026
CI was green before rebase |
bugraoz93
commented
Jun 10, 2026
UI go wrong and merged the changes rather rebase. I will rebase before merging. If no objection will merge today |
…ia the airflowctl client
Uh oh!
There was an error while loading. Please reload this page.
…ands (apache#68175) * Route airflow dags/pools/assets CLI commands through the API server via the airflowctl client * Add auth-manager get_cli_user tests and tidy CLI migration newsfragment * Rename significant with PR number * Add deprecation warnings with airflowctl command replacement * Fix failure when the auth manager isn't initialized * Clarify deprecation wording for migrated airflow CLI commands * Fix airflow assets list with watchers and CLI migration test failures
…ands (apache#68175) * Route airflow dags/pools/assets CLI commands through the API server via the airflowctl client * Add auth-manager get_cli_user tests and tidy CLI migration newsfragment * Rename significant with PR number * Add deprecation warnings with airflowctl command replacement * Fix failure when the auth manager isn't initialized * Clarify deprecation wording for migrated airflow CLI commands * Fix airflow assets list with watchers and CLI migration test failures
Restores the previous in-process client for the airflow dags/pools/assets commands, reverting apache#68175 (and removing the auth-manager get_cli_user token support it added). These commands talk to the metadata DB through the local client again, so they no longer require a reachable API server. The maintainer-only deprecated_for_airflowctl marker and its command
* Not warn user for CLI Deprecations * Update significant to reflect direction * Rename significant to reflect warning changes * Remove not used method docs and remove significant file * Update documentation to explain CLI CTL relation better * Update documentation to explain CLI CTL relation better * Revert routing airflow CLI commands through the airflowctl client Restores the previous in-process client for the airflow dags/pools/assets commands, reverting #68175 (and removing the auth-manager get_cli_user token support it added). These commands talk to the metadata DB through the local client again, so they no longer require a reachable API server. The maintainer-only deprecated_for_airflowctl marker and its command * Revert installing airflowctl into airflow core * Add back partition date to test model
* Not warn user for CLI Deprecations * Update significant to reflect direction * Rename significant to reflect warning changes * Remove not used method docs and remove significant file * Update documentation to explain CLI CTL relation better * Update documentation to explain CLI CTL relation better * Revert routing airflow CLI commands through the airflowctl client Restores the previous in-process client for the airflow dags/pools/assets commands, reverting apache#68175 (and removing the auth-manager get_cli_user token support it added). These commands talk to the metadata DB through the local client again, so they no longer require a reachable API server. The maintainer-only deprecated_for_airflowctl marker and its command * Revert installing airflowctl into airflow core * Add back partition date to test model



closes: #64924
Deprecation of the local bespoke api client replaced with airflowctl.
Existing members are migrated.
This should enable migrating other commands easily.
Was generative AI tooling used to co-author this PR?
Claude Opus 4.8
{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.