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

Run idempotently when resuming a previous run #9

Closed
mcmire opened this issue Jul 19, 2022 · 1 comment
Closed

Run idempotently when resuming a previous run #9

mcmire opened this issue Jul 19, 2022 · 1 comment

Comments

@mcmire
Copy link
Contributor

mcmire commented Jul 19, 2022

If the tool aborts midway through a run and somehow the release spec is not removed, the user should be able to re-run the tool to complete the full run. In this case, anything that's happened in the previous run should not cause the tool to abort again.

  • if a package has already been bumped, ignore and continue
  • if the release branch has already been created, ignore and continue
  • if we've already switched to the current branch, ignore and continue
@mcmire
Copy link
Contributor Author

mcmire commented Sep 6, 2022

This ends up conflicting with #17, as the tool should not be in a mixed state if it encountered an unexpected failure while executing the release spec. If the release spec file still exists somehow after the tool stops running, then the tool should throw an error. This should be addressed via #24. In light of these two other issues, I'm closing this.

@mcmire mcmire closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2022
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

1 participant