-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flaky order of returned dag runs (#24405)
There was no ordering on a query returning dag_runs when it comes to grid view. This caused flaky tests but also it would have caused problems with random reordering of reported dagruns in the UI (it seems). This change adds stable ordering on returned Dag Runs: * by dag_run_id (ascending) asc No need to filter by map_index as there will be always max one returned TI from each dag run (cherry picked from commit 2edab57)
- Loading branch information
1 parent
86f891a
commit fa50004
Showing
2 changed files
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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