Skip to content

TUI omits OUT_OF_MEMORY and NODE_FAIL from terminal-state checks #3

Description

@ju-pixel

cluster/slurm.py:14 defines TERMINAL_STATES including OUT_OF_MEMORY and NODE_FAIL, but tui/jobs.py hardcodes a 4-tuple (COMPLETED, FAILED, CANCELLED, TIMEOUT) at L169 and L264 (and the status style map). An OOM or NODE_FAIL job keeps KILL enabled, never gets CLEAN/RSYNC enabled, and renders with the '?' unknown-status glyph. Fix: import and use TERMINAL_STATES consistently in all three places.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions