neilmunday / slurm-mail

Slurm-Mail is a drop in replacement for Slurm's e-mails to give users much more information about their jobs compared to the standard Slurm e-mails.
GNU General Public License v3.0
97 stars 39 forks source link

Added Admin Comment field to Job Information Table #101

Closed jitkang closed 11 months ago

jitkang commented 11 months ago

Starting SLURM v22.x release, they added a new Admin Comment field in additional to Comment field, which is only modifiable by Administrator. This is can be useful for Administrator to pass job information to users through the email by setting AdminComment via scontrol command.

Although this might not be useful for everyone, I think it would be a good additional for its usefulness and convenience.

The pull request add the additional field extraction and parsing, and only display the information in the job table after the job end.

jitkang commented 11 months ago

I have added an additional empty field column for AdminComment in the tests so that it doesn't fail.

neilmunday commented 11 months ago

Thanks for this modification, merging into 4.7 branch.