Skip to content

can hq worker info support a selector #1052

@svatosFZU

Description

@svatosFZU

Hi,
I would like to ask if hq worker info command could support a selector? I have script(s) analyzing situation with my jobs. For that, I need details from info commands. For jobs, the allowed syntax (as shown by --help) is

Usage: hq job info [OPTIONS] <SELECTOR>

So, I ran one command, put a list of jobs in it, and get one response with all the data. But for workers, the ID is required:

Usage: hq worker info [OPTIONS] <WORKER_ID>

I think it would significantly decrease load from these scripts on HyperQueue (as well as shortening their runtime) if I could just put the list of workers in one command and get one response. Now, I need to ask for info about each worker separately in a loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions