Hi, I am just following up to gather feedback from the community (also I have moved the AIP to Under Discussion so readers know I am done with the first version).
One point I'd like to emphasise is that the intention is not simply to introduce another optional trigger abstraction, but to establish PollingTrigger as the *recommended standard for new polling-based triggers going forward*. I revisited the AIP over the last week and I think this framing is important to ensure that it is not just left as something contributors can ignore when writing new triggers as that would undermine the motivation for introducing the new base class in the first place. I'd particularly welcome feedback on whether this is the right direction, as well as any concerns about the proposed abstraction or its scope. Thanks, Sameer. On Mon, 16 Nov 2026 at 17:50, Sameer Mesiah <[email protected]> wrote: > Hi, > > I have been working on the AIP-121 for the past few weeks which proposes > the introduction of an optional PollingTrigger class to airflow core to > standardize the lifecycle of polling-based triggers which I would like to > open up for a discussion. > > The idea came from noticing that quite a few provider triggers > independently implement similar logic for polling intervals, retries, > backoff, timeouts, and terminal-state detection. During reviews where > triggers were being modified the same concerns were being raised with > inconsistent resolution. This naturally results in the different triggers > adopting their own lifecycle idiosyncrasies. > > I think there's an opportunity to centralize these mechanics via a new > base class that these 'polling-based' triggers can be migrated to away from > BaseTrigger. > > I have had some feedback from Shahar already on the AIP already which has > been implemented. I'd be interested to hear what others think, > particularly whether this abstraction is worthwhile or if smaller reusable > helpers would be sufficient. I'm also wondering whether this needs a formal > AIP or could be introduced through PRs and lazy consensus. > > Please find below the link to the wiki page for the AIP: > > > https://cwiki.apache.org/confluence/spaces/AIRFLOW/pages/451974742/WIP+AIP-121+Introduce+a+PollingTrigger+Lifecycle+Framework > > It will be moved to under discussion once I see some traction on here. > > Thanks, > Sameer. >
