|
4 | 4 | * checked-in switch for the first part of the sandboxes domain to leave |
5 | 5 | * platform Convex (COD-742; runbook in docs/freebuff-sandbox-errors-postgres.md). |
6 | 6 | * |
7 | | - * - `convex` (default): Convex writes and serves, exactly as before. The |
| 7 | + * - `convex` Convex writes and serves, exactly as before. The |
8 | 8 | * registry entries answer `unknown_function`, nothing reads the |
9 | 9 | * Postgres tables, and the projection chain ends at its next link. |
10 | 10 | * - `shadow` Convex still writes and serves. The `sandbox_errors.projection` |
11 | 11 | * chains copy every Convex change (insert, patch, delete) into |
12 | 12 | * Postgres, and the browser reads both and compares |
13 | 13 | * (`convex_pg_shadow_mismatch`). Writes stay on Convex. |
14 | | - * - `postgres` the web's error panels read and write Postgres, and the |
| 14 | + * - `postgres` (current, Owen 2026-10-19) the web's error panels read and write Postgres, and the |
15 | 15 | * `/runtime-error` intake on freebuff.com writes Postgres. The |
16 | 16 | * chains keep running INSERT-ONLY, for the writers still on |
17 | 17 | * Convex (the Convex deploy pipeline's build errors, apps that |
|
29 | 29 | */ |
30 | 30 | export type SandboxErrorsBackend = 'convex' | 'shadow' | 'postgres' |
31 | 31 |
|
32 | | -export const SANDBOX_ERRORS_BACKEND: SandboxErrorsBackend = 'shadow' |
| 32 | +export const SANDBOX_ERRORS_BACKEND: SandboxErrorsBackend = 'postgres' |
33 | 33 |
|
34 | 34 | /** Whether the registry serves the error reads (for the browser to compare, in `shadow`). */ |
35 | 35 | export function sandboxErrorsReadsServed( |
|
0 commit comments