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
>

Reply via email to