ephraimbuddy opened a new pull request #21413: URL: https://github.com/apache/airflow/pull/21413
When we make a query to get the total active runs, it returns the dagrun being examined as running. Therefore we subtract the dagrun being examined from active runs. There's a bug in this query `dag.get_num_active_runs` but for now we should get this fixed this way closes: https://github.com/apache/airflow/issues/21083 closes: https://github.com/apache/airflow/issues/19901 --- **^ Add meaningful description above** Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)** for more information. In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed. In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x). In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/main/UPDATING.md). -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org