Skip to content

OperationsLogStartupMode

OperationsLogStartupMode = "probe" | "enabled" | "disabled"

Defined in: packages/server/src/index.ts:53

How the operations-log table’s presence is resolved at startup (ADR-0030 decision 3):

  • "probe" (default): the safe degradation posture (ADR-0030) — one query ensures/confirms the table, and logging is disabled at runtime (with a warning) if it is absent, so a missing table degrades gracefully instead of failing writes.
  • "enabled": assume the table exists — NO query. If it is actually absent, writes then fail loudly.
  • "disabled": turn logging off with NO query.

"enabled" | "disabled" are the serverless posture: paired with startupVerification: "deploy-time", a fresh worker sends zero queries before the mutation transaction itself.