minyeamer opened a new pull request, #71558: URL: https://github.com/apache/airflow/pull/71558
Add a **Time Schedule** tab for comparing Dag start times and durations across an Airflow environment. Features: - Day and Week timelines with overlap handling and fixed headers - Mean, Max, and Min aggregation within zoom-dependent time buckets - Pointer-anchored zoom using buttons, the mouse wheel, or arrow keys - Existing Dag run, tag, timetable type, and optional team filters - Configurable limits from the latest 200 runs through all matching runs - Contiguous API pagination using the configured page size - Gray expected-run bars for scheduled Dags without matching Dag runs - Readable tooltips and links to the relevant Dag or Dag run - Saved view, aggregation, run-limit, and scheduled-only preferences - Light and dark theme support This is a UI-only change. It reuses existing endpoints and adds no schema or backend API changes. Earlier work in #68532 and #68547 informed the time-bucket design. The view placement follows #45497, while bounded loading follows the work in #47900, #60241, and #65388. Related: #22001 --- Screenshots: - Day view: <img width="1917" height="918" alt="time_schedule-day-tooltip" src="https://github.com/user-attachments/assets/63f99d84-81f3-4e4e-82e9-d339f09150b8" /><br> - Week view: <img width="1917" height="918" alt="time_schedule-week-tooltip" src="https://github.com/user-attachments/assets/e522461c-f1a6-4a8c-b8b9-b3b447619772" /> --- Videos: - Zoom (Day view): https://github.com/user-attachments/assets/91fb712a-7492-43ed-a5b0-969f4ddbda36 - Zoom (Week view): https://github.com/user-attachments/assets/30f2dfb1-a0d0-4250-92f0-024968f457d8 - Dag run links (Day view): https://github.com/user-attachments/assets/a7a306b7-e816-48aa-8659-b2a59962b834 - Dag run limits (Week view): https://github.com/user-attachments/assets/b3cf1d48-eda5-4751-b194-ab2e0b8ca16d - Aggregation (Day view): https://github.com/user-attachments/assets/5ce3fff4-9d5c-4ca4-bd47-8e3a943a5600 --- ##### Was generative AI tooling used to co-author this PR? <!-- If generative AI tooling has been used in the process of authoring this PR, please change below checkbox to `[X]` followed by the name of the tool, uncomment the "Generated-by". --> - [x] Yes (GPT-5.6 Sol) Generated-by: Codex (GPT-5.6 Sol) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) --- * Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)** for more information. Note: commit author/co-author name and email in commits become permanently public when merged. * For fundamental code changes, an Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals)) is needed. * When adding dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x). * For significant user-facing changes create newsfragment: `{pr_number}.significant.rst`, in [airflow-core/newsfragments](https://github.com/apache/airflow/tree/main/airflow-core/newsfragments). You can add this file in a follow-up commit after the PR is created so you know the PR number. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
