← cd ..
#debugging#deploys

It Works On My Machine™

It was 4:58 PM on a Friday. The PR was green. My laptop was happy. I was happy.

Production was not happy.

Three hours later I discovered the bug was an environment variable that existed only on my machine — because I had set it in 2023 and forgotten. My laptop had been gaslighting the whole team for years.

Lesson learned: never trust a computer that agrees with you.