On September 1, a WordPress.com user’s Tumblr import crashed with a fatal error. The same day, version 1.3 of the Tumblr Importer shipped the fix to its 10,000+ sites. The fix behind it has my name on it, and yet I don’t write code for a living.
That’s not uncommon these days for Happiness Engineers, as we call our support team at Automattic. Earlier this year, the Happiness Engineers at WooCommerce started an experiment called the Bug Blitz. We’d no longer be just the messengers for user-reported bugs. Instead, we’d fix them ourselves, with help from AI coding tools, during citizenship time, the part of our day outside the support queue.
What started at Woo soon spread to other teams, including mine at WordPress.com. I’ve fixed a few bugs since then. With the Tumblr Importer, what I thought was a small fix to help one user complete their import turned out to solve an issue affecting all WordPress sites running the plugin.
My first fix wasn’t a bug
On my first Bug Blitz issue, every post title on a user’s homepage had turned italic. I let Codex, the AI coding tool I use, investigate while I ran my own test. It came back saying it had found a bug in the theme, with a full patch ready for me to submit.
But I couldn’t reproduce the issue on a brand-new site, and both things couldn’t be true at once. When I pushed back, it finally agreed with my findings: it wasn’t actually a bug. The cause was one unclosed <i> tag in one post’s excerpt. I closed it, and the user’s homepage went back to normal. I was relieved I hadn’t submitted that fix.
What I took away from that: if you give an AI a bug report, it usually takes your word that it’s a bug.
One line, every site
On the Tumblr issue, my investigation with Codex showed the crash came down to one line. WordPress 7.1 removed an empty constructor from core’s importer class, which was still being called by the plugin.
The fix was one line, which should be pretty easy, but to get there, I went through three steps that took longer than you might think.
- I reproduced it myself. I ran a real import from my own Tumblr site on a WordPress.com site and on a self-hosted one, and every one crashed. It’s tempting to skip this when you can already see the issue on the user’s site, but my first fix taught me not to.
- I made the AI explain what it found. Despite how simple this fix was on the surface, I kept asking until I understood the bug, which took longer than the fix itself. This did help me catch a mistake early. Both Codex and I assumed the fix should live in WordPress.com’s code, but the crashing sites ran the official WordPress.org plugin.
- I wrote the pull request myself and read the diff. AI-written pull requests run long and make the reviewer’s job harder. Mine was super short as it was a simple fix, but on a bigger fix, this means adding as much detail as possible, like screenshots and how to test it, while also removing the typical AI noise.
As anyone in support will tell you, it’s rarely that simple. Even with the crash fixed, unfortunately the user was still unable to import their site. Their attempts to connect to Tumblr kept failing, for reasons that had nothing to do with my fix.
It took quite a bit of time, and help from other Happiness Engineers and our colleagues on Tumblr’s support and engineering teams, before their issue was resolved. My fix didn’t solve their problem directly, but I’d like to think it helped plenty of people who never wrote in. Plus, I was really happy to have contributed something, however small, to the wider WordPress community.
It wasn’t just me and the AI
Looking back, the one line of code was the smallest part of this. I played a part in the initiative to try to fix the bug from the support interaction, spending some time with it and testing it until I knew the crash was gone.
But I wouldn’t have gotten far on my own. I didn’t set up Codex from scratch. I followed a guide another Happiness Engineer wrote, and used a plugin a few of them built that takes you from a bug report to an open pull request. Automattic gave us access to the AI tools, and the time came out of my citizenship hours.
Our code wranglers (what we call our developers) made time to review our pull requests, and nothing we wrote could go live without that review. Knowing that helped me feel comfortable trying. On the Tumblr issue, the plugin maintainer helped me a lot, not only approving the fix but also walking me through the next step: releasing version 1.3 of the plugin.
Take away the human initiative, the collaboration, and the willingness to keep digging, and that user would probably still be waiting for their posts.
What’s next
The blitz has ended, but fixing bugs is now a permanent part of our work. Every Happiness Engineer is encouraged to pick one up, and I for one think it’s only natural. I’m looking forward to picking up the next one.
If you work in support: has your team started fixing bugs at the source? What has your experience been so far?


Leave a Reply