Skip to content

Remove asset state store commands from airflowctl 0.1.x - #76662

Merged
shahar1 merged 1 commit into
apache:airflow-ctl/v0-1-testfrom
shahar1:revert-airflowctl-asset-state-store
Nov 7, 2026
Merged

shahar1 merged 1 commit into
apache:airflow-ctl/v0-1-testfrom
shahar1:revert-airflowctl-asset-state-store

Conversation

@shahar1

@shahar1 shahar1 commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Remove the five asset state store commands (assets list-state-store, get-state-store, set-state-store, delete-state-store, clear-state-store) from airflow-ctl/v0-1-test, so they do not ship in 0.1.6. This reverts #72742 (the backport of #70771) and #76122 (its e2e version gate).

Why these commands, and not the other features on the branch:

  • They do not work with every server 0.1.6 targets. The routes are absent from the Airflow 3.2.2 OpenAPI spec and first appear in 3.3.0. The dev@ plan for 0.1.6 said it works with 3.2, 3.3 and 3.4.
  • Their names are not settled. Move airflowctl assets state store commands to a subgroup #75703 is open on main and moves them to assets state-store …, on the stated basis that they "have never been released". Shipping them in 0.1.6 would turn that into a breaking rename.

The other features on the branch stay: dags state, dagrun delete, and tasks states-for-dag-run with tasks clear and taskinstances list. They use routes that exist on 3.2.2, and their shape on main is unchanged. The dev@ plan said "fixes only", so they need disclosing in the release notes and on dev@.

The tradeoff: users on Airflow 3.3 get these commands only from a later release. If that release requires a 3.4 server, 3.3 users do not get them from airflowctl at all.

What differs from a plain git revert, because later commits touched the same code:

output_assets.svg and the assets line in command_hashes.txt return to their values from before the feature. The regenerated help matches them exactly. Other hashes on this branch are out of date already and are left alone.

Checks run on this branch:

  • uv run --project airflow-ctl pytest airflow-ctl/tests: 737 passed.
  • breeze testing airflow-ctl-integration-tests: 169 passed on each of Airflow 3.2.2, 3.3.2 and 3.4.0, using a non-default API port because 8080 is taken on this machine.
  • ruff format and check on the changed Python files, plus the commit's prek hooks. mypy-airflow-ctl was skipped because it already fails on this branch, and generate-airflowctl-help-images because the images were regenerated by hand.

Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 5.5)

Generated-by: Claude Code (Opus 5.5) following the guidelines

🤖 Generated with Claude Code

https://claude.ai/code/session_01BVx6g7KmWF85LLcp9bDDGL

These commands need the asset state store API, which servers before Airflow 3.3 do not have, and 0.1.6 was announced on the dev list as fixes only and working with 3.2. Their names are also not settled: an open change on main moves them to a subgroup because they were never released, and shipping them here would turn that into a breaking rename.

Claude-Session: https://claude.ai/code/session_01BVx6g7KmWF85LLcp9bDDGL
@shahar1
shahar1 merged commit d0c6496 into apache:airflow-ctl/v0-1-test Nov 7, 2026
14 checks passed
@shahar1
shahar1 deleted the revert-airflowctl-asset-state-store branch November 7, 2026 07:40
shahar1 added a commit to shahar1/airflow that referenced this pull request Nov 7, 2026
These commands need the asset state store API, which servers before Airflow 3.3 do not have, and 0.1.6 was announced on the dev list as fixes only and working with 3.2. Their names are also not settled: an open change on main moves them to a subgroup because they were never released, and shipping them here would turn that into a breaking rename.
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.

2 participants