Loading amazing content...
Thoughts on web development, technology trends, and best practices
2 posts tagged with system-design

A raw-SDK cleanup script once deleted zero records it should have deleted, because it reimplemented entity shape independently of the real write path. The fix: dev tooling now calls the same service functions production does — with one deliberate, structurally-separate exception for state the service layer can't reach

A base-fee-plus-seat-overage pricing model needs two Stripe subscription items, not one; webhooks confirm state changes but never decide them; and a single four-state subscription machine replaces a separate `isActive` flag that could quietly disagree with it