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

Adding a dependent job with --rerun results in unexpected behaviour #326

Open
sb10 opened this issue Jul 2, 2020 · 0 comments
Open

Adding a dependent job with --rerun results in unexpected behaviour #326

sb10 opened this issue Jul 2, 2020 · 0 comments

Comments

@sb10
Copy link
Member

sb10 commented Jul 2, 2020

echo "sleep 10" | wr add -o 2 -i a --dep_grps a --rerun && echo "sleep 5" | wr add -o 2 -i b --dep_grps a,b --rerun && echo "sleep 2" | wr add -o 2 -i c --deps a,b --rerun

On a fresh db, c is dependent, runs last.

Previously, when repeated, a and b are added, but c is not added since it's a "duplicate". It did, however, get resurrected and start running immediately!

This is now fixed, but want to change it to use the newly added job and not claim it's a duplicate, since --rerun was used.

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