Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot delete single workflow #177

Open
fgvieira opened this issue Mar 5, 2024 · 1 comment
Open

Cannot delete single workflow #177

fgvieira opened this issue Mar 5, 2024 · 1 comment

Comments

@fgvieira
Copy link
Contributor

fgvieira commented Mar 5, 2024

Describe the bug
Cannot delete a single/specific workflow. However, deleting all workflows (top left corner button) works fine.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Workflows
  2. Click on Delete Workflow action (on the right)

Expected behavior
Workflow is deleted.

Screenshots or logs
image

Desktop (please complete the following information):

  • OS: Win10
  • Browser: Firefox
  • Version: 123
@ckrushton
Copy link

ckrushton commented Aug 14, 2024

I've run into the same issue, and after a bit of digging, it looks like the API prevents workflows marked as "Running" from being deleted:

return jsonify({'msg': 'You cannot delete Running Workflow '}), 403

However, this is a bit annoying if you run a Snakemake dry run, as those are never marked as "Completed" and get stuck "Running". I've commented out this check and haven't noticed any issues, but haven't extensively tested this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants