fix(airflow): select latest pipeline runs - #33156
Conversation
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ ApprovedBackport of pipeline-status ordering fix to 1.13 using OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Backports #32304 to 1.13.
Pipeline-status ordering now uses
COALESCE(date_column, start_date)so asset-triggered runs with no logical date are selected chronologically. Includes SQLite regression coverage for logical-date and execution-date schemas across asset-triggered, mixed, and scheduled DAG runs.Verified with
pytest ingestion/tests/unit/topology/pipeline/test_airflow.py -q(31 passed).