uranusjr opened a new pull request #18729: URL: https://github.com/apache/airflow/pull/18729
Currently, an incorrectly implemented timetable may crash the scheduler process entirely due to uncaught exceptions. This PR adds exception handlers around those calls. A failed `infer_manual_data_interval()` will cause the manual DAG run being skipped, and a failed `next_dagrun_info()` will cause the DAG run to not happen, and the DAG not being scheduled anymore (because `None` is set on `DagModel.next_dagrun`) until the DAG file is modified. For now, the exception is simply logged. In the future we'll add a new db model similar to `ImportError` and hold these errors and display them on the web UI. This new model class will also be designed to incorporate `ImportError` eventually. -- 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]
