General Situation:
We have several ruby scripts that are part of state machines. These custom scripts seem to have a bug that doesn’t allow them to finish (endless loop inside). We are seeing these tasks run on for too long. This was a script that is part of hundreds of currently running/still visible requests.
We have found that deleting the request via the UI stops this behaviour. Is there a programatic way to delete/cancel all requests to allow us to clean the queue, revise the broken code, and start over?
Have tried a POST to /api/requests/:id with the cancel action and those failed.
Would go into the DB and see if I can remove them there, but would that break any request cleanup the “Delete” button does?
Thanks in advance.