reanahub / reana-workflow-controller

REANA Workflow Controller
http://reana-workflow-controller.readthedocs.io/
MIT License
2 stars 38 forks source link

api: allow deletion of workflows in queued state #211

Closed diegodelemos closed 4 years ago

diegodelemos commented 5 years ago

Currently, we only allow deletion of workflows in the following states: created, finished, stopped, failed (code here)

We should allow as well deletion of queued jobs. It could happen that the queue is full and user realises just after submitting that the workflow contains a mistake and wants to delete it (suggested in https://gitter.im/reanahub/reana?at=5d07a5b5fbcc305cc488a4d0).

Thanks @irinaespejo for the feedback!

diegodelemos commented 4 years ago

Duplicated of https://github.com/reanahub/reana-client/issues/239 (@irinaespejo you can follow the progress there :)).