# All CI on the self-hosted runner

Every workflow job runs on the self-hosted VPS runner and a test refuses a GitHub-hosted one. The RLS matrix runs without Docker, and only pull requests into main get a preview.

- **No job runs on a GitHub-hosted runner.** The repository is private, so hosted minutes are billed; every job of every workflow now says `runs-on: [self-hosted, vps]` and has a `timeout-minutes`. `rls-matrix`, the e2e suite, the preview and production deploys and the two manual operations workflows moved; `checks` was already there. `scripts/ci-runners.test.mjs` fails on any other `runs-on` (disabled jobs included), a job without a timeout, `services:` or `container:`, and a workflow without a `concurrency` group. A job the runner cannot run is disabled, never moved back. See [CI and the runner](/docs/development/ci). ([#247](https://github.com/CarlosZiegler/fofo/pull/247))
- **The RLS matrix runs without Docker.** `test:rls-matrix -- --driver native` starts one `initdb`/`pg_ctl` cluster per server from the PostgreSQL 15, 16 and 18 binaries installed on the machine; Docker stays the default on a laptop. The CI job installs the majors the runner image lacks into its own container. See [database](/docs/features/database#tenant-isolation). ([#247](https://github.com/CarlosZiegler/fofo/pull/247))
- **Only a pull request into `main` gets a preview.** A pull request into an integration branch used to fail in the preview job after it had created a Neon branch. Cleanup still runs for every closed pull request, and comments only where a preview comment exists. On the shared runner the preview's secrets file and generated configuration are written under `/tmp`, not in the workspace. See [deployment](/docs/deploy#pull-request-previews). ([#247](https://github.com/CarlosZiegler/fofo/pull/247))
