Here's yet another example of how I got burned when my local dev environment didn't match my prod environment. Sync queues work differently than other queue types.
masteringlaravel.io/daily/2024-08-06-sync-queue-works-differently-than-async
Back
•
In response to @jclermont
Yes, it happens, and it's difficult to catch those quirky mistakes in dev.
That's why I build a staging local server out of an old machine that I don't use anymore that's only on my home/office network that matches the exact same stack I use in production.
I deploy to the staging server first, test the hell out of it, and then when I'm confident, and only then, push to production.
•
Nice! I do a conceptually similar thing, but with Docker.
One thing that annoys me with my Docker approach and these modern Macs, is that I'm still running a different CPU architecture than in production 😄️