Vishwaspatel2401 commented on issue #69765: URL: https://github.com/apache/airflow/issues/69765#issuecomment-4948864935
@roykoand This comes down to two places disagreeing on what counts as "active." The scheduler only counts RUNNING runs when deciding whether to promote a queued run ([dagrun.py:729], gated against max_active_runs at dagrun.py:768-769). But the UI's counter, built in [get_dag_details], counts Running and Queued runs and shows that as "X of Y" on the DAG details page. So the scheduler is behaving correctly, it's just the display that's wrong. The fix is to make the UI count only Running runs, same as the scheduler. Opening a PR for this shortly. -- 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]
