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

[META] Implement basic manual Undo/Rollback capability #89

Closed
4 of 5 tasks
dbwiddis opened this issue Oct 12, 2023 · 0 comments · Fixed by #271
Closed
4 of 5 tasks

[META] Implement basic manual Undo/Rollback capability #89

dbwiddis opened this issue Oct 12, 2023 · 0 comments · Fixed by #271
Assignees

Comments

@dbwiddis
Copy link
Member

dbwiddis commented Oct 12, 2023

#32 describes an overall vision for a full rollback or overwrite capability, and near the bottom says:

What will it take to execute?

In the near term we should keep track of resources created in order to enable manual removal, regardless of any more automatic behavior.

Which means steps 1 and 3 of:

We need a capability to:

  1. Track what resources have been created in a workflow execution
  2. Automate the removal of these resources (if possible)
  3. Provide users with a specific list of resources created to enable manual removal in case automated removal fails, or they want more control over the process.

This issue is intended to do exactly that near term requirement. Review comments on #32 for some more context.

  • Store all resources created in a state index. [FEATURE] Create a state index for workflows.  #74
  • Update Template execution APIs to ensure that this list of resources created is returned to the user as part of the successful response.
  • Update Template execution APIs to ensure that this list of resources created is returned to the user as part of a failed response.
  • Provide a REST API that allows a user to list the resources they created. This will probably use the same code path which was used in the response generation in the previous steps.
  • Provide a REST API that allows a user to delete the resources they created. Look into tagging the resources in such a way that they can be easily filtered/identified. Consider integrating this as an optional parameter to the delete template API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants