Build with Harebell · When things go wrong

When your app breaks

Apps break. A page that worked yesterday fails today because a spreadsheet changed shape, a colleague typed something unexpected, or you released an update with a small mistake in it. What matters is how quickly you find out and how little work it is to fix. This page explains how Harebell notices trouble, how it tells you, and the short routine for fixing it with your AI tool. You do not need to read logs or understand the app's code to follow it.

How Harebell finds out#

Harebell watches every app from the moment it is live, and there are two ways a problem begins.

The first is that requests start failing. Each time someone opens a page, their browser makes requests to your app. When your app answers with an error, or does not answer at all, Harebell notices. It does not make one alert for every failure. It groups failures that look alike, so thirty-seven people hitting the same broken export is one problem, not thirty-seven.

The second is that a colleague tells you. Every page of a released app carries a small "Report a problem" tab, and if the app stops answering, the page Harebell shows in its place has a link to the same form. A colleague writes what went wrong in their own words. Harebell shows them exactly what goes with it before they send it: their name, the page and the time, and what they opened in the last 15 minutes and whether it worked, but never what the pages showed. This second way catches the problems that no error ever records, such as a number that is wrong but loads without any failure.

How you are told#

You are the owner, so you are the one Harebell tells. The message comes from your company's own Harebell app in Slack or Microsoft Teams, as a direct message with a link to the problem. If you are not reachable in either, Harebell emails you instead, so an app is never failing in silence.

To keep a bad hour from burying you, a failing app does not send a message for every failure. You are told when failures start, and again if they come back after a fix, at most once an hour for each problem and three times an hour for each app. A colleague's report is different: each one reaches you, because someone took the trouble to write it. Everything that happens is also listed on the app's Problems tab, so nothing is lost when a message is held back.

An app can also be running but not well. In that case its page shows a card marked Needs a look, with a sentence about what is wrong. For a job, that can be scheduled runs that did not start. For an app that shows company data, it can be that Harebell cannot currently check who is allowed to read that data, so it is turning some people away until it can.

Steps#

0 of 4 done
  1. 1

    Open the problem#

    Follow the link in your message, or open the app and choose its Problems tab. Each problem shows what happened, how often, when it was last seen, and one of five states: New, Fixing, Fix waiting, Fixed or Closed. A New problem is one nobody has started on. If a colleague reported it, you see what they wrote, and the requests they made in the quarter hour before.

    You can also look at the app's Health tab for how it has been answering, and its Logs tab for what it wrote down. You rarely need either, because the next step reads them for you.

  2. 2

    Give the problem to your AI tool#

    On the problem's page, find the card titled "Fix it with your AI tool" and press Copy prompt. Paste the text into whichever AI tool you build with. It is already worded for the job, and it names the problem.

    Your AI tool then reads the report, the failed requests and the app's live source through its connection to Harebell. Only the app's owner, admins and security may read problems this way, and every read is recorded. The tool reproduces the problem in your private copy, fixes it there, and shows you the result. You can say "show me what you changed and why" at any point, and you should read the answer. It is your app.

  3. 3

    Try the fix yourself#

    Open your private copy and do what the colleague was doing. A fix you have not looked at is a guess, and a guess released to the whole company can make a bad day worse. Try your app before anyone else sees it explains the private copy.

  4. 4

    Release the fix#

    Ask your AI tool to ship the update with the problem's number named as the one it fixes. The problem moves to Fix waiting. Then release the update the usual way, as described in Change an app that is already live. When the update goes live the problem becomes Fixed, and anyone who reported it receives a message telling them so. People who take the trouble to report something like to know it was heard, and it makes the next person more willing to report.

    If a fixed problem fails again later, it becomes New again, so a fix that did not hold never hides.

If you cannot fix it quickly#

A fix is not always the first thing to try. If the trouble started with a recent release, the quickest repair is to put the previous release back, which Go back to an earlier release explains. Your app's data stays where it was.

If the app is doing harm, such as showing something it should not, stop it. On the app's page, press Stop it. Nobody can open it until you start it again, and its data and settings stay. An admin or the security team can also stop any app at once.

If the problem is not a problem at all, press Close it and say why. A reporter sees your reason. Closing an error problem means its failures keep counting but it will not come back and bother you.

Why Harebell does not fix things for you#

It would be easy to let Harebell change your app by itself when something fails, and it does not. The reason is that you are the owner and the person who knows what the app is for. A change made while you are asleep could fix the error and break the meaning. So Harebell finds the problem, groups it, tells you, and hands your AI tool everything it needs, and you stay in charge of what goes live.