Repository navigation
Conversation
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
requested review from
amoghrajesh,
ashb,
bugraoz93,
dheerajturaga,
gopidesupavan,
jason810496 and
potiuk
as code owners
November 7, 2026 07:02
This was referenced Nov 7, 2026
henry3260
approved these changes
Nov 7, 2026
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.
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.
Remove the five asset state store commands (
assets list-state-store,get-state-store,set-state-store,delete-state-store,clear-state-store) fromairflow-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:
mainand moves them toassets 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, andtasks states-for-dag-runwithtasks clearandtaskinstances list. They use routes that exist on 3.2.2, and their shape onmainis 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:"clear"stays inauth_environment_command_list, becausetasks clearneeds--env."set"goes, because no other operation uses it.datamodels/asset_state_store.pyis deleted too. Run CI on airflow-ctl release-branch pull requests and pushes #70724 added that file, so reverting [airflow-ctl/v0-1-test] Add asset state store commands to airflowctl (#70771) #72742 does not remove it.test_delete_queued_events,test_delete_dag_queued_eventsandtest_delete_queued_eventstay. They were added later by [airflow-ctl/v0-1-test] Fix incorrect asset queued-event endpoint paths in airflowctl (#70461) #76044, next to the removed tests.pytest.paramhandling that [airflow-ctl/v0-1-test] Skip airflowctl state store tests on servers older than 3.3 (#75753) #76122 had replaced are not restored.output_assets.svgand theassetsline incommand_hashes.txtreturn 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.mypy-airflow-ctlwas skipped because it already fails on this branch, andgenerate-airflowctl-help-imagesbecause the images were regenerated by hand.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5.5) following the guidelines
🤖 Generated with Claude Code
https://claude.ai/code/session_01BVx6g7KmWF85LLcp9bDDGL