Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

How to handle when layer instance fails to be saved to state #49

Open
2 tasks
vieiralucas opened this issue Sep 2, 2023 · 0 comments
Open
2 tasks

How to handle when layer instance fails to be saved to state #49

vieiralucas opened this issue Sep 2, 2023 · 0 comments

Comments

@vieiralucas
Copy link
Member

vieiralucas commented Sep 2, 2023

After spawning or killing a layer, successfully or not we save that information to the layerform state.

This step is crucial for us to be able to later spawn layers on top of it or kill it.

Currently, we delete all the temporary directories we create in order to perform the spawn/kill process, that means that it is literally impossible for the user to even try to fix the issue by hand.


  • When failing to upload, retry 3 times (back-off 10s).
  • When all attempts fail, keep file on disk (not temporary folder) and show error message (link to Discord)
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