Repository navigation
[airflow-ctl/v0-1-test] Require a request body on the asset materialize endpoint (#73328) - #76070
Merged
shahar1 merged 1 commit intoOct 30, 2026
Conversation
…ze endpoint (apache#73328) * Require a request body on the asset materialize endpoint The materialize endpoint accepted a bodyless POST and applied defaults, unlike the other mutating endpoints -- including its sibling trigger-run route -- which require an explicit JSON body. Requiring one here makes the contract consistent and unambiguous, and updates the in-tree UI and airflowctl clients accordingly. * Add release note for the required materialize request body Only the airflowctl json={} on assets materialize is backported. The airflow-core change that requires the body ships with core 3.4; sending an empty JSON body is also accepted by 3.2 and 3.3 servers. (cherry picked from commit 9fbec03)
shahar1
requested review from
bugraoz93,
dheerajturaga and
potiuk
as code owners
October 30, 2026 17:13
shahar1
enabled auto-merge (squash)
October 30, 2026 17:13
shahar1
added a commit
that referenced
this pull request
Nov 19, 2026
…ze endpoint (#73328) (#76070) * Require a request body on the asset materialize endpoint The materialize endpoint accepted a bodyless POST and applied defaults, unlike the other mutating endpoints -- including its sibling trigger-run route -- which require an explicit JSON body. Requiring one here makes the contract consistent and unambiguous, and updates the in-tree UI and airflowctl clients accordingly. * Add release note for the required materialize request body Only the airflowctl json={} on assets materialize is backported. The airflow-core change that requires the body ships with core 3.4; sending an empty JSON body is also accepted by 3.2 and 3.3 servers. (cherry picked from commit 9fbec03) Co-authored-by: Pierre Jeambrun <[email protected]>
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.
Backport of #73328 to
airflow-ctl/v0-1-test(cherry picked from 9fbec03).Only the airflowctl part is backported:
assets materializenow sends an empty JSON body (json={}). Servers that require the body (#73328, Airflow 3.4) reject the current bodyless POST with 422; 3.2 and 3.3 servers accept the empty body. Theairflow-corechange does not ship from this branch.uv run --project airflow-ctl pytest airflow-ctl/testspasses, excepttest_server_connection_refused, which also fails on the unchanged branch in my local environment.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5.5) following the guidelines
🤖 Generated with Claude Code