Open
Description
Currently only the /workspace
folder is backed up and preserved across workspace restarts, and from the prebuild. This is unintuitive, adds friction to the experience and is a source of issues for users.
The change to keep all workspace files is very core and should be available in all forms of the product: SaaS and Self-Hosted.
To make this happen there are a few technical challenges that we will need to solve first, particularly as self-hosted support that may use older kernel and containerd versions is required.
Notes from June 23, 2022
- The biggest blocker we found was not the workdir location [related PR], but the interaction between overlayfs and shiftfs. TL;DR docker becomes unworkably slow if it needs to run on this setup because it falls back to VFS
- idmapped mounts may be a solution, but they require recent Kernel versions which is a problem for self-hosted