# Self-Healing: How TicketResolve Recovers From Common Failures Without Waiting for an Engineer

> AI providers go down, connections pile up, crawls get interrupted, often at 3 a.m. TicketResolve checks its components every minute, applies bounded fixes it’s allowed to make, records every action, and tells you plainly about the problems that are on your side and can’t be healed.

Source: https://www.ticketresolve.ai/blog/self-healing-support-platform · Published 2026-11-15 · TicketResolve AI

**An AI support platform depends on a lot of moving parts: a database, one or more AI providers, an embedding model, help-desk APIs, e-mail, and crawls of your knowledge base. Any of them can fail at 3 a.m.**

Here's what a 3 a.m. failure used to mean for a support team in Europe using an AI support tool:

- **02:50.** The AI provider has an outage. Every new ticket fails to get an answer.
- **03:00–07:00.** Tickets pile up. Some are retried by the help desk, and a few customers get **two answers** once the provider comes back.
- **07:30.** The support lead logs in to 300 unanswered tickets and a few duplicates, with no record of what happened.
- **Meanwhile**, the nightly knowledge-base crawl was interrupted at 03:10 and didn't resume, so yesterday's new articles aren't in the AI's knowledge.

Nobody was on call for the AI tool. Nobody needed to be, if it could have handled these itself.

**TicketResolve checks each of its components every minute. When it finds a known problem, it applies a fix it is allowed to make, within limits, and records the action.**

## First, the basics

- **An AI provider** supplies the language model that writes answers. **Failing over** means switching to a backup model.
- **Backoff** means waiting longer between retries.
- **Database connections** are limited; **recycling idle ones** frees capacity.
- **An embedding model** turns text into vectors so knowledge can be searched. Stored vectors only work with the model that made them.
- **A lock** stops two workers doing the same job; **an expired lock** has been left behind.
- **Concurrency** is how many tickets are processed at once.
- **A graceful restart** finishes work in progress before restarting.
- **A crawl checkpoint** records progress so a crawl can resume.
- **A sending transport** is the service used to send e-mail; **a sender domain** must be verified.

**Why does this matter?** Most platform failures are common, recognisable and fixable with a bounded action. Applying that action immediately, within limits, and recording it, means fewer unanswered tickets at 7 a.m., and a clear account of what happened.

## The problem, in plain terms

1. **Failures happen** when nobody is watching.
2. **Retries can answer twice.**
3. **Interrupted jobs** don't resume.
4. **Automatic fixes** can loop forever or make things worse.
5. **Problems on the customer's side** are hidden as platform errors.

## What it fixes on its own

- **AI provider outages.** **Each request fails over once to a backup model. After repeated failures, requests go straight to the backup, and the main model is tested again on a backoff schedule. Tickets that failed during the outage are answered once it's over. Tickets that already reached the customer are never answered twice.**
- **Database pressure.** **Idle connections are recycled and non-essential background jobs pause for a few minutes.**
- **The embedding model.** **If it fails to load, it is reloaded. It is never swapped for a different model, because your stored vectors belong to the current one.**
- **Backlogs.** **Expired locks are cleared and waiting deliveries re-run. If there's memory to spare, ticket concurrency rises briefly.**
- **Memory and slowdowns.** **Non-essential work pauses and concurrency drops. If that isn't enough, the service restarts gracefully, finishing tickets in flight like a deploy does, but no more than twice an hour.**
- **Knowledge-base crawls** **interrupted by a temporary error resume from their checkpoint, at most three times a day.**
- **Help desks.** **Retries after platform-side failures, and a check that TicketResolve's Zendesk triggers and webhook are still in place.**
- **E-mail.** **Fail-over between sending transports, and a re-check of the sender domain.**

## What it doesn't pretend to fix

**Some problems are on your side, such as help-desk credentials that were revoked or a subdomain that changed. Those are never "healed". Polling pauses and you get an e-mail, with daily reminders, until working credentials are saved.**

**A fix that keeps failing raises one alert to our operators instead of being retried forever. Every action is recorded, so after an incident you can see what happened and what TicketResolve did about it.**

## A worked example, start to finish

Here's the same night, with self-healing. The details are illustrative.

**02:50, the AI provider.** Requests to the main model start failing. **Each fails over once** to the backup model; tickets keep getting answers.

**02:53.** After repeated failures, **requests go straight to the backup**. The main model is tested again on a backoff schedule.

**03:00–03:40.** A handful of tickets failed in the first minutes before fail-over. They're queued.

**03:10, the crawl.** The nightly knowledge-base crawl hits a temporary error from the help centre. It **resumes from its checkpoint** at 03:15 (its first retry of the day) and finishes at 03:40, including yesterday's new articles.

**03:45, the main model is back.** A backoff test succeeds; requests return to it. The queued tickets that failed during the outage are **answered once**. Tickets that already reached the customer through the backup are **never answered twice**.

**04:20, database pressure.** A spike in background work saturates database connections. **Idle connections are recycled** and non-essential background jobs pause for a few minutes. Ticket processing continues.

**05:10, a revoked token.** The customer's IT team rotated their Zendesk API token overnight. TicketResolve can't heal that: **polling pauses** and the workspace owner gets **an e-mail**, then **daily reminders**, until working credentials are saved.

**07:30, the support lead.** No pile of unanswered tickets, no duplicates. The record shows every action: the fail-over at 02:50, the crawl resume at 03:15, the return to the main model at 03:45, the connection recycling at 04:20, and the paused polling with its e-mail at 05:10. She saves the new Zendesk token; polling resumes.

## Five more real-world scenarios

### 1. The embedding model fails to load

**Situation.** After a restart, the embedding model doesn't load.

**How TR handles it.** It's reloaded, never swapped for a different model, because your stored vectors belong to the current one.

### 2. Memory keeps rising

**Situation.** Pausing work and lowering concurrency isn't enough.

**How TR handles it.** A graceful restart, finishing tickets in flight, no more than twice an hour.

### 3. Zendesk triggers were deleted

**Situation.** Someone removed TicketResolve's trigger in Zendesk.

**How TR handles it.** The check finds the triggers and webhook aren't in place.

### 4. A fix that keeps failing

**Situation.** The same fix fails again and again.

**How TR handles it.** One alert goes to our operators instead of retrying forever.

### 5. E-mail sending fails

**Situation.** The main e-mail transport has problems.

**How TR handles it.** Fail-over between sending transports, and a re-check of the sender domain.

## What "recorded" means for you

Every automatic action is written down: what was detected, what was done, when, and whether it worked. That gives you three things:

- **An account of the night.** When you log in after an incident, you can see what happened before anyone was awake.
- **A pattern over time.** If the same fix runs every night, something underneath needs attention, and the record shows it.
- **Something to share.** When a customer asks why replies were slow at 3 a.m., you can answer with facts.

## Your side and ours

The line between what TicketResolve fixes and what it reports is simple. If the cause is in TicketResolve or a temporary failure somewhere else, it acts within its limits. If the cause is a decision on your side, such as a rotated token, a changed subdomain or a removed integration, it stops and tells you, because "fixing" those would mean guessing what you wanted. The daily reminders keep it from being forgotten.

## Before and after

**Before.** Four hours of unanswered tickets, duplicate answers when the provider came back, a crawl that never resumed, and no record of what happened.

**After.** Fail-over within minutes, a resumed crawl, queued tickets answered once, connection pressure relieved, a revoked token reported by e-mail instead of hidden, and every action recorded.

## How to tell it's working

- **Fewer unanswered tickets** after overnight incidents.
- **No duplicate answers** after outages.
- **E-mails about your-side problems** arrive promptly.

## What you need to do

Very little. Self-healing doesn't need switching on. Keep the workspace owner's e-mail current so alerts about your side arrive, and update credentials in TicketResolve when you rotate them in your help desk. Everything else runs on its own, within its limits.

## Who it's for

- **Support leads** who aren't on call overnight.
- **Workspace admins** responsible for credentials.
- **Anyone** who wants to know what happened during an incident.

## How it fits with the rest of TicketResolve

Self-healing covers the **answer engine**, **knowledge-base crawls**, **help-desk connections** and **e-mail**. **Workspace health and the daily e-mail** show the state of your workspace.

## Why every fix has a limit

An automatic fix without limits can turn a small problem into a big one: a restart loop, a crawl that hammers a help centre, a retry storm. That's why each fix has a bound: fail over once per request, restart no more than twice an hour, resume a crawl at most three times a day, and raise one alert when a fix keeps failing. Limits keep self-healing from becoming self-harm.

## Mistakes to avoid

- **Ignoring credential e-mails.** Polling stays paused until you act.
- **Rotating help-desk tokens** without updating TicketResolve.
- **Assuming silence means nothing happened.** Read the recorded actions.

## Do it in TicketResolve, step by step

**Where:** Settings → workspace health (`/dashboard/settings`). **You'll need:** nothing to switch on; act on e-mails about your side. **Full guide:** [Workspace health, the daily e-mail and several workspaces](https://www.ticketresolve.ai/docs/guide/workspace-health-and-digest).

1. **Keep the owner's e-mail current**, so credential alerts arrive.
2. **Watch for e-mails** about revoked credentials or changed subdomains.
3. **Save working credentials** to resume polling.
4. **Read the record of actions** after an incident.
5. **Check workspace health** for the current state.

**How to check it worked:** after an incident, the record shows each action TicketResolve took and when.

## Frequently asked questions

**How often are components checked?**
Every minute.

**What happens in an AI provider outage?**
Requests fail over to a backup model; failed tickets are answered once it's over.

**Can a ticket be answered twice?**
No. Tickets that already reached the customer are never answered twice.

**Is the embedding model ever swapped?**
No. It's reloaded, because your stored vectors belong to it.

**How often can it restart itself?**
No more than twice an hour, gracefully.

**How often does a crawl resume?**
At most three times a day.

**What about revoked credentials?**
Not healed. Polling pauses and you get an e-mail, with daily reminders.

**What if a fix keeps failing?**
One alert goes to our operators instead of retrying forever.

**Why doesn't it fix revoked credentials?**
They're a decision on your side; fixing them would mean guessing what you wanted.

**Can I see a pattern of fixes over time?**
Yes. The record shows every action, so repeated fixes stand out.

**Do I need to switch self-healing on?**
No. It runs on its own; keep the owner's e-mail current for alerts.
