Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Remove components should care about component dependencies #16

Open
yugasun opened this issue Mar 31, 2020 · 0 comments
Open

Remove components should care about component dependencies #16

yugasun opened this issue Mar 31, 2020 · 0 comments

Comments

@yugasun
Copy link

yugasun commented Mar 31, 2020

If component A depends on component B, so B will be deployed firstly, then will be A.
But when removing all components, syncState function only remove them in parallel. When removing B, sometimes B will say "I have relevant resources A, you should delete it firstly", so the remove action will fail.
This is the source code: https://github.com/serverless/template/blob/master/utils.js#L333

For this part, could we add a retry method to solve this problem?

@yugasun yugasun changed the title Remove components should component dependencies Remove components should care about component dependencies Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant