Co-authored-by: Atif Ali <atif@coder.com>
vscode-coder template
This template is for developing the coder/vscode-coder VS Code extension.
Personalization
The template includes a personalize module that runs your ~/personalize
file if it exists.
Testing
The workspace comes with Playwright Chromium, GTK libraries, xauth, and a D-Bus daemon pre-configured for running tests headlessly, the same way CI does.
Integration tests launch a real VS Code instance and require a virtual
framebuffer. Run them with xvfb-run -a pnpm test:integration to match
CI behavior.
See the repo's AGENTS.md for the full list of commands.
Hosting
Coder dogfoods on a single Teraswitch bare metal machine for best-in-class cost-to-performance. Workspaces run as Docker containers with regional Tailscale endpoints for Pittsburgh, Falkenstein, Sydney, and Cape Town.
Provisioner Configuration
The dogfood coderd box runs an SSH tunnel to the Docker host's socket,
mounted at /var/run/dogfood-docker.sock. The tunnel runs in a screen
session named forward and is owned by root.