rackslab / Slurm-web

Open source web dashboard for Slurm HPC clusters
https://slurm-web.com
GNU General Public License v3.0
340 stars 97 forks source link

Reproduce Slurm logic to represent job states #404

Open rezib opened 1 day ago

rezib commented 1 day ago

Currently, the logic to represent job states is pretty basic and naive in Slurm-web. It should mimic Slurm logic implement in job_state_string_complete() for full support of all job states, eg. https://github.com/SchedMD/slurm/blob/844d20a7a859517fb2d5f05f03c723bbe5d5f058/src/common/slurm_protocol_defs.c#L2768C14-L2768C39