cmarteepants opened a new issue, #55734: URL: https://github.com/apache/airflow/issues/55734
### Apache Airflow version 3.0.6 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? The pool slots chart is currently misleading when deferred tasks are configured _not_ to consume pool slots. <img width="955" height="79" alt="Image" src="https://github.com/user-attachments/assets/eb479152-378e-413c-a7a5-11cbd3999391" /> - When deferred tasks are **not** consuming pool slots, the chart still shows them, making it look like the pool usage is 129 with 128 available. <img width="1478" height="188" alt="Image" src="https://github.com/user-attachments/assets/f88dce89-6f38-4c4a-988c-1ca423137d28" /> - When deferred tasks **are** consuming pool slots, the chart shows 127 used + 1 deferred, which makes sense in that context <img width="1478" height="186" alt="Image" src="https://github.com/user-attachments/assets/67286b8b-691d-479d-a7cc-aa132bcb20f8" /> This creates confusion because it looks like the chart is "double-counting" or incorrectly showing available slots, even though the numbers are technically correct. As a user, I would need to know both: 1. Total possible slots 2. How deferred tasks are being treated (counted vs not counted) ### What you think should happen instead? The chart should only show deferred tasks if they are actively consuming a pool slot. Otherwise, it creates a misleading impression of slot usage. Update the chart logic to: - Only show deferred tasks if they are actively consuming a pool slot - Optionally clarify total slots vs available slots. ### How to reproduce 1. Configure a deployment with a pool size of 128 slots (using the default pool is fine) 2. Run a dag with a deferred task. HITL example is easiest. 3. View the pool slot chart. - With deferred tasks **not consuming slots**, the chart shows 128 ✓ + 1 (appears as 129) - With deferred tasks **consuming slots** the chart shows 127 ✓ + 1 which is expected ### Operating System macos ### Versions of Apache Airflow Providers _No response_ ### Deployment Other ### Deployment details Using Breeze locally on my Mac, via the v3.1.0-test branch ### Anything else? _No response_ ### 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]
