i-VRESSE / bartender

Middleware web service to schedule jobs on various infrastructures
https://i-vresse-bartender.readthedocs.io
Apache License 2.0
1 stars 0 forks source link

Cancelled state for arq scheduler? #53

Open Peter9192 opened 1 year ago

Peter9192 commented 1 year ago

Arq does not have a "cancelled" state according to https://github.com/samuelcolvin/arq/blob/main/arq/jobs.py#L25-L39

At the moment jobs that error out due to full disk, permission, service down, etc. or jobs that are cancelled explicitly by a user both set to 'error' state.

It could be useful to distinguish the two.

_Originally posted by @sverhoeven in https://github.com/i-VRESSE/bartender/pull/20#discussion_r1097572222_