Skip to content

[Deadline Alerts] Request: Allow using a Variable for the Interval #63852

Closed

Description

@ferruzzi

Description

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.

Use case/motivation

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. SameerMesiah97 commented on Mar 26, 2026

    @SameerMesiah97
    Contributor

    @ferruzzi

    Do you mind if I take this?

  2. ferruzzi commented on Mar 26, 2026

    @ferruzzi
    ContributorAuthor

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions