on_dag_run_created listener ignored in plugin #44071
Labels
area:core
area:Listeners
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
Apache Airflow version
2.10.3
If "Other Airflow 2 version" selected, which one?
No response
What happened?
on_dag_run_created hook is being ignored in plugin
What you think should happen instead?
on_dag_run_created should run the relevant logic in the function
How to reproduce
Operating System
MacOS
Versions of Apache Airflow Providers
apache-airflow-providers-common-compat==1.2.1
apache-airflow-providers-common-io==1.4.2
apache-airflow-providers-common-sql==1.19.0
apache-airflow-providers-fab==1.5.0
apache-airflow-providers-ftp==3.11.1
apache-airflow-providers-http==4.13.2
apache-airflow-providers-imap==3.7.0
apache-airflow-providers-smtp==1.8.0
apache-airflow-providers-sqlite==3.9.0
Deployment
Virtualenv installation
Deployment details
Local setup - only change i made was to not lazy load plugins with lazy_load_plugins = False
Anything else?
I can never get an on_dag_run_created hook to run no matter what. I'm open ot anything that allows me to run dag level pre-flight checks.
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: