pecan icon indicating copy to clipboard operation
pecan copied to clipboard

Add API endpoint to kill a workflow

Open ashiklom opened this issue 4 years ago • 9 comments

Sometimes, we make boo boos (e.g., requesting 100 years of met download -- oops!). In those cases, it would be nice to have a shortcut to cancel a currently running workflow. Something like:

rpecanapi::kill_run(server, workflowid)
# Candidate API endpoint: <IP>/api/workflows/cancel?workflowid=XXXX

Currently, to cancel a run, you need to do some combination of:

  • Terminate the R process in Portainer
  • Purge the RabbitMQ queue
  • Restart RabbitMQ

Would be nice to do this in a more convenient way.

ashiklom avatar Mar 08 '21 19:03 ashiklom

This issue is stale because it has been open 365 days with no activity.

github-actions[bot] avatar Mar 09 '22 00:03 github-actions[bot]