Gitpod brings a new way to think about your development environment. Rather than a single local environment that you keep up-to-date, with Gitpod you can have as many workspaces as you need.
The state of the workspace is indicated by the color of the workspace indicator. For example, in the Gitpod dashboard, workspace state is shown on the workspace list.
- 🟠 Starting - Workspace provisioning, inaccessible to the user.
- 🟢 Running - Workspace loaded, accessible to the user.
- 🟠 Stopping - Workspace being stopped, backups performing.
- 🔴 Stopped - Workspace no longer accessible. File system preserved for restart.
Important: Only files in the
/workspacedirectory are kept between state transitions.
The following describes each workspace status in detail, including what can cause a workspace to transition from one status to another.
When you open a workspace, it will be in the “starting” state. This means that the workspace is being created and the initialization process is running.
- Where a workspace is being provisioned and initialized.
- If configured and available, a prebuild snapshot is used.
- Otherwise, source control is downloaded into the workspace.
- An active workspace is provisioned within Gitpod.
- The workspace can be accessed by the user.
- No provisioned workspace is running (e.g. ports and URLs are not accessible).
- Only files and directories inside
- If the workspace is restarted, the URL is preserved.
- A start is required before the workspace can be used.
Workspaces are deleted after 14 days. Pinned workspaces are never deleted automatically.
A pinned workspace is never deleted. You can pin a workspace from your workspace list in the Gitpod dashboard.
You can create a snapshot of a workspace to save its state. This is useful if you want to keep a workspace around for a longer period of time, than the default. Read more about Snapshots.
Stopped workspaces are automatically deleted 14 days since the last workspace start. Pinned workspaces are never deleted. You can pin a workspace from your workspace list in the Gitpod dashboard.
Running workspaces stop automatically after a period of inactivity.
By default, workspaces stop following 30 minutes without user input (e.g. keystrokes or terminal input commands). You can increase the workspace timeout up to a maximum of 24 hours.
Extend Inactivity Timeouts
Free plan users cannot update their default workspace inactivity timeout (see pricing).
Current workspace - You can extend the inactivity timeout of their current workspace using the
gp timeout set command from the Gitpod CLI (installed in all gitpod workspaces by default), through the Command Palette in VS Code, or the Backend Control Center in JetBrains Gateway. Extending the workspace inactivity timeout only applies to the currently running workspace.
Default - You can set a default workspace inactivity timeout for all new workspaces opened via the preferences page. The timeout default cannot currently be set by an organization owner.
Editor or IDE Disconnect
All inactivity timeouts are dependent on an active editor or IDE connection. Closing your Gitpod connected editor or IDE will reduce the workspace timeout to 5 minutes unless an explicit workspace inactivity timeout is set via user preference, or via the Gitpod CLI.