seanghaeli opened a new issue, #76808: URL: https://github.com/apache/airflow/issues/76808
Serialized Dags don't keep `user_defined_macros` or `user_defined_filters`, so anything rendered from the serialized Dag can't use them. Today that's tasks that run entirely in the triggerer (`start_from_trigger`), and with #75363 it's also async deadline callbacks, which render their kwargs on the triggerer. A template using a user macro there fails to render (`UndefinedError`) and is passed through unrendered with a warning, while the same template works in a normal task or a sync callback. A fix would need the triggerer to get the macros and filters some other way, for example by importing them from the Dag file or serializing a reference to them. -- 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]
