You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2025/05/12 16:27:32 UTC
(airflow) branch v3-0-test updated: [v3-0-test] Fix index to sort by last parsing duration (#50388) (#50493)
This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-0-test by this push:
new 902c468af25 [v3-0-test] Fix index to sort by last parsing duration (#50388) (#50493)
902c468af25 is described below
commit 902c468af252aeb272bb2cde1bde681673f4591b
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Mon May 12 10:27:24 2025 -0600
[v3-0-test] Fix index to sort by last parsing duration (#50388) (#50493)
(cherry picked from commit 3c562093f2442126fc678a16068a70d6144a6877)
Co-authored-by: Karthikeyan Singaravelan <ti...@gmail.com>
---
airflow-core/src/airflow/dag_processing/manager.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/dag_processing/manager.py b/airflow-core/src/airflow/dag_processing/manager.py
index b5ec51039c3..3593928aaf2 100644
--- a/airflow-core/src/airflow/dag_processing/manager.py
+++ b/airflow-core/src/airflow/dag_processing/manager.py
@@ -710,7 +710,7 @@ class DagFileProcessorManager(LoggingMixin):
)
# Sort by longest last runtime. (Can't sort None values in python3)
- rows.sort(key=lambda x: x[5] or 0.0, reverse=True)
+ rows.sort(key=lambda x: x[6] or 0.0, reverse=True)
formatted_rows = []
for (