File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 * `project_domain` tables) — the checked-in switch for moving hosting off
44 * platform Convex (COD-742 batch 5, track E4; docs/freebuff-hosting-postgres.md).
55 *
6- * - `convex` (default): Convex is the writer and the reader. Nothing in the
6+ * - `convex` Convex is the writer and the reader. Nothing in the
77 * Postgres port runs: no job is enqueued, the graphile cron for
88 * stale deploys no-ops, and the Convex cron keeps sweeping.
99 * - `shadow` Convex still writes and serves. Server paths that read a
1010 * deployment also read the Postgres copy (kept current by the
11- * catch-up/repair script) and log `convex_pg_shadow_row_mismatch`
12- * with ids and column NAMES only, never values.
11+ * `hosting.projection` chain) and log
12+ * `convex_pg_shadow_row_mismatch` with ids and column NAMES
13+ * only, never values. Current since 2026-10-19.
1314 * - `postgres` Postgres writes and serves; the deploy runs as the
1415 * `hosting.deploy_on_freestyle` job; the Convex stale-deploy cron
1516 * no-ops so exactly one sweeper ever runs.
2021 */
2122export type HostingBackendMode = 'convex' | 'shadow' | 'postgres'
2223
23- export const HOSTING_BACKEND : HostingBackendMode = 'convex '
24+ export const HOSTING_BACKEND : HostingBackendMode = 'shadow '
2425
2526/** Who serves hosting READS in `mode`. Shadow still serves Convex. */
2627export function hostingReadBackend (
You can’t perform that action at this time.
0 commit comments