The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/datetime-range-filter-coalesce-index has failed.
Run started by GitHub user hkc-8010 (triggered by hkc-8010).

Head commit for run:
f5125de01a7e8a66a0a29d584c9f6eecab65fd1e / Hemkumar Chheda 
<[email protected]>
fix(api): scope NullableDatetimeRangeFilter to filter_name, not attribute_name

datetime_range_filter_factory("dag_run_start_date", DagRun, "start_date")
passes attribute_name="start_date", so the guard

    if (attribute_name or filter_name) in ("start_date", "end_date"):

resolved to "start_date" and incorrectly returned NullableDatetimeRangeFilter
for the dag_run_start/end_date filters in the DAGs route. Those columns are
reached via an outer join; NULL means "no run", not "currently running", so
the OR (col IS NULL) branch inflated total_entries counts.

The original COALESCE guard checked filter_name only, so "dag_run_start_date"
was excluded. Revert to filter_name to preserve those semantics — only
callers with filter_name="start_date" or "end_date" (task instances, dag_run,
job routes) get NullableDatetimeRangeFilter.

Fixes TestGetDags::test_get_dags failures for query_params 13/14/17/21/23.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/25850477566

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to