Skip to content

[ML] GetJobStatsAction does not match open jobs correctly #34745

@davidkyle

Description

@davidkyle

The endpoint accepts a comma separated list of job Ids, group Ids, wildcarded Ids or _all which is then expanded into individual job Ids. But the task match function works on the unexpanded job id in the request rather than each of the expanded Ids. _all is handled correctly.

There are test cases covering getting the job stats for multiple jobs but the tests pass because the code assumes the job is closed then goes and gets the job stats for the job as if it was closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions