Skip to content

Pending reason breakdown #43

Closed
Closed

Description

@somethingwithproof

Summary

Operators ask "why are jobs pending". The plugin graphs pending jobs by reason family and lists the raw reasons.

Requirements

  • REQ-REASON-001 The plugin MUST graph pending jobs by reason family, per cluster and per partition.
  • REQ-REASON-002 The family set MUST be fixed by the reason decision, and a reason not in any family MUST count as Other.
  • REQ-REASON-003 A plugin page MUST list raw reason strings with job counts and the partitions they affect.
  • REQ-REASON-004 The page MAY list job IDs only in the Admin realm, and MUST limit the rows it returns.
  • REQ-REASON-005 The page MUST show the time of the snapshot and its age.
  • REQ-REASON-006 The plugin MUST NOT create series for individual users or jobs.

Acceptance criteria

  • Fixture with every documented reason maps each to its family.
  • Unknown reason lands in Other and is listed on the page.
  • A page with 100,000 pending jobs returns within its row limit.

References

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: graphsTemplates and graphs for queues, nodes, and partitionsarea: pending-reasonsWhy jobs are pending, grouped and graphedphase: 1 cluster graphsCluster graphs and pending reasonspriority: blockerStops its milestone until resolvedtype: requirementA testable behavior the plugin must have

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions