Hi Annio

> I'm happy to remove the variable functionality. I initially added it to
make the created timetables trackable, but using variables increases the
DAG processor CPU load by about 40% and adds extra load to the database.

As an alternative, you could add them to the Airflow configuration. That
would make it a deployment configuration option, which aligns with the
deployment manager's role and ensures the changes remain auditable.

What do you think of this approach?

Best regards,
Jarek


On Fri, Dec 4, 2026 at 1:53 AM Annie Friedman via dev <
[email protected]> wrote:

> Thanks Ryan and Jarek!
>
> I’m happy to build more functionality for scheduling into the plugin
> instead of just calendars as Ryan suggested and move it into a common
> plugins provider.
>
> Lack of UI calendar availability has made it difficult for companies to
> adopt airflow from schedulers such as control-m, autosys and automic.  I
> think an easy way to build timetables around business logic without hitting
> the race condition is helpful as it bridges a learning gap and allows
> people to more easily use airflow and is an optional plugin for companies
> who need it (fin-serv, retail, ect).
>
> I’m happy to remove the variable functionality.  I added it to make the
> created timetables trackable but am open to other suggestions.  Using
> variables is about 40% higher cpu on the dag processor than cron and more
> DB load.  Do you have another idea on how to surface them in a way that is
> auditable?
>
> Thanks,
> Annie
>
> > On Dec 3, 2026, at 11:28 AM, Ryan Hatter via dev <[email protected]>
> wrote:
> >
> > Thanks all for the feedback. In my opinion, the new provider pattern
> (that
> > is, incubation before promotion) makes providers a good first step for
> the
> > calendar scheduling feature. If the community ships a better mechanism
> than
> > a provider for packing and shipping similar integrations before the
> > provider gets promoted, then that's fine; we can easily shift to that
> > mechanism.
> >
> > As far as the provider itself, I think we should take a slightly
> different
> > approach than a provider _just_ for calendar scheduling, but rather a
> > collection of common timetables and associated plugins. I propose
> > apache-airflow-providers-common-timetables,
> > of which calendars would be the first.
> >
> > I agree with Jarek that there's a fine line for what the UI should
> surface,
> > but given that this would be an optional provider and an optional
> plugin, I
> > believe it's reasonable in this case.
> >
> > On Wed, Dec 2, 2026 at 12:39 PM Jarek Potiuk <[email protected]> wrote:
> >
> >>> don't want to take focus from the discussion but I will raise that we
> >> need to address the question of what is a provider.
> >>
> >> 100% - It should not stop work and scope agreement. but I would
> separate it
> >> to separate discussion - we need to have someone who will take
> ownership of
> >> that rename and lead it to consensus and decisions (and this is the most
> >> difficult task - because it's about naming.
> >>
> >> J.
> >>
> >> On Wed, Dec 2, 2026 at 5:53 PM Elad Kalif via dev <
> [email protected]>
> >> wrote:
> >>
> >>> I don't want to take focus from the discussion but I will raise that we
> >>> need to address the question of what is a provider.
> >>> I don't know if timetables belong under the provider distribution.
> >>> to clarify this doesn't reflect on the proposal in this thread, it's
> just
> >>> about how we pack and ship such integrations to users.
> >>>
> >>> On Wed, Dec 2, 2026 at 3:38 PM Jarek Potiuk <[email protected]> wrote:
> >>>
> >>>> Good idea, but few caveats:
> >>>>
> >>>> 1) Make sure to expose the calendars as plugins (few providers already
> >> do
> >>>> similar things)
> >>>> 2) Calendar/scheduling needs to be optimized for performance since
> they
> >>>> are running in scheduler
> >>>> 3) I am not sure if this is a good idea to expose calendar UI in
> >> airflow.
> >>>> Airflow UI is **not** supposed to be used for any kind of Authoring or
> >>>> configuration management, mostly for operations.
> >>>>
> >>>> To double down on point 3 - this is all about "who are the users of
> the
> >>>> UI.". We should assume different people use the UI: operations people,
> >>> DAG
> >>>> Authors who create the DAGs, and Deployment Managers who manage
> >>> deployments.
> >>>>
> >>>> TimeTables in Airlfow are deployment-level concept. You manage them
> the
> >>>> same way as installing new providers or changing configuration. No
> >> other
> >>>> roles in Airflow can define the custom calendars - and I think it
> makes
> >>>> sense.
> >>>>
> >>>> For the same reason storing calendars in a Variable is not a good
> idea.
> >>> It
> >>>> opens up all kinds of potential performance issues. I would much more
> >>>> welcome a tool that allows you to read/generate/update
> >>> Timetable-as-a-code
> >>>> or at most a configuration that should be deployed by the Deployment
> >>>> Manager (via Airflow configuration) to use a more generic
> >>> "calendar-based"
> >>>> Timetable delivered by a provider.) to use a more generic
> >>> "calendar-based"
> >>>> Timetable delivered by a provider. Possibly the provider could even
> >>>> expose such a tool via the "airflow" cli (it could even be a TUI-based
> >>>> interface).
> >>>>
> >>>> While I understand the desire to create Calendars via UI, there is no
> >>>> point in cluttering airlfow UI with the features that will be used
> very
> >>>> occasionally and those that are "deployment manager"  bound,
> >>>>
> >>>> On Wed, Dec 2, 2026 at 1:48 PM Annie Friedman via dev <
> >>>> [email protected]> wrote:
> >>>>
> >>>>> Hello Airflow community,
> >>>>>
> >>>>> I'd like to propose adding a new community provider,
> >>>>> apache-airflow-providers-calendarmanager.
> >>>>>
> >>>>> Integration overview
> >>>>> --------------------
> >>>>> Calendar Manager fills gaps for business use cases that need
> >> scheduling
> >>>>> outside of cron without each user having to have a deep understanding
> >> of
> >>>>> custom timetables or airflow.
> >>>>>
> >>>>> The provider includes:
> >>>>>
> >>>>> - Holidays as rules: fixed dates, the n-th weekday of a month,
> >> one-time
> >>>>> closures, lunar holidays (including
> >>>>>  Easter and the Chinese, Korean and Vietnamese calendars) and
> >>> solar-term
> >>>>> holidays.
> >>>>> - A guard against the race between the scheduler and the Dag
> processor
> >>>>> that can create duplicate runs or skip
> >>>>>  runs at DST changes.
> >>>>> - A Timetable designer page in the Airflow UI (Airflow 3.1+) that
> lets
> >>>>> users create and manage custom timetables
> >>>>>  without a deep understanding of Airflow: pick days, times and a time
> >>>>> zone on a calendar, preview the next runs,
> >>>>>  and use the schedule in a Dag by name. Schedules are stored as
> >> Airflow
> >>>>> Variables, so changes need no deploy.
> >>>>>
> >>>>> System tests
> >>>>> ------------
> >>>>> The provider doesn't integrate with an external service. It has unit
> >>>>> tests and an example Dag as a system test. The unit tests pass in
> >>> Breeze on
> >>>>> Postgres, and they cover DST changes and leap years from 2000 to 2100
> >>> with
> >>>>> a frozen clock, and the scheduler / Dag processor race.
> >>>>>
> >>>>> Proposed stewards
> >>>>> -----------------
> >>>>> - Annie Friedman, @annieflow, [email protected]
> >>>>> - Looking for a second steward if anyone else is interested!
> >>>>>
> >>>>> Sponsoring committer(s)
> >>>>> -----------------------
> >>>>> - Ryan Hatter, @rnhttr
> >>>>>
> >>>>> Working implementation
> >>>>> ———————————
> >>>>> [image: 77952.png]
> >>>>>
> >>>>> Add Calendar Manager provider by annieflow · Pull Request #77952 ·
> >>>>> apache/airflow <https://github.com/apache/airflow/pull/77952>
> >>>>> github.com <https://github.com/apache/airflow/pull/77952>
> >>>>> <https://github.com/apache/airflow/pull/77952>
> >>>>>
> >>>>> Incubation commitment
> >>>>> ---------------------
> >>>>> We commit to:
> >>>>> - Maintaining the provider and responding to issues within a
> >> reasonable
> >>>>> time
> >>>>> - Meeting the incubation health metrics within 6 months
> >>>>> - Participating in quarterly governance updates
> >>>>>
> >>>>> Thanks,
> >>>>> Annie Friedman
> >>>>>
> >>>>
> >>>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to