Pranaykarvi commented on PR #63962:
URL: https://github.com/apache/airflow/pull/63962#issuecomment-4095102506

   @Lee-W since you mentioned this is expected behavior for partitioned 
timetables, I've made two changes in `scheduler_job_runner.py`:
   
   1. Suppressed the error log for `next_dagrun_create_after is None` when 
`timetable_partitioned` is `True` — since `None` is a valid return from 
`next_dagrun_info()` when no run is due
   2. Cleaned up the `next_dagrun is None` condition to use `not 
dag_model.timetable_partitioned` (same behavior, cleaner style)
   
   The `continue` is kept in both cases so we skip DAG run creation as 
expected. Happy to adjust if the fix needs to go deeper or if you had a 
different approach in mind.


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