pedro-cf opened a new issue, #53712: URL: https://github.com/apache/airflow/issues/53712
### Apache Airflow version 2.11.0 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? When I filter the DAG listing page by "Running", the UI does not properly show all the running DAG runs, even though in the database these DAG runs are correctly marked as running. Example: I have 11 running DAGs (checked DB) and only 3 are listed (see image and query bellow). <img width="1578" height="480" alt="Image" src="https://github.com/user-attachments/assets/5f81ce0f-8d1e-47c0-b0b7-953c80479cb5" /> ```sql SELECT COUNT(DISTINCT dag_id) FROM dag_run WHERE state = 'running'; count ------- 11 (1 row) ``` ### What you think should happen instead? The DAG listing page should show all currently running DAG runs when filtering by "Running", matching the state stored in the database. ### How to reproduce 1. Use dynamic DAG generation (such as dynamically created DAGs from a DB table). 1. Trigger DAG runs so that they enter the running state. 1. Go to the Airflow UI DAG listing page. 1. Use the "Running" filter. 1. Observe that some or all running DAG runs are not displayed. ### Operating System Ubuntu 20.04 ### Versions of Apache Airflow Providers _No response_ ### Deployment Docker-Compose ### Deployment details _No response_ ### Anything else? This Airflow deployment relies heavily on dynamic DAG generation, where DAGs are created programmatically at runtime by reading configurations from a database table. Despite the DAG runs being correctly recorded as running in the metadata database, the Airflow webserver UI's "Running" filter does not consistently display these running DAGs. ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
