pg-dispatch-requires-project-id

IN premise

When `pg_conninfo` is provided (via CLI `--pg` flag or `REASONS_PG_CONNINFO` env var) without a corresponding `project_id`, the system calls `sys.exit()` rather than proceeding with an incomplete configuration

Summary

If you configure the system to use PostgreSQL as its database backend but forget to specify which project the data belongs to, the system will refuse to start and exit immediately. This is a fail-fast safety measure that prevents data from being stored without proper project isolation, which would make multi-project setups unreliable.

Details

Sourceentries/2026/05/11/tests-test_pg_dispatch.md