Skip to content

[v3-2-test] fixed sort order for mapped task instances (#67551)#68164

Merged
jscheffl merged 1 commit into
v3-2-testfrom
backport-94fa4d2-v3-2-test
Jun 7, 2026
Merged

[v3-2-test] fixed sort order for mapped task instances (#67551)#68164
jscheffl merged 1 commit into
v3-2-testfrom
backport-94fa4d2-v3-2-test

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor
  • fixed sort order for mapped task instances

  • Updated tests

  • Fixed pagination crash

  • Fixed comments

  • Fix duplicate order_by attributes in OpenAPI spec and SortParam description

When rendered_map_index (and other keys like run_after, logical_date,
data_interval_start, data_interval_end) are present in both allowed_attrs
and to_replace, dynamic_depends was appending them twice to all_attrs,
causing the generated order_by parameter description to list those attributes
twice. This caused the generate-openapi-spec static check to fail.

Fix: deduplicate to_replace_attrs by excluding keys already in allowed_attrs
before building all_attrs. Update the committed OpenAPI spec to match.

  • Static check fix

(cherry picked from commit 94fa4d2)

Co-authored-by: manipatnam 91188953+manipatnam@users.noreply.github.com
Co-authored-by: AI Assistant bot@antigravity.dev

* fixed sort order for mapped task instances

* Updated tests

* Fixed pagination crash

* Fixed comments

* Fix duplicate order_by attributes in OpenAPI spec and SortParam description

When `rendered_map_index` (and other keys like `run_after`, `logical_date`,
`data_interval_start`, `data_interval_end`) are present in both `allowed_attrs`
and `to_replace`, `dynamic_depends` was appending them twice to `all_attrs`,
causing the generated `order_by` parameter description to list those attributes
twice. This caused the `generate-openapi-spec` static check to fail.

Fix: deduplicate `to_replace_attrs` by excluding keys already in `allowed_attrs`
before building `all_attrs`. Update the committed OpenAPI spec to match.

* Static check fix

---------
(cherry picked from commit 94fa4d2)

Co-authored-by: manipatnam <91188953+manipatnam@users.noreply.github.com>
Co-authored-by: AI Assistant <bot@antigravity.dev>
@boring-cyborg boring-cyborg Bot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. labels Jun 7, 2026
@jscheffl jscheffl marked this pull request as ready for review June 7, 2026 11:16
@jscheffl jscheffl merged commit 707010a into v3-2-test Jun 7, 2026
105 checks passed
@jscheffl jscheffl deleted the backport-94fa4d2-v3-2-test branch June 7, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants