Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.
This repository was 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

@vieiralucas

Description

@vieiralucas

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions