# Proposal: Get Queue information

**URL:** <https://cylc.discourse.group/t/proposal-get-queue-information/1198>\
**Category:** Cylc Development\
**Created:** [June 29, 2025, 10:55pm UTC](https://cylc.discourse.group/t/proposal-get-queue-information/1198 "2025-06-29T22:55:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomC](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/tomc/32/115_2.png) [@TomC](https://cylc.discourse.group/u/TomC)\
**Post date:** [June 29, 2025, 10:55pm UTC](https://cylc.discourse.group/t/proposal-get-queue-information/1198/1 "2025-06-29T22:55:21Z")

</div>

One thing I have always wanted in Cylc was to be able to get more information about the user-defined queues within Cylc. When tasks belong to multiple namepsaces, and both are assigned to different queues, a user may not understand which queue is being used. I think warnings may exist to try to highlight this, but, I thought being able to do a CLI command to

1. Obtain a list of which task namespaces belong to which queues
2. Query a queue for task and see which queue it belongs to
3. Obtain information about the queue state
  - Number of tasks active in queue
  - Number of tasks waiting on queue to find space for them
  - For any given queue, what tasks are active
  - For any given queue, what tasks are waiting

Then, in the WUI (and TUI?), have a view or frame which can show this sort of information too.

Would this be possible and would others find it useful being able to see more detail about the internal queue states?

---

<div class="post-metadata">

**Author:** ![hilary.j.oliver](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/hilary.j.oliver/32/4_2.png) [@hilary.j.oliver](https://cylc.discourse.group/u/hilary.j.oliver)\
**Post date:** [June 30, 2025, 2:30am UTC](https://cylc.discourse.group/t/proposal-get-queue-information/1198/2 "2025-06-30T02:30:51Z")

</div>

Yes, I think that’s a good idea.

From a comment in the code:

> ```
> Each task can belong to one queue only.
> 
> If a task is assigned to multiple queues the last assignment takes
> precedence. The "default" queue contains tasks not in another queue
> 
> ```

Somewhat surprisingly, it looks like we don’t have any validation warnings or user documentation on the result of assigning the same task to multiple queues. I’ll post an issue to address that.

> <https://github.com/cylc/cylc-flow/issues/6823>
>
> See https://cylc.discourse.group/t/proposal-get-queue-information/1198
> 
> It's lik…ely not clear to users that a task can only belong to a single queue, or which queue that is if they assign to several in the queue config.
> 
> (Not just a documentation issue - we might want to print warnings at validation).

---

<div class="post-metadata">

**Author:** ![hilary.j.oliver](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/hilary.j.oliver/32/4_2.png) [@hilary.j.oliver](https://cylc.discourse.group/u/hilary.j.oliver)\
**Post date:** [June 30, 2025, 3:02am UTC](https://cylc.discourse.group/t/proposal-get-queue-information/1198/3 "2025-06-30T03:02:15Z")

</div>

New issue posted for the proposal too: [Provide queue information on request? · Issue #6824 · cylc/cylc-flow · GitHub](https://github.com/cylc/cylc-flow/issues/6824)

---

<div class="post-metadata">

**Author:** ![oliver.sanders](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/oliver.sanders/32/110_2.png) [@oliver.sanders](https://cylc.discourse.group/u/oliver.sanders)\
**Post date:** [June 30, 2025, 8:56am UTC](https://cylc.discourse.group/t/proposal-get-queue-information/1198/4 "2025-06-30T08:56:14Z")

</div>

We have some ideas in the pipes…

1. [Represent queues as/like xtriggers (?)](https://github.com/cylc/cylc-ui/issues/131):

 ![Screenshot from 2025-06-30 09-54-13](https://global.discourse-cdn.com/free1/uploads/cylc1/original/1X/fcf7b1dba462e6c42cf89b6ad8a4dc6e671e6995.png)

1. [Queue view](https://github.com/cylc/cylc-ui/issues/462) for the GUI.
