Mikael Lirbank

@lirbank.com

I help companies build reliable software, focusing on AI and web technologies https://www.lirbank.com/ Author of https://www.npmjs.com/package/neon-testing

1/ Some constraints are real. Some are assumptions that sound plausible and never get tested. It's worth knowing which is which before they shape your decisions. I had one recently. 🧵

Good test coverage gives us confidence and prevents regressions. But testing for race conditions is hard. Even when tests run concurrently, the timing almost never lines up to trigger the bug. The test passes whether our code handles concurrency correctly or not.

Neon Testing v2.4.0 is out! 🎉 A Vitest utility for integration tests with Neon Postgres, now with: - Multi-role support for testing row-level security (RLS) - Multi-database project support github.com/starmode-bas... Big thanks to francesco-carrella for the contribution!

Release v2.4.0 · starmode-base/neon-testing

What's Changed Role and database selection by @francesco-carrella in #10 New Contributors @francesco-carrella made their first contribution in #10 Full Changelog: v2.3.1...v2.4.0

github.com

I knew I've been pretty productive this year, but yeah, this is more than I expected... while the stats are kind of exciting, it may be time for a day off... 305 Cursor days this year so far

Bild

🎉 Black Friday special: 100% off Neon Testing - grab your copy today! Just released v2.3.0 with support for Neon's expiring branches. Neon Testing tears down branches immediately after tests complete. But...

npmjs.com

Right now I am using Ably to send notifications from step run functions to the client, so it can display progress. ably.com Curious to try Server-sent events at some point too. I wonder how well it will work with Vercel edge functions though. developer.mozilla.org/en-US/docs/W...

Server-sent events - Web APIs | MDN

Traditionally, a web page has to send a request to the server to receive new data; that is, the page requests data from the server. With server-sent events, it's possible for a server to send new data...

developer.mozilla.org

So you know, these mean the same AWS data center: Vercel: Washington, D.C., USA (East) – iad1 Neon: AWS US East (N. Virginia) AWS Code: us-east-1 AWS Name: US East (N. Virginia) I find it especially helpful that @vercel.com name it "Washington, D.C" since AWS call it "N. Virginia".