Describe the bug
When submitting a file for processing using the ingest (https://YourServer/api/v4/ingest/) and passing a priority of 100 the job get's marked as "Medium" instead of "Low". In addition passing priority of 1 cases the Dispatcher to crash.
Screenshots
Currently configured Priorities from the UI:
Environment (please complete the following information if pertinent):
Assemblyline Version: 4.5.stable release channel
Browser: Safari 17.6
Additional context
My guess is that something is subtracting 1 from the priority somewhere in the pipeline for decisions, but still storing the right number. Also setting priority to 1 caused the dispatcher to totally stop working. I cannot provide system logs for that, but wanted to let you know. I could not find the exact AssemblyLine version in the UI, it might be helpful to add that to the dashboard or somewhere.
Describe the bug When submitting a file for processing using the ingest (https://YourServer/api/v4/ingest/) and passing a priority of 100 the job get's marked as "Medium" instead of "Low". In addition passing priority of 1 cases the Dispatcher to crash.
To Reproduce Steps to reproduce the behavior:
Expected behavior The docs do not describe what the priority thresholds should be as far as I could find, but in the contsants.py file here it seems to indicate that 1-100 should be Low. https://github.com/CybercentreCanada/assemblyline-base/blob/34cddbd7bbb739f2d82109bd6bce2543e13a3933/assemblyline/common/constants.py#L48-L56
Screenshots Currently configured Priorities from the UI:
Environment (please complete the following information if pertinent):
Additional context My guess is that something is subtracting 1 from the priority somewhere in the pipeline for decisions, but still storing the right number. Also setting priority to 1 caused the dispatcher to totally stop working. I cannot provide system logs for that, but wanted to let you know. I could not find the exact AssemblyLine version in the UI, it might be helpful to add that to the dashboard or somewhere.