All docs pages
Docs

Draft, live and releases

Each project has two copies of its app: a draft you change freely, and a live copy your users see. Publishing moves the draft to live.

Draft and live#

DraftLive
Who sees itYou, in PreviewAnyone you let in: public, or only you while private
ChangesAfter every chat turn or pushOnly when you publish
DataIts own database and storage, with sample dataIts own database and storage, with your real data
Outside requestsNever sent; kept in an outboxSent only to hosts in the release’s outbound list

Publishing#

  1. Click Publish. Stackly builds a release from the draft.
  2. It rehearses the release on a copy of the live data, applying new migrations, so a broken change shows up before your users see it.
  3. The review shows what changes, including the hosts the release may send to, with new ones marked.
  4. When you confirm, the release goes live after its health check passes.

Publishing is always a person’s click. Pushes from the CLI and chat turns never change live.

Rollbacks and data restores#

  • Roll back to an earlier release if a new one misbehaves.
  • Restore the data saved with a release, if a change damaged it. Restoring replaces the live data, so newer records can be lost.
  • Versions in the draft are separate: they go back in the code, not in live.

Database changes#

Changes to the database are migration files, applied in order. A migration that already ran can never change or be removed; each change is a new file. Allowed statements are creating tables and indexes, adding columns, and inserting rows. Sample data runs only in the draft. Details in Limits.

Before each publish

Try the main flows in the draft, read the publish review, and check new outbound hosts. Keep your own backup of data that matters. Stackly’s release data is a safety net, not a backup service.