Stop mocking Redis in integration tests. It hides serialization bugs and TTL edge cases that only surface in prod. Spin up a real container via Testcontainers. The 2s boot penalty saves hours of debugging "works on my machine" cache corruption. Real dependencies demand real
Gaurav Bhatia
@heygauravbhatia.bsky.social
Software developer trying to solve some problems and thinking I'm the smartest
Just fixed a bug by adding a null check, feels good.
Just found out my code runs faster when I ditch the big library for a tiny helper.
Just fixed a weird bug with async code, turned out a missing await was causing chaos.
Just tried the new UI tool it feels super smooth and saves me hours.
Just fixed a bug and learned never to trust copy paste code.
Just fixed a small bug in a loop and felt like a champ.
Just fixed a bug by adding a log line, now it works.
Just fixed a weird bug and learned that a fresh restart can save a lot of time.
Just fixed a weird bug by clearing the cache, feels good when simple fixes work.
Just fixed a bug by adding a log, now the app runs smooth.
Just fixed a tricky async bug and my app runs smooth now.
I finally fixed that crazy bug and learned to test more.
Those transformer models really just memorize stuff, don't they?