dstandish opened a new issue, #59618:
URL: https://github.com/apache/airflow/issues/59618

   ### Body
   
   It has an argument `last_automated_run` but in reality, what it is given is 
not always the latest run.
   
   This is because sometimes it is called, in the scheduler, with whatever run 
the scheduler happens to be dealing with -- which might not be the latest run.
   
   And even if something _thinks_ it is passing the latest run, due to airflow 
being a distributed system, something else could create a new run in the 
meantime, making it not the latest run anymore.
   
   For one thing, this behavior sometimes causes airflow to set the next_dagrun 
field back in time.
   
   We should probably at least rename this field.  But it might also be worth 
looking at how it's called and possibly making some adjustments to the logic.
   
   ### Committer
   
   - [x] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


-- 
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