Skip to content

Move airflowctl assets state store commands to a subgroup - #75703

Merged
potiuk merged 2 commits into
apache:mainfrom
justinpakzad:update-asset-state-store-commands
Nov 16, 2026
Merged

potiuk merged 2 commits into
apache:mainfrom
justinpakzad:update-asset-state-store-commands

Conversation

@justinpakzad

@justinpakzad justinpakzad commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #72746 which added support for nested subgroups, specifically for state-store commands. Applying the same updates here so the two are aligned. The commands now live under a state-store subgroup within the assets group, where previously they were flat, e.g.,assets state-store-delete. Example command after this change: assets state-store delete. This reads more clearly and keeps them grouped together. airflowctl hasn't had a release since May 2026 so this wouldn't be a breaking change for users as the state-store commands have never been released and only exist on main at the moment.

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {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.

@justinpakzad

Copy link
Copy Markdown
Contributor Author

Can someone trigger the CI please? Thanks.

@potiuk
potiuk force-pushed the update-asset-state-store-commands branch from dbd69f8 to c001875 Compare October 30, 2026 16:51
@justinpakzad
justinpakzad force-pushed the update-asset-state-store-commands branch from c001875 to f10b8cc Compare October 30, 2026 20:56
@justinpakzad
justinpakzad force-pushed the update-asset-state-store-commands branch from f10b8cc to 45094b2 Compare November 1, 2026 13:26
@github-actions github-actions Bot added fork ci required Gated by AIP-120: CI must pass in the contributor's fork. Managed by the fork CI reconciler. need workflow approval labels Nov 1, 2026
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Your CI change needs a maintainer. CI for this pull request runs in your fork, and the workflow runs it starts in apache/airflow are approved automatically while they only run the fork CI gate. This pull request changes files that define what CI runs:

  • scripts/ci/prek/check_airflowctl_command_coverage.py

Such a change can make project CI run on the project's runners, so its workflow runs in apache/airflow wait for a maintainer to review the change and approve them. CI in your fork is not affected, and its result stays visible on this pull request. Pull requests from contributors run their CI in the contributor's own fork. GitHub Actions is free and has no minute limit on public forks, while the CI capacity of the Apache Software Foundation is shared by every ASF project and is finite.


This comment was posted automatically by the fork CI monitor from templates drafted with an AI-assisted tool, so it may contain mistakes. An Apache Airflow maintainer, a real person, will review the pull request once its fork CI is green. Why the first pass is automated.

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Project CI in use. A maintainer added the use project ci label, so CI for this pull request runs in apache/airflow. It starts on the next push, or when a maintainer closes and reopens this pull request.


This comment was posted automatically by the fork CI monitor from templates drafted with an AI-assisted tool, so it may contain mistakes. An Apache Airflow maintainer, a real person, will review the pull request once its fork CI is green. Why the first pass is automated.

@github-actions github-actions Bot added the needs project ci Green fork CI, but CI files changed: a maintainer reviews and adds use project ci. label Nov 1, 2026
@github-actions
github-actions Bot marked this pull request as draft November 1, 2026 14:18
@github-actions
github-actions Bot marked this pull request as ready for review November 3, 2026 19:20
@Dev-iL Dev-iL added the use project ci Committer override: run project CI for a PR that fork CI would otherwise gate. label Nov 3, 2026
@github-actions github-actions Bot removed needs project ci Green fork CI, but CI files changed: a maintainer reviews and adds use project ci. fork ci required Gated by AIP-120: CI must pass in the contributor's fork. Managed by the fork CI reconciler. labels Nov 3, 2026
@justinpakzad
justinpakzad force-pushed the update-asset-state-store-commands branch from 45094b2 to 7f411dd Compare November 3, 2026 22:09
@justinpakzad

Copy link
Copy Markdown
Contributor Author

Would appreciate a review on this. Thanks.

@Andrushika Andrushika left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks!
(note for maintainers: the backport-to-3.4 label can go)

@justinpakzad
justinpakzad force-pushed the update-asset-state-store-commands branch from 7f411dd to bb18514 Compare November 15, 2026 14:53
@potiuk potiuk removed the backport-to-v3-4-test Backport to v3-4-test label Nov 16, 2026

@potiuk potiuk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This follows the taskinstances state-store subgroup pattern from #72746 exactly: the cli_config.py subgroup map, the coverage hook's SUBGROUPS, the help text, MIN_AIRFLOW_VERSIONS and the integration commands are all updated, and the regenerated assets help image matches. The flat *-state-store commands never shipped in an airflowctl release (the latest is 0.1.5), so the rename breaks no user. I dropped the backport-to-v3-4-test label: v3-4-test does not have the nested-subgroup support, and airflowctl is released from main. LGTM.


This review was drafted by an AI-assisted tool and
confirmed by an Apache Airflow maintainer. The maintainer
approving this PR has read the findings and signed off. If
something feels off, please reply on the PR and a maintainer
will follow up.

More on how Apache Airflow handles maintainer review:
Contributing guide.

@potiuk
potiuk enabled auto-merge (squash) November 16, 2026 00:29
@potiuk
potiuk merged commit 542ab65 into apache:main Nov 16, 2026
93 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctl area:dev-tools kind:documentation use project ci Committer override: run project CI for a PR that fork CI would otherwise gate.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants