Technology Leadership
The alert said recovered. Nobody was told it broke.
Published Dec 4, 2026
Fractional CTO services on our file: a recovered notice on Dec 2 and Nov 5 had no broken notice before it. An empty state file was read as a first run.

The alert said recovered. Nobody was told it broke.
On Dec 2, 2026, a monitor we run for a healthcare services client mailed a recovered notice. No broken notice had gone out before it. The same thing had happened on Nov 5. The client asked whether it was a problem.
How do you know your monitoring actually tells you when something breaks? Ask your team to show you the last real failure and the mail it produced. A recovery alert with no failure alert means your failures are going unheard. On Dec 2, and once before on Nov 5, the monitor mailed recovered with no broken mail before it.
Fractional CTO services are a part-time technology leadership seat: the same senior operator week to week for architecture, vendor, hiring, and board-ready technology decisions, without a full-time hire.
The hub for fractional CTO, fractional CIO, and fractional chief AI officer leadership is fractional CTO services for mid-market and PE portcos. The sibling on a failed run that stayed quiet is the recap that read 40,000 of 67,245 characters and said nothing. The sibling on reordering work that was already correct is fractional chief AI officer: we changed the order.
What the monitor checks
We run a data monitor for the client. It checks that CRM outcomes reach the ad platform each day. It mails a BROKEN notice when that check fails, and a RECOVERED notice when the check passes again.
The daily sync pass keeps one check in its state file. The hourly pass uses the same alert code, and it had the same gap whenever nothing was failing.
What I ruled out
The recovered notice on Nov 24 was not an orphan. A mail on Nov 23 said "1 new failure" and named that check. I read that history before I blamed the code. The Dec 2 notice and the Nov 5 notice did not have a broken mail in front of them.
Why the pair was missing
The alert code stored only "failing" for each check, and an empty state file counted as the first run. On a first run it records the failure and mails nothing. That is the right rule for a missing file, which means the monitor has not written state yet. It is the wrong rule for an empty file.
Every passing day left the daily file as {}. A new failure then read as a baseline. BROKEN was never mailed. The next passing day mailed RECOVERED.
Before and after
| State | Before | After |
|---|---|---|
| Missing state file | The first run. An empty file was treated as this same case. | The only baseline. Failures stay silent. Recovery mails nothing. |
| Empty state file, {} | Treated as the first run. | A clean day. Not a baseline. |
| New failure after a clean day | BROKEN was never mailed. | BROKEN is mailed. The check is marked mailed. |
| Next passing day | RECOVERED was mailed. | RECOVERED is mailed only for checks marked mailed. |
How an alarm is planned
- Plan each alarm in one pure function.
- Mark each failing check mailed or silent.
- Treat only a missing state file as the baseline. Those failures stay silent, and they recover without a mail.
- Mail RECOVERED only for checks marked mailed.
- If the BROKEN mail does not send, drop those failures from state so the next pass retries. A recovery before then mails nothing.
- Read old state files as mailed, for this migration.
Tests cover pairing, baseline, unsent retry, legacy state, carry forward, and skip.
The passes now mail BROKEN when a new failure follows a clean state. Before, that mail was swallowed. We accepted that.
Lessons
An alerting system is a promise about what you will hear. Ask your team to show you the last real failure and the mail it produced. Empty and missing are different states. This is the kind of thing a fractional CTO checks in week one.
When you do not need this
You do not need this check when a recovered notice is already paired with a broken notice that was sent, and an empty state file is not treated as a first run.
If the open question is whether the alerts you trust actually say when something breaks, start with fractional CTO services for mid-market and PE portcos. Talk to us.
Related reading
Frequently asked questions
How do you know your monitoring actually tells you when something breaks?
Ask your team to show you the last real failure and the mail it produced. A recovery alert with no failure alert means your failures are going unheard. On Dec 2, and on Nov 5, our monitor mailed recovered with no broken mail before it.
What are fractional CTO services?
Fractional CTO services are a part-time technology leadership seat: the same senior operator week to week for architecture, vendor, hiring, and board-ready technology decisions, without a full-time hire. Checking that an alert actually says when something breaks is the kind of thing that seat does in week one.
Why did a recovered notice go out with no broken notice before it?
The alert code stored only failing for each check, and it treated an empty state file as the first run. A first run records the failure and mails nothing. Every passing day left the file empty, so each new failure was stored as a baseline, BROKEN was never mailed, and the next passing day mailed RECOVERED.
What is the difference between an empty state file and a missing one?
A missing state file is the first run. Its failures stay silent, and they recover without a mail. An empty file is a day when nothing was failing. It is not a baseline. A new failure after that empty file now gets a BROKEN mail.
What happens if the broken mail fails to send?
Those failures are dropped from state so the next pass retries the BROKEN mail. A recovery before that retry mails nothing. Old state files are read as mailed for the migration onto this rule.
Written by Anthony Wentzel