Skip to content

Concepts

Production

Markdown

The part of a project that serves your users. Your agent reads it freely and changes it only in ways that can be undone.

  • Read without asking: logs, releases, and read-only SQL.
  • Change what can be undone: a deploy that can be rolled back, a promote from a twin.
  • Ask you before anything irreversible, see Confirmations.

Whether an agent may read production data at all will be a setting, because production holds your customers’ data.

  • Watching after a deploy. For five minutes after the switch, Rytiv compares the app’s error rate (the share of 5xx answers, with at least 20 requests to judge) with the rate before. If it is clearly worse, the deploy is rolled back on its own; the verdict is in the deploy’s watch field.
  • The database is never rolled back automatically. A point-in-time restore is offered instead, and the state before a restore is kept as a branch.
  • A restore point before every production migration comes with projects.
  • Rollbacks of an app to an earlier release, without a rebuild, by hand and automatically after a bad deploy.
  • Point-in-time restore of a database in place, with the old state kept as a branch.
  • Read-only SQL for your agent: without a branch, execute_sql runs in a read-only transaction.
  • An agent token of class production, which may read and nothing else.