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

compute/deploy: clear Service ID from manifest when service is deleted #278

Merged
merged 2 commits into from May 12, 2021

Conversation

Integralist
Copy link
Collaborator

Problem: during the deploy logic flow, if there is an error at any point, we clean up by deleting the service/domain/backend. But we don't clear the Service ID from the manifest, which means on the next run of deploy a different flow branch is executed and the user can get into an unexpected state where they can't activate their service as the service defined in the manifest is being used and that service has since been deleted.

@Integralist Integralist added the bug Something isn't working label May 12, 2021
@Integralist Integralist requested review from a team and kailan and removed request for a team May 12, 2021 14:45
@Integralist Integralist changed the title Clear Service ID from manifest when service is deleted. compute/deploy: clear Service ID from manifest when service is deleted May 12, 2021
Copy link
Member

@kailan kailan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very elegant 👍

@Integralist Integralist merged commit ee551d6 into main May 12, 2021
@Integralist Integralist deleted the integralist/clear-sid-from-manifest branch May 12, 2021 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants