mobuchowski opened a new issue, #44990: URL: https://github.com/apache/airflow/issues/44990
### Body Currently, [TI state listeners](https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/listeners.html#taskinstance-state-change-events) accept TI database model and session object. In Airflow 3.0, the database access from worker is removed due to AIP-72. This necessitates removal of db access in TI state listener API - as it is also executed on worker. In Airflow 2.11, session argument should be deprecated, and removed (or always be None?) in 3.0. Additionally, in 3.0, it will be passed `RuntimeTaskInstance` model. ### Committer - [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project. -- 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]
