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

Removing (corrupted) output files before the execution of steps. #1498

Open
BoPeng opened this issue May 6, 2022 · 0 comments
Open

Removing (corrupted) output files before the execution of steps. #1498

BoPeng opened this issue May 6, 2022 · 0 comments
Assignees
Labels

Comments

@BoPeng
Copy link
Contributor

BoPeng commented May 6, 2022

This looks like a reasonable feature, but there are a few problems.

First as described in #1496, nested workflows can cause problems:

[a]
output: something
sos_run('b')

[b]
output: something

When this happens, we actually execute step b before a,. Removing something before executing a will remove the output generated by b.

Second, it is unclear when to remove the files since the output files can be valid and need to be validated by signature. We will need to remove output files right before the statements are executed (after signature validation), then we have steps executor, substep executor etc, and task executor. This is doable but certainly not an easy task.

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

No branches or pull requests

1 participant