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

Resumable Deployment Observer #43

Open
adairrr opened this issue Dec 20, 2022 · 0 comments
Open

Resumable Deployment Observer #43

adairrr opened this issue Dec 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@adairrr
Copy link
Contributor

adairrr commented Dec 20, 2022

It would be beneficial to the developer experience if in-progress deployments were kept track of, and were able to be resumed at a given point if a step fails.

Right now, if you have a script that deploys many interlinked contracts and one of the deployments / actions fails, the script fails entirely with dangling contracts in an unknown state. With the deployment observer, the latest step and state would be known and could be resumed before the failure.

This would likely use the observer pattern where each step executing an action using the Boot ContractInstance would increment the step counter and save the state at that step. If a deployment "resumes" (via flag or otherwise) it would see that the step counter is > 0 and resume after the latest successful step.

@CyberHoward CyberHoward added the enhancement New feature or request label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants