Methodology

Software Bugs Hurting Your Reputation? How to Stop the Fires for Good

Mat Kupczyk
Mat Kupczyk Consulting Lead

To stop the same bugs from coming back, follow three steps. Know about every bug as it happens, with an observability tool like Sentry or Datadog. React to it, with a daily routine and one person responsible for each bug. Then make sure it can’t happen again: fix the real cause and add automated tests that run before every release.

Project went sideways? We step in and get it back on track.

See Project Rescue

If the same bugs keep coming back, and your customers are the ones telling you about them, every release starts to feel like a risk to your reputation. Over the last ten years, we’ve built and updated software for more than a hundred companies, and some of them came to us at exactly that point, when their app kept breaking in front of their customers. The video above walks through how we stop it; this is the written version.

Three Steps That Stop Repeat Bugs

No one likes bugs. They’re stressful when they happen, and even more stressful when an angry client is the one who tells you about them. The process we follow has three steps:

Step 1

Know there was a bug

Plug an observability tool into your app, so your team hears about every crash the moment it happens.

Step 2

React to it

Go through the bugs every day, and give each one a person responsible for fixing it, with a deadline.

Step 3

Make sure it doesn’t happen again

Fix the real cause, and add automated tests that run before every release.

Step 1: Know There Was a Bug

Plug an observability tool into your app, so your team hears about every crash the moment it happens. Often, teams don’t react to a bug because they don’t know anything broke, and they only find out when an angry client calls.

Once you know, you can act right away. You can get it fixed and prepare for what happens until it’s resolved: bring in more help, wake developers up if needed, or get in touch with your hosting company. You might also need some damage control, like an announcement on your website, a heads-up for your customer support team, or a call with your legal team. What matters is that your company finds out first.

The software that does this is called observability, and Sentry and Datadog are two products worth looking at. They watch your app, and whenever something breaks, they record what happened: which user it broke for, which line of code failed, and what the user was doing. Your developers get everything they need to see exactly what went wrong.

Then connect it to the tools your team already uses, so everyone gets notified as soon as something breaks: a Slack message, an email, or a new task in your task tracker. When we join a project, this is the first thing we add if it’s missing, and we can set it up for you too.

Step 2: React to It

Give every bug one person responsible for fixing it, and set a routine for going through them, because a list of errors that nobody owns doesn’t get fixed.

You’d be surprised how many developers know the bugs are happening and still don’t act on them, while the founder is pulling their hair out. In most cases, it comes down to how the company works: people think someone else will pick it up, they don’t think it’s important, or they’re busy with something they think matters more. Even the best tools fail this way, because they write the bugs down and no one does anything with the list.

So put a process in place for handling errors. Until it becomes a habit, go through the bugs with your team every day and fix them the same day. That can be a 15-minute meeting every morning or a daily email report with the open bugs, whatever works for your team, as long as it happens. Then decide together who fixes what, and by when.

That responsibility is what makes the difference, and it’s what’s most often missing. A bug starts moving the moment one person is clearly assigned to it.

Not every alert matters as much as the next, and some need attention right away, so don’t expect your developers to fix every single thing. If your team fixes the most important bugs first, you’ll be in a completely different place.

Step 3: Make Sure It Doesn’t Happen Again

Patch the bug quickly if you can, then fix its real cause and cover the fix with automated tests, so the same bug can’t ship again.

A quick fix is worth doing, because it helps right away. But once the fire is out, go back, find the real reason it broke, and fix that properly.

Then add automated tests. A test is a small piece of code that checks whether your app does what it should. If it doesn’t, the test fails, and everyone knows the latest change broke something. Every bug that gets fixed should come with a test that makes sure it never comes back.

The Three Kinds of Tests Your App Should Have

Your app needs unit tests, integration tests and end-to-end tests: a lot of the first, some of the second and a few of the third, with all of them running before every release.

Unit tests

Check one small rule of your app at a time, like 2 + 2 equals 4. They’re fast, so you can have hundreds or thousands.

Integration tests

Check that the parts of your app work together, and with services like payments. They’re slower, so you’ll have fewer.

End-to-end tests

Click through the whole app the way a customer does. They’re the slowest, so keep a few, on the parts that make you money.

Unit Tests

These check one small rule of your app at a time: a single function, a single behavior. Say you have a function that adds two numbers. A unit test checks that 2 + 2 equals 4. Three years later, a different developer makes that function more complex or gives it more parameters, and introduces a bug without noticing. The moment 2 + 2 stops equaling 4, the test fails, before the change goes out. Unit tests are fast, so you can have hundreds or thousands of them.

Integration Tests

These check that the parts of your app work together, and with the services it depends on. When a customer pays for an order, your app sends the payment to the payment provider, saves the order in your database and sends a confirmation email. An integration test runs through all of that and checks that every part did its job, so if someone changes how orders are saved, or the payment provider changes how it works, the test fails. They use a real database and a test version of the payment service, which makes them slower, so you’ll have fewer of them.

End-to-End Tests

These test the whole app the way a customer uses it. Think of a QA engineer clicking through your app before a release: an end-to-end test does the same, automatically. A robot opens a browser, signs up, logs in and pays, and on every screen it checks that the page loaded and the buttons are where they should be. They’re the slowest to build and to run, but you write them once, and they save hours of manual testing on every release.

So you want a lot of unit tests, some integration tests and a few end-to-end tests. And all of them, without exception, run before anyone can release a new version.

Track the Numbers

Track how many bugs you have, how fast you fix them, and how many reached your customers. Put those numbers in a spreadsheet and look at them with your team once a week. If they get worse, act on it.

To Sum Up

Know about every bug, give each one a person and a deadline, and make sure it can’t come back. With AI, most software can be rebuilt in three to six months, but a reputation still takes years.

Project Rescue often starts with buggy software like this. If that’s where your app is, book a 30-minute call, and we’ll help you set up the monitoring and put the process in place.

Bugs keep coming back? Start with a 30-minute call.

See Project Rescue
from reading to a plan

If This Is the Decision in Front of You, start with a call.

A free 30-minute call scopes the honest next step. For a system like this, it's usually the audit, free for now: a diagnosis of the code you actually have, report in hand before you commit to anything further.

newsletter

Notes on Building High-Quality Software

A short founder’s note and a digest of what we’ve published, sent only when there’s something worth the inbox.

No sequence · Unsubscribe in one click