Skip to main content

App releases guide

Undo a code release without guessing about data

Restore a compatible earlier code release while keeping production data and the release record intact.

4 min readUpdated Start the guide

A release can pass its checks and still behave differently from what your users need. Rollback gives an owner a reviewed path back to earlier verified code. It does not rewind the app's database, so compatibility with current data is part of the decision.

Start by identifying the live release, the intended earlier release and what changed between them. A forward fix is the right path when the old code cannot safely use the current data.

On this page

Requirements

Before you start

Make sure you have these in place before following the steps:

  • Owner access to the app's Production page and an earlier verified release.
  • A clear reason for rollback and knowledge of current production data and required configuration.
  • Someone able to assess database compatibility when the change touches stored data.
The task verification panel showing checks and evidence states.
Verification separates current results, stale evidence and unavailable checks. Example task and results. Open full-size screenshot
Step 1 of 6

Find the live and earlier verified releases

Open Settings, then Production, and read Releases. Identify the live row and the verified release you intend to restore. Read their changes and notes; similar dates or names are not enough. Use Show more releases if the target is outside the most recent history.

Step 2 of 6

Open the rollback review

Use the previous-release rollback button when offered, or Roll back to an earlier release for an older target. Choose the target and Review rollback. Read the commits and changed files the restoration would remove. Confirm it reverses the incident without also removing another feature the business now requires.

Step 3 of 6

Check code and current-data compatibility

Read database-related warnings and the required production configuration. Automatic rollback is blocked when database-related files changed across the releases. Even without a detected file change, confirm that the earlier code can use the data now present. The platform cannot infer every business meaning from file paths.

Rollback review notes
Reason: the new export fails for existing members.
Target: the earlier verified release selected in Production.
Check: earlier code accepts today's database schema and records.
Preserve: current accounts, orders and uploaded files.
Verify after restoration: sign-in, one read-only customer journey and export with test data.
Step 4 of 6

Record the reason and confirm the target

Review the prefilled rollback notes where offered and add why you are restoring this release. Check the confirmation that earlier code works with current production data only after assessing it. If that statement is uncertain, stop the rollback and prepare a reviewed forward fix against the current schema.

Step 5 of 6

Restore and follow deployment

Choose Restore and deploy this release when the review is acceptable. Rollback creates a new source revision containing the earlier code, then rebuilds and runs health checks. Follow the displayed progress and any failure rather than assuming clicking the button immediately restored the customer experience.

Step 6 of 6

Verify recovery and keep the incident record

Open the production address, confirm health and repeat the affected user journey. Check that release history records the rollback and the expected release is serving. Return the incident information to development so the next release does not accidentally reintroduce the same behavior.

Check the result

  • Production serves the reviewed earlier code through a recorded rollback release.
  • The affected flow is checked and current production data remains intact.

Troubleshooting

Rollback is blocked by database-related changes.

Use the listed files to plan a compatible forward fix. Rolling back application code does not undo migrations or restore production records.

The restored release lacks required configuration.

Review the earlier release's required live values and set them through authorized production configuration. Do not copy development secrets blindly or commit them to source.

Availability and limits

  • Rollback changes code only. It is not database backup, data recovery or a way to undo external-service actions.
  • Staged builds reduce interruption, but the release swap can still have a brief gap; do not assume zero downtime.

Related documentation

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.