Skip to content

[v3-3-test] Rename state-store cleanup-task-state-store command to state-store clean (#69316)#69322

Merged
vatsrahul1001 merged 1 commit into
v3-3-testfrom
backport-71be2b4-v3-3-test
Jul 3, 2026
Merged

[v3-3-test] Rename state-store cleanup-task-state-store command to state-store clean (#69316)#69322
vatsrahul1001 merged 1 commit into
v3-3-testfrom
backport-71be2b4-v3-3-test

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

The command added in 3.3.0rc1 repeated "state store" in both the group and the
subcommand. Rename it to airflow state-store clean, mirroring airflow db clean. The old name only shipped in 3.3.0rc1, so renaming before GA keeps a
single stable name for 3.3.0.

Also make the help text and docs accurate about the current behavior: the
command intentionally supports the metastore backend only and skips custom
(worker-side) backends, and the docstring now explains why (correct cleanup of a
worker-side backend needs to delete the DB refs and the backend data in order,
which has to run where the backend's dependencies live, not on the server-side
CLI). Fix a wrong class name (MetastoreStateBackend -> MetastoreBackend) in
the docs.
(cherry picked from commit 71be2b4)

Co-authored-by: Kaxil Naik kaxilnaik@gmail.com

…`state-store clean` (#69316)

The command added in 3.3.0rc1 repeated "state store" in both the group and the
subcommand. Rename it to `airflow state-store clean`, mirroring `airflow db
clean`. The old name only shipped in 3.3.0rc1, so renaming before GA keeps a
single stable name for 3.3.0.

Also make the help text and docs accurate about the current behavior: the
command intentionally supports the metastore backend only and skips custom
(worker-side) backends, and the docstring now explains why (correct cleanup of a
worker-side backend needs to delete the DB refs and the backend data in order,
which has to run where the backend's dependencies live, not on the server-side
CLI). Fix a wrong class name (`MetastoreStateBackend` -> `MetastoreBackend`) in
the docs.
(cherry picked from commit 71be2b4)

Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
@vatsrahul1001 vatsrahul1001 merged commit d7fb68d into v3-3-test Jul 3, 2026
153 of 183 checks passed
@vatsrahul1001 vatsrahul1001 deleted the backport-71be2b4-v3-3-test branch July 3, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants