Vishwaspatel2401 opened a new pull request, #69769:
URL: https://github.com/apache/airflow/pull/69769
The "Max active runs" counter on the DAG details page ("X of Y") counts both
`running` and `queued` DAG runs, but the scheduler only counts `running` runs
when enforcing `max_active_runs`. After a backfill queues many runs, the UI
counter can show a number far exceeding the configured limit even though the
scheduler is behaving correctly.
This fixes the counter to only count `running` runs, matching what the
scheduler actually enforces.
closes: #69765
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Partially
--
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]