hussein-awala opened a new pull request, #35392:
URL: https://github.com/apache/airflow/pull/35392

   This PR adds a new param `ignore_first_catchup` to ignore for the first dag 
run when catchup is set to `True`.
   
   ### Motivations:
   
   The `start_date` is a mandatory parameter, and `catchup=True` is very useful 
to avoid Airflow skip creating some dag run when there are some pressures on 
its services, there is a downtime, or the duration of some dag run is greater 
than the schedule interval, and max_active_runs is set to 1.
   
   When creating dags dynamically from a file/API response, setting catchup to 
True will create all the dag runs since the start_date, and setting start_date 
equal to the current moment is a very bad practice and can lead to missing 
DagRuns.
   
   The new test will only succeed with #35391, which fixes the bug in the data 
interval date for the dag runs.
   


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to