flux-queue: `-q, --queue` option ignored with `-v, --verbose`
This behavior is surprising to users:
$ flux queue status -q pbatch
pbatch: Job submission is enabled
pbatch: Scheduling is started
$ flux queue status -v -q pbatch
pdebug: Job submission is enabled
pdebug: Scheduling is started
pbatch: Job submission is enabled
pbatch: Scheduling is started
pnvmeof: Job submission is enabled
pnvmeof: Scheduling is started
0 alloc requests queued
4 alloc requests pending to scheduler
6 running jobs
On one hand, the extra detail such as the number of alloc requests queued and pending are not per-queue, so it makes some kind of sense. However, the option should not be silently ignored. Maybe --queue should still limit output to the specified queue event with --verbose, but details that are not queue specific could have a qualifier in the output (e.g. "for all queues" or something)
Ideally, the alloc requests would be relevant to just the requested queue (allocations are all specific to a single queue, right?), but your suggestion sounds like a fine outcome.
These stats are internal to the job-manager module, which only has one real queue of jobs for which it is sending alloc requests to the scheduler module. This will likely change in the future, but for now there is no way to differentiate the alloc requests by queue.