The GitHub Actions job "Tests (ARM)" on airflow.git/v3-3-test has failed.
Run started by GitHub user henry3260 (triggered by henry3260).

Head commit for run:
0337d127e7c68477445f2bf206f146535cb4ca94 / Pierre Jeambrun 
<[email protected]>
Fix Calendar view hanging for Dags with high-frequency cron schedules (#71263) 
(#71435)

The planned-runs computation for cron timetables iterates croniter until the
year boundary with no cap, while the generic-timetable path stops at
MAX_PLANNED_RUNS. For "*/5 * * * *" that is ~105k iterations (~2s) per calendar
request, ~520k (~7s) for a minutely cron, and ~31M (minutes of CPU) for a
seconds-resolution cron - enough for any user with Dag read access to pin an
API server worker just by opening the Calendar tab. Apply the same
MAX_PLANNED_RUNS cap the generic path has used since the endpoint was added.

(cherry picked from commit d1e5f1a61340581c0a5b3bc0bf7af57cbb95ec58)

Co-authored-by: Jonathan Brown <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/31497635011

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to