-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crerate TI context with data interval compat layer #19148
Crerate TI context with data interval compat layer #19148
Conversation
Old DAG runs created prior to 2.2 do not have a concrete data interval, but we still want to be able to add things to them with a consistent interface, so the context should use the compat layer instead of relying on the database entry.
Tentatively adding this to 2.2.1 since this is a regression in 2.2.0, and the fix should not introduce any risk. |
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
(cherry picked from commit 1159133)
(cherry picked from commit 1159133)
(cherry picked from commit 1159133)
(cherry picked from commit 1159133)
Fix #19143.
Old DAG runs created prior to 2.2 do not have a concrete data interval, but we still want to be able to add things to them with a consistent interface, so the context should use the compat layer instead of relying
on the database entry.