Two bugs, one cause: when an API can't tell you it failed
Two unrelated bugs, in two different codebases, turned out to be the same mistake: trusting an API's status code and shape instead of checking the field that actually tells you what happened.
8 notes filed here
Two unrelated bugs, in two different codebases, turned out to be the same mistake: trusting an API's status code and shape instead of checking the field that actually tells you what happened.
An auth token held in memory and a SQLite file on disk both worked locally and disappeared in production, because my laptop provides durability the serverless platform doesn't.
Two background jobs stopped early and recorded themselves as complete, and once recorded, nothing in the system could reopen them.
Two defects were cancelling each other out. Fixing the real one on its own would have woken a dormant guard with the wrong logic and made the page worse.
The tests for a desktop app's auto-scrolling passed the whole time the scrolling was broken: jsdom has no layout engine, so every height it reports is zero.
Four kinds of failure our test suite couldn't see, which only surfaced once real stakeholders used an AI booking assistant in a room.