Testing
TIL: our trial countdown was wrong one day a year, and only in Europe
A date test that passed for months failed on a CI runner in Berlin. What we learned about DST, local midnight and testing code that reads the clock.
Topic · 2 stories
Tests that catch real bugs: time, randomness, failure paths and the cases that only break in production.
A date test that passed for months failed on a CI runner in Berlin. What we learned about DST, local midnight and testing code that reads the clock.
Exponential backoff without jitter turns one outage into synchronized waves of retries. Here is a small Go helper that gets backoff, jitter and cancellation right.