pierrejeambrun opened a new pull request, #33488:
URL: https://github.com/apache/airflow/pull/33488

   We were selected DagRuns/Tasks that were either:
   - without end_date (to have current runs)
   - with an end_date defined that is less than the requested date
   
   
   Issue, if the end_date is chosen in the past, runs without end_date (ongoing 
run) will be counted in the metrics, which is wrong.
   
   This handle such cases i.e when `dagrun.end_date is None`:
   - if utcnow() < requested date then take it otherwise don't
   
   Adjust the front end request so it ask ahead 1 hours to be able to get 
currently ongoing 'runs'. (without datetime).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to