Skip to content

Commit ffb7fb4

Browse files
Sync public snapshot from freebuff-private
Source: CodebuffAI/freebuff-private@cb83e3691d992d736ccd0cd0aeec5f5c52284dcc
1 parent 9e99a1b commit ffb7fb4

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎common/src/constants/sandbox-errors-backend.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
* checked-in switch for the first part of the sandboxes domain to leave
55
* platform Convex (COD-742; runbook in docs/freebuff-sandbox-errors-postgres.md).
66
*
7-
* - `convex` (default): Convex writes and serves, exactly as before. The
7+
* - `convex` Convex writes and serves, exactly as before. The
88
* registry entries answer `unknown_function`, nothing reads the
99
* Postgres tables, and the projection chain ends at its next link.
1010
* - `shadow` Convex still writes and serves. The `sandbox_errors.projection`
1111
* chains copy every Convex change (insert, patch, delete) into
1212
* Postgres, and the browser reads both and compares
1313
* (`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
1515
* `/runtime-error` intake on freebuff.com writes Postgres. The
1616
* chains keep running INSERT-ONLY, for the writers still on
1717
* Convex (the Convex deploy pipeline's build errors, apps that
@@ -29,7 +29,7 @@
2929
*/
3030
export type SandboxErrorsBackend = 'convex' | 'shadow' | 'postgres'
3131

32-
export const SANDBOX_ERRORS_BACKEND: SandboxErrorsBackend = 'shadow'
32+
export const SANDBOX_ERRORS_BACKEND: SandboxErrorsBackend = 'postgres'
3333

3434
/** Whether the registry serves the error reads (for the browser to compare, in `shadow`). */
3535
export function sandboxErrorsReadsServed(

‎common/src/constants/sandbox-workspace-backend.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* access from the project spine (COD-742 sandboxes,
66
* docs/freebuff-sandbox-workspace-actions.md).
77
*
8-
* - `convex` (default): the browser calls Convex; the twins answer
8+
* - `convex` the browser calls Convex; the twins answer
99
* `unknown_function`.
10-
* - `postgres` the browser calls freebuff-web. Refused (the map keeps the
10+
* - `postgres` (current, Owen 2026-10-19) the browser calls freebuff-web. Refused (the map keeps the
1111
* browser on Convex) until the spine reads are on Postgres.
1212
*
1313
* No `shadow`: these are actions with side effects on the sandbox, so running
@@ -16,4 +16,4 @@
1616
*/
1717
export type SandboxWorkspaceBackend = 'convex' | 'postgres'
1818

19-
export const SANDBOX_WORKSPACE_BACKEND: SandboxWorkspaceBackend = 'convex'
19+
export const SANDBOX_WORKSPACE_BACKEND: SandboxWorkspaceBackend = 'postgres'

0 commit comments

Comments
 (0)