Skip to content

[v3-0-test] Fix Task Instance “No Status” Filter (#51880)#52154

Merged
pierrejeambrun merged 1 commit intov3-0-testfrom
backport-c71566b-v3-0-test
Jun 24, 2025
Merged

[v3-0-test] Fix Task Instance “No Status” Filter (#51880)#52154
pierrejeambrun merged 1 commit intov3-0-testfrom
backport-c71566b-v3-0-test

Conversation

@github-actions
Copy link

  • Support no_status alias in TaskInstance state filter for REST API

  • Allow 'no_status' state filter and include no_status in valid state list; skip date filters when filtering for null state

  • Fix NULL-state filtering in get_mapped_task_instances by coalescing date fields

  • Refactor datetime_range_filter_factory: coalesce only start_date and end_date filters

  • Add a test
    (cherry picked from commit c71566b)

Co-authored-by: Ankit Chaurasia [email protected]

* Support no_status alias in TaskInstance state filter for REST API

* Allow 'no_status' state filter and include no_status in valid state list; skip date filters when filtering for null state

* Fix NULL-state filtering in get_mapped_task_instances by coalescing date fields

* Refactor datetime_range_filter_factory: coalesce only start_date and end_date filters

* Add a test
(cherry picked from commit c71566b)

Co-authored-by: Ankit Chaurasia <[email protected]>
@boring-cyborg boring-cyborg bot added the area:API Airflow's REST/HTTP API label Jun 24, 2025
@pierrejeambrun pierrejeambrun marked this pull request as ready for review June 24, 2025 11:49
@pierrejeambrun pierrejeambrun merged commit ebbe3b7 into v3-0-test Jun 24, 2025
68 checks passed
@pierrejeambrun pierrejeambrun deleted the backport-c71566b-v3-0-test branch June 24, 2025 13:23
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants