Release changes to production
Turn reviewed work in your development app into a release, roll it out while production stays up, and recover if a release fails.
On this page
Once production is live, you keep working in your development app. When you're happy with what's there, you release it to production in two steps: create the release, then roll it out.
What goes into a release
A release carries everything saved to your development app's main version since production's live release, including merged pull requests from your agents' tasks. Work on a feature branch, or in a task you haven't merged, stays out until it reaches main. See Use the Agents dashboard.
A release never carries data. Production keeps its own accounts, orders and files. The only database changes a release makes are its migrations, which you see before you release.
Where to release from
Open the Settings of either app, development or production, and select Production. Both show the same overview:
- Production (on the production app: This is your production app), with its status, its health, Open production and Production settings.
- New release, where you create the next release and roll it out.
- Releases, the release history, with rollback and route checks below it.
When production already has everything, New release says so, and new work saved to main shows up there as the next release.
Step 1: Create the release
Under 1. Create the release you'll see how many pull requests, commits, migrations and files are new since the live release, with the first few changes listed.
- Select View changes to see everything: pull requests, other commits, database migrations with their SQL, and the changed files.
- If the release changes the database, read Database migrations. Production applies these, in order, when it starts the release. Then tick I reviewed this release’s database changes against production data.
- If you like, select + Add release notes (optional) and describe what changed for your customers. Leave them empty and 1904 lists the included changes for you. Notes are saved with the release and can't be edited afterward.
- Select Create release.

The release folds into a one-line summary, 1. Release created, with What’s in this release to look again. Nothing has reached production yet. To change something, select Cancel release: your notes come back so you can edit them and create it again.

Step 2: Roll it out
Under 2. Roll it out, select Roll out to production.
1904 builds the new version beside the live one, so customers keep using production as it is. Progress shows as steps: Install, Migrate, Build, Switch over and Check. When the new version is ready, production switches over in seconds and 1904 checks it at its public address. You can close the page; the rollout carries on.
When the check passes, the status says Up to date and the release shows as live in the history.
If development or production changes after you create a release, the release is out of date and can't be rolled out. Cancel it and create a new one to ship the latest changes.
When you're asked to decide something
Most releases need nothing from you beyond the two steps. You'll be asked to act in these cases:
- Database changes. A release with migrations or other database-related files needs the confirmation in step 1 before you can create it.
- A schema change without a migration. If the database structure changed but no migration was added, Create release stays off, because production's database wouldn't be updated. Ask your agent in development to create a migration for the change, save it to main, then create the release.
- Edited migrations. Production has already applied its migrations and won't run an edited one again. Ask your agent to undo the edits and add a new migration instead.
- Things development runs that aren't recorded. If your development app runs something its app.json file doesn't record, production won't get it, and the release card lists what. When 1904 has started a task to record them, select Review its changes, save them in development, then release. Or tick Release without them.
When 1904 changes production's code
Production's code isn't an exact copy of development's: 1904 adapted it to production's own address, database and ports. Usually your update merges in cleanly. When it doesn't, 1904 merges it into production's code itself, checks it and releases automatically. The release card tells you 1904 is changing production's code for this release, with Open the task if you want to follow along. Production keeps serving its live release until then, and there's nothing for you to review or merge.
Release history
Releases lists every launch attempt, newest first, with Date, Revision, Status, Changes, Notes and Details.
- live marks the release serving now. Earlier releases that passed show verified, and those are the ones you can roll back to.
- failed attempts have Why it failed with the reason. Once a release is live, older failed attempts are hidden; select Show failed attempts to see them.
- Select the summary in Changes to see what that release shipped.
- Rollbacks are labelled rollback.
The five most recent rows show first. Select Show more releases for the rest.

If a release fails
A failed release doesn't take production down. Production stays on its live release, and if anything had stopped it, 1904 brings that release straight back.
Before it tells you, 1904 tries to fix the release itself: it works out why the release failed, changes production's code if that's where the problem is, and releases again. If it still can't finish, the Production page shows Last release failed, you get a notification, and you'll see one of these:
- The last release stopped on 1904's side. The problem was 1904's and has been reported. Nothing in your app needs changing; release again once it's fixed.
- The last release needs a fix in development. The problem is in your app's own code. 1904 made the smallest fix in your development app as a pull request. Select Review the pull request, merge it, then create and roll out a new release.
- The last release stopped. Select Open the task to see how far it got, continue it, then release again.
Changes from a release that didn't go live aren't lost. New release tells you they're still waiting, and the next release you create includes them.
Roll back
If a release went live and you'd rather go back, an owner can restore an earlier verified release.
- Under Releases, open Roll back to an earlier release.
- Choose the Earlier verified release and select Review rollback.
- Tick the confirmation that the earlier code works with production's current data, add release notes (a rollback needs them), and select Restore and deploy this release.
Rollback restores code, never data. If database-related files changed since that release, rollback is blocked; create a new release that works with the current database instead. Production also needs any keys the earlier release required.
Who can release
Only owners create, cancel and roll out releases, roll back, and change route checks. Members with access can see the Production page and the release history. Before production's first launch succeeds, members allowed to create production can also retry that launch.
Make changes in development
Make your changes in the development app and release them. Improve this app on the production app opens your development app's editor. If you do edit the production app directly, 1904 asks you to confirm first, because the change reaches your customers right away and won't appear in your development app.