Something rather unsettling happened to me, and I can't find a rational explanation for it other than an incredibly unlikely coincidence.
For about three weeks, our automated tests had been randomly failing due to timeouts. I decided to investigate the issue with Fable, which discovered that a single REST API endpoint, when hit with a specific sequence of rapid requests and a particular payload, could cause a database table lock, resulting in cascading failures across other tests.
The bug was real. Fable wrote a test that confirmed it and made it consistently reproducible.
The bug had also been present in production for at least two weeks, but had never manifested because it required a specific set of conditions that our client application couldn't generate. A malicious user, however, could exploit it at any time.
It's 12:54 PM. I usually take my lunch break at 1 PM, so I decide to review Fable's proposed fix when I get back and then deploy the patch.
Nothing has been committed, nothing has been pushed. Everything is still on my local machine, and the Fable session is idle after presenting its findings.
When I get back from lunch, I find several alerts: production is completely down.
I start investigating and realize that the database connection pool is completely exhausted. No connections are being released. I restart the backend to restore the service and start going through the logs to figure out what happened.
And this is where things get weird.
The outage started at 1:15 PM, exactly 21 minutes after Fable had identified the bug.
A single user had made the exact sequence of requests needed to reproduce it. That user had registered the day before, with a rather unusual and seemingly fake account.
The first thing I do is go back through the Fable session, thinking it might somehow have tried to reproduce the bug directly in production. I review every single command it executed.
Nothing. And even if it had tried, it wouldn't have had access to that user's credentials.
A bug that had been sitting dormant in production for at least two weeks was discovered by an AI, and just 21 minutes later, someone actually triggered it.
I don't want to jump to conspiracy theories. It could simply be an incredibly bizarre coincidence, but I have to admit, it's left me quite unsettled.
Has anyone else experienced anything even remotely similar?