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

When one of restarted workflows is deleted, workspace is removed, and newer restarted workflows lose their files #462

Open
VMois opened this issue Jul 25, 2022 · 0 comments

Comments

@VMois
Copy link

VMois commented Jul 25, 2022

How to reproduce?

  1. Restart a few workflows, so you have a sequence like this test.1, test.1.1, test.1.2.
  2. Go to UI, delete test.1.1.
  3. Check files for test.1.2; the workspace is empty.
  4. Restart workflow test.1; it will fail.

Related code:

def delete_workflow(workflow, all_runs=False, workspace=False):

We need to decide how to handle if a user deletes some of the restarted workflows in the middle. (1) We can only allow deleting the latest restarted workflow, which will delete all previous workflows. Or, only allow deleting the original workflow, which will delete all restarted ones.

What do you think?

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

No branches or pull requests

1 participant