Why going back is safe#
Every update you ship is kept exactly as it was built, and Harebell keeps the earlier ones. So going back does not rebuild anything. It makes an update that already existed live again, the same way releasing a new update does: Harebell starts a fresh copy, waits until it is running, and only then switches people over. Your colleagues keep using the current update until the earlier one is ready.
Going back also goes through the same checks as any release. If your company's rules have changed since that update was live, or the update asks for something that now needs an approval, you will see that before anything happens.
Steps#
- 1
Open the app and find the earlier update#
In the Harebell console, open the app from the Apps page. If an update was live before the current one, the Overview tab has a card called If something's wrong. It names the update that was live before and when it stopped being live. The button on it starts with Go back to and ends with the update's date.
You can also open the Updates tab of the app. It lists every update you have shipped, with the live one first. Each update that was built successfully, and is older than the live one, has a Go back to this button.
Only the app's owner or an admin can go back. If you are neither, the button takes you to the update's page, where you can read what it would change, and you can ask the owner or an admin to press it.
- 2
Press the button#
If you are the owner or an admin, pressing the button starts the release at once. The app's page shows that it is going back, and the Updates tab shows the update with the status Releasing. For an app, people keep using the current update until the earlier one is ready. For a job, the next runs use the earlier update, and a run that is going finishes as it is.
If the checks do not allow it, the page says why in plain words and links to the update's page, where you can see what going back would change. Only one release can be in progress at a time, so while another one is going, the button is greyed out and says Releasing. Wait for it to finish first. An app or agent that someone stopped cannot be released until it is started again.
- 3
Confirm if it asks#
Usually going back asks for nothing more. But if going back would delete something, such as a database that the earlier update does not have, the button alone will not do it. The update's page shows what would be deleted, in red, and asks you to confirm. Read it slowly, because a deletion is permanent.
- 4
Check the app#
Open the app and look at what was wrong. The Updates tab shows the earlier update as live, and the one you left as no longer live. A minute or two is usually enough for everything to settle. If the app still looks wrong, the problem may not be in the update, and When your app breaks explains how to find out.
- 5
Tell your AI tool what you did#
Your AI tool may still hold the files of the change you just reversed, and it will build on them by default. Tell it that you went back, and ask it to look at what is live before it changes anything. That keeps the next update from carrying the same mistake. When the fix is ready, ship it and release it as you did before. Change an app that is already live covers the steps.
What going back does not undo#
Going back changes which update is running. It does not change the data your app has stored. A database or file store keeps whatever is in it, including anything the newer update added, and the earlier update then works with that data as it is.
That matters in two ways. First, nothing your colleagues entered in the meantime is lost. Second, Harebell cannot bring back data that an update deleted. If you released a change that removed a database, going back does not restore its contents, which is why the release page asks you to confirm before it deletes anything. If a change touched the shape of your data, ask your AI tool whether the earlier update can still read it.
An example#
Ben Okafor released a change to the desk reports app on Friday afternoon, and on Monday the facilities team says the list of open reports is empty. Ben opens the app in the console, sees the card If something's wrong that names the update from the week before, and presses its button. A minute or two later the list is back, and the reports people filed over the weekend are still there, because going back left the database alone. He then asks his AI tool to read what is live and find out why the list was empty, and ships a fix on Tuesday.