In September I found out my little shop of developer kits had been broken for months. Not the checkout. The checkout worked beautifully, took cards, issued receipts, the whole performance. The part after, where you get the thing you paid for, had been dead since sometime in spring.
I found it by accident, looking at something else. I do not recommend this discovery method, but it is the one I seem to use most.
What it looked like from the outside
A working shop. Product pages, buy buttons, a payment page from a company you have heard of, a success page with a friendly message. If you had bought a kit in, say, July, you would have paid, landed on the success page, and read “thank you for your purchase” above a space where a download button should have been. No error. No red text. Just a polite page with a gap in it, like a shop assistant handing you a bag with nothing inside and wishing you a lovely day.
From my side, also fine. No alerts, no failed deploys, no angry emails. The silence was total, which I interpreted as peace.
What was actually true
The storage project holding the download files had been deleted. Not paused, not over quota. Gone. No DNS record. The sibling projects on the same account resolved fine; this one simply did not exist any more.
The function that signs a download link asked a dead host for a signed URL, got nothing back, and returned null. The success page received null, and rendered no button, because the code said “if there is a link, show the button”, and there was no link. Every single line did exactly what it was written to do. That is the unsettling part. There was no bug in the sense of a mistake in logic. There was a default, and the default was silence.
Then, while fixing it, I found a second, independent bug sitting underneath the first. The storage URL in the production environment ended in a literal backslash-n. Two characters, invisible in the dashboard, baked in by a command that piped a value with a trailing newline into the config. Even against a live storage project, that URL would have built a path that 404s. And both of those failure branches also returned null. So I had two bugs stacked on top of each other, and either one alone would have produced the same empty success page.
Nobody was harmed. Nobody had bought a kit since April, which is the least flattering reason a bug stays harmless. The shop was protected from its own failure by the fact that it was not selling anything.
What changed
Three things, and all three are about making failure loud.
Every failure path now returns a typed reason instead of null. Config missing, config malformed, host unreachable, signing failed with a status code, no file mapped to this product. The success page can tell the difference between “here is your file” and “something is wrong, and here is what”, and so can the log.
A paid session with an undeliverable item emails me. Not a dashboard I have to remember to look at. An email, with the reason in the subject line, at the moment money changed hands and the thing did not.
And a health probe that signs a real file. Not “is the server up”, which it always was. The probe asks the exact question a buyer would ask: can I get the thing? It signs a real object in the real bucket, with no purchase needed, and returns ok or a reason. That one check, run on a schedule, would have caught the outage the day it happened instead of months later. I have since run it against all four failure modes on purpose to prove it fails when it should, because a probe that has never been seen failing is just another success page with a gap in it.
The rule I follow now: a silent default is worse than a crash. A crash at least has the decency to tell you. Anywhere my code says “return null” or “return empty” on a failure path, I now ask what the user sees in that case, and if the answer is “a normal-looking page”, I replace the null with a reason and the reason with a message to me.
The same question, asked of an AI answer
I think about that health probe a lot now, because the thing I sell has the same shape. “Is the server up” is easy and useless. “Can a buyer actually get the thing” is the only question that matters, and you have to ask it the way a buyer would.
For AI visibility the equivalent is not “do we have a page about this”, it is “when a real buyer asks a real question, does the answer include us”. So that is the probe: the same fixed questions, asked the way a buyer asks them, with the answers kept. Running it on yourself is uncomfortable in exactly the way checking the success page was uncomfortable. It is also the only way to find out whether the shop is handing people an empty bag.