The Plugin Update That Turned Every Heading Comic Sans

Browser window showing the letters Aa in a playful comic font

Our uptime monitor was green. PageSpeed was green. The server was relaxed. And yet our CEO called at 9:12 AM sounding like he’d seen a ghost.

“Why,” he asked slowly, “is our annual report announcement written in Comic Sans?”

Investigation

A font plugin had updated overnight. The new version changed how it loaded the custom font files, the files didn’t load, and the browser fell back to the next font in the CSS list. Our designer, years ago, as a joke, had put Comic Sans as the last fallback. “Nobody will ever see it,” he had said.

Everybody saw it.

Why normal monitoring missed it

  • The page returned 200 OK. Uptime: happy.
  • The HTML was identical. Source code checks: happy.
  • The page was actually slightly faster without the font files. PageSpeed: delighted.

The only thing that would have caught it was something that looks at the page the way a human does. Which is exactly what visual regression testing is for: take a screenshot, compare it to yesterday’s, and shout when they look different.

What we changed

  1. Visual checks on the pages that matter most (homepage, pricing, checkout).
  2. Plugin updates on staging first, then production.
  3. The designer’s joke fallback font was replaced with something boring. He is still a little sad about it.

Comments

2 responses to “The Plugin Update That Turned Every Heading Comic Sans”

  1. Sara Avatar
    Sara

    The fact that PageSpeed got BETTER is the funniest part of this.

  2. Designer Dan Avatar
    Designer Dan

    In my defence, it was 2017 and I was young.

Leave a Reply

Your email address will not be published. Required fields are marked *