Repository navigation
Fix wrong command and API wording in airflowctl docs and help - #75058
Merged
Merged
Conversation
mattwang44
requested review from
bugraoz93,
dheerajturaga,
henry3260 and
potiuk
as code owners
October 19, 2026 05:49
The how-to guide showed `airflowctl dagrun trigger --dag-id=...`, which fails with "invalid choice: 'trigger'": triggering lives under `airflowctl dags trigger` and takes the Dag id as a positional argument, so users copying the example got an error straight away. The `--api-url` and `auth login` help texts described airflowctl as talking to the "metadata database" and said a JWT token must be passed. airflowctl only talks to the Airflow API server, and `auth login` also accepts a username and password (prompting for missing ones in a terminal), so the old text pointed users at the wrong component and hid a supported login path. The README also pointed at a non-existent `airflowctl/clt/commands/` directory.
mattwang44
force-pushed
the
docs-airflowctl-help-text-fixes
branch
from
October 19, 2026 05:49
30b1980 to
b84b784
Compare
Lee-W
approved these changes
Oct 19, 2026
Contributor
Backport failed to create: airflow-ctl/v0-1-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker 2be399f airflow-ctl/v0-1-testThis should apply the commit to the airflow-ctl/v0-1-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
mattwang44
added a commit
to mattwang44/airflow
that referenced
this pull request
Oct 20, 2026
…tl docs and help (apache#75058) (cherry picked from commit 2be399f)
1 task done
28 of 67 tasks
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.
The airflowctl how-to used
airflowctl dagrun trigger --dag-id=..., which fails with "invalid choice"; it is nowairflowctl dags trigger <dag_id>.The
--api-urlandauth loginhelp said airflowctl talks to the "metadata database" and needs a JWT token. It talks to the API server, andauth loginalso accepts a username and password; the help now says so, with images regenerated by the prek hook. Also fixes aclt->ctltypo in the README.Ran the updated how-to against a real API server; airflowctl tests and the docs build pass.
Was generative AI tooling used to co-author this PR?