You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Deadline Alerts] Request: Allow using a Variable for the Interval #63852
I have collected user requests from various talks and meetups and now that Deadline Alerts are hitting GA, I am going to be dropping them into Issues so folks can pick them up.
User request: Can we use an Airflow Variable as the interval so they can be adjusted easily across many Dags
Assignment: Investigate if we can and determine how feasible it would be. This may be trivial or it may be a big lift.
@SameerMesiah97 Have at it! I have not done any real research into how this would work, but if you want to look into it that would be great.
The way I see it, the interval would be read from the Variable when the deadline is calculated and that value would be persisted for that deadline. So one thing to test for is if the Variable gets changed after the dagrun starts, that should not change any existing deadlines, and all new deadlines after that point should pick up the new value.
Activity
SameerMesiah97 commentedon Mar 26, 2026
@ferruzzi
Do you mind if I take this?
ferruzzi commentedon Mar 26, 2026
@SameerMesiah97 Have at it! I have not done any real research into how this would work, but if you want to look into it that would be great.
The way I see it, the interval would be read from the Variable when the deadline is calculated and that value would be persisted for that deadline. So one thing to test for is if the Variable gets changed after the dagrun starts, that should not change any existing deadlines, and all new deadlines after that point should pick up the new value.