Files
coder/dogfood
Asher b993cab49a fix: use screen for reconnecting terminal sessions on Linux if available (#8640)
* Add screen backend for reconnecting ptys

The screen portion is a port from wsep.  There is an interface that lets
you choose between screen and the previous method.  By default it will
choose screen if it is installed but this can be overidden (mostly for
tests).

The tests use a scanner instead of a reader now because the reader will
loop infinitely at the end of a stream.

Replace /bin/bash with bash since bash is not always in /bin.

* Remove connection_id from reconnecting PTY logger

This serves multiple connections so it makes no sense to scope it to a
single connection.

Also lets us use "connection_id" when logging write errors instead of
"other_conn_id".

* Use PATH to test buffered reconnecting pty
2023-08-14 11:19:13 -08:00
..
2023-06-20 15:08:15 -05:00

dogfood template

Ammar is this template's admin.

Personalization

The startup script runs your ~/personalize file if it exists.

Hosting

Coder dogfoods on a beefy, single Teraswitch machine.

  • We decided to use a bare metal provider for best-in-class cost-to-performance.
  • We decided to use a single machine (vertical scaling) for fast parallelized builds and tests.

Provisioner Configuration

Our dogfood coderd box runs an SSH tunnel to our dogfood Docker host's docker socket.

The socket is mounted onto /var/run/dogfood-docker.sock in the coderd box.

The SSH tunnel command can be found hanging out in the screen session named forward.

The tunnel and corresponding SSH key is owned by root.