abhishekbhakat commented on PR #54775:
URL: https://github.com/apache/airflow/pull/54775#issuecomment-3239007808

   The changes add validation logic to the DAG constructor that checks task 
start_date and end_date fields for proper datetime formatting, and validates 
templated arguments in task args.
   
   When tasks use Jinja templates in their args parameter, the system now 
verifies that template_fields includes 'args' and performs dry-rendering of 
datetime templates to catch invalid date expressions before runtime.
   
   The DagBag error reporting is enhanced with configurable full traceback 
support, and the scheduler job runner now includes exception handling around 
DAG loading to prevent crashes from malformed DAGs.
   
   Also added tests with sample dags to validate the scenarios.


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