Actions
Everything under /workspace is kept. Everything else is rebuilt when the
workspace restarts.
Your workspace has a single persistent volume, mounted at /workspace. It
survives restarts, upgrades and redeployments. The rest of the system,
including your home folder and /tmp, starts fresh each time.
Workspaces restart for platform updates and maintenance, which means a short interruption. There is nothing you need to do: everything in the left-hand column above carries over.
A task the agent was in the middle of is not lost. After the restart, the agent picks it up again on its own, with the note "The server restarted while you were working". If a task keeps getting interrupted, the agent stops retrying after 10 attempts.
An open session ends with the restart. In the
Agents tab, follow the conversation again — in the
Web view from the session list on the left, or in the terminal by starting a
new one and pressing ctrl + x l.
Because only /workspace is kept, install what a project needs inside the
project:
node_modules, a Python .venv or a vendor folder live in the project folder and are kept.npm install -g, pip install --user or downloaded into your home folder, disappear at the next restart.For a tool you need in every session, add it as a project dependency, or keep a small setup script in your repository and ask the agent to run it after a restart.
Back up your workspace from Settings → General:
Use Export all before an import, or before you remove a workspace, so you can always go back.
A workspace starts with a 5 GiB volume. Your checkouts, conversations, CodeGraph indexes, the browser's profile and attached files all share it.
To see how much is in use, run df -h /workspace in a terminal. To get more
space, contact support; the volume can be
expanded.