You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "vojay-dev (via GitHub)" <gi...@apache.org> on 2025/09/12 20:33:52 UTC

[I] Pool summary widget shows gaps with slots in different states [airflow]

vojay-dev opened a new issue, #55595:
URL: https://github.com/apache/airflow/issues/55595

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Note: This is a **low priority** issue.
   
   I encountered the problem while testing the [3.1.0b1 release](https://pypi.org/project/apache-airflow/3.1.0b1/).
   
   <img width="1840" height="1062" alt="Image" src="https://github.com/user-attachments/assets/d804f282-4202-4c8c-ae7f-fa6a1e35efde" />
   
   The Pool Stats widget on the Home view shows gaps in the bar with slots in different states.
   
   The same behavior also appears in the dedicated Pools view (Admin → Pools), where there is significant empty space between the different slot states.
   
   <img width="1840" height="1062" alt="Image" src="https://github.com/user-attachments/assets/7dfa3de8-bce8-4ef2-9c89-d122068df555" />
   
   ### What you think should happen instead?
   
   Since the full bar represents all slots, I would expect the states to be displayed seamlessly, without gaps, once slots are distributed across different states. Example:
   
   <img width="1176" height="106" alt="Image" src="https://github.com/user-attachments/assets/fc63afe6-bcee-4264-bbfe-da9dbab75af1" />
   
   ### How to reproduce
   
   The easiest way to reproduce is to start an Airflow instance with a simple DAG that runs contionuous:
   
   ```
   @dag(
       schedule="@continuous",
       start_date=datetime(2025, 9, 1),
       max_active_runs=1
   )
   def some_dag():
   
       @task
       def some_task():
           sleep(30)
   
       some_task()
   
   some_dag()
   ```
   
   
   ### Operating System
   
   macOS 15.6.1
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Astronomer
   
   ### Deployment details
   
   _No response_
   
   ### 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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pool summary widget shows gaps with slots in different states [airflow]

Posted by "TJaniF (via GitHub)" <gi...@apache.org>.
TJaniF commented on issue #55595:
URL: https://github.com/apache/airflow/issues/55595#issuecomment-3286766289

   I reproduced this on the current `main` branch. The gaps get bigger the more slots are occupied, I think. 🤔 
   
   <img width="1728" height="992" alt="Image" src="https://github.com/user-attachments/assets/a461c427-5c4e-47d0-a3e6-b753583afc2b" />


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pool summary widget shows gaps with slots in different states [airflow]

Posted by "KatalKavya96 (via GitHub)" <gi...@apache.org>.
KatalKavya96 commented on issue #55595:
URL: https://github.com/apache/airflow/issues/55595#issuecomment-3309839503

   @cmarteepants @vojay-dev I have resolved this issue. Please look into this and tell if it feels good. Thanks!
   
   https://github.com/user-attachments/assets/4b7ce964-14ae-4b20-9a62-378431ac0cdd


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pool summary widget shows gaps with slots in different states [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #55595:
URL: https://github.com/apache/airflow/issues/55595#issuecomment-3286750175

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pool summary widget shows gaps with slots in different states [airflow]

Posted by "cmarteepants (via GitHub)" <gi...@apache.org>.
cmarteepants commented on issue #55595:
URL: https://github.com/apache/airflow/issues/55595#issuecomment-3309788791

   Good catch! Enjoy :) 


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pool summary widget shows gaps with slots in different states [airflow]

Posted by "aditya0yadav (via GitHub)" <gi...@apache.org>.
aditya0yadav commented on issue #55595:
URL: https://github.com/apache/airflow/issues/55595#issuecomment-3286964445

   @vojay-dev I can work on this one 


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pool summary widget shows gaps with slots in different states [airflow]

Posted by "KatalKavya96 (via GitHub)" <gi...@apache.org>.
KatalKavya96 commented on issue #55595:
URL: https://github.com/apache/airflow/issues/55595#issuecomment-3309784459

   @vojay-dev @cmarteepants I would like to work on this as i worked on #55734. Please assign this issue to me if it suits. Thanks!


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pool summary widget shows gaps with slots in different states [airflow]

Posted by "cmarteepants (via GitHub)" <gi...@apache.org>.
cmarteepants commented on issue #55595:
URL: https://github.com/apache/airflow/issues/55595#issuecomment-3309863170

   Looks good to me! Please reference this issue in your PR so it can be reviewed and tracked for the 3.1.1 release. 


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pool summary widget shows gaps with slots in different states [airflow]

Posted by "vojay-dev (via GitHub)" <gi...@apache.org>.
vojay-dev commented on issue #55595:
URL: https://github.com/apache/airflow/issues/55595#issuecomment-3312453867

   > [@cmarteepants](https://github.com/cmarteepants) [@vojay-dev](https://github.com/vojay-dev) I have resolved this issue. Please look into this and tell if it feels good. Thanks!
   
   Looks good, great work and thanks for taking care!


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pool summary widget shows gaps with slots in different states [airflow]

Posted by "shubhamraj-git (via GitHub)" <gi...@apache.org>.
shubhamraj-git closed issue #55595: Pool summary widget shows gaps with slots in different states
URL: https://github.com/apache/airflow/issues/55595


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org