Hello We are setting up a lua cli_filter to coerce users to set certain options for their jobs (tracked but non-accounted wckeys) and noticed that the cli_filer.lua script runs for srun step and job allocations.
How should a cli_filter.lua script detect if it is inside a step or job allocation? If there is documentation that explains behaviors like this for lua cli_filters, any pointers/URLs will be appreciated. The schedmd documentation on it seems rather limited. Thanks