deprecate and remove session access from TaskInstance state change listeners #44990
Open
1 task done
Labels
airflow3.0:breaking
Candidates for Airflow 3.0 that contain breaking changes
airflow3.0:candidate
Potential candidates for Airflow 3.0
area:lineage
area:Listeners
kind:meta
High-level information important to the community
Milestone
Body
Currently, TI state listeners 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
.Committer
The text was updated successfully, but these errors were encountered: