Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Fixes:
1. Never get to the point where you can deploy to production
2. Never be the one having to deploy to production
3. 'Bye guys, I've had enough, I'm gonna be a farmer' -
sariel84472ySounds like you need to request a package comparison between the two environments.
Likely one has been updated and the other has not. -
@sariel package comparison? As in dependencies? I'd rather suspect configuration differences
-
It was environment variables.
why is it always FUCKING environment variables.
i knew it was small and thats why i got so frusterated. the small things are hardest to find.
i'm a 🤡 at the highest level -
Prod is inherently divergent because it interacts with the real world. You can virtualize any setup down to the lowest level that you or a cooperative third party owns. You can never virtualize the entire reality of any situation.
-
@fullstackclown
I dunno how / where you store the env variables...
But from someone who has fallen in that pit too many times: Make sure that env variables can only be changed by few chosen ones and that a release workflow contains an easily accessible snapshot of env variables.
Best diffable.
Bit of extra work, but less playing cluedo - who killed the production... Especially with less players who's first answer is always: i didn't do anything. -
sariel84472y@ScriptCoded for me it's almost always a different package version installed.
Config changes are much harder to compare since there's so much installed on servers ootb these days. It does happen though. -
I know, I know. Infra as code is really the only way to go now, but its a legacy project on a managed server... i'm getting there okay
🤡 -
sariel84472y@fullstackclown I'm disappointed that many believe the line about infra as code.
Sure, it's easy, but it's just a solution and not every solution is THE solution.
Related Rants
-
jsPaysMyBills27When you have something in your clipboard but then press Ctrl+C instead of Ctrl+V and end up with a blank line...
-
fabiomsnunes22Stupidest client ever: I once had a client that requested me a new website, all went well and get paid. After ...
-
Coffe2Code13~During app demo to our client~ - And when you click here the request will be submitted, the admin will be no...
Staging
Production
Exact replicas according to git
Of course, production is the one that doesn't work
FUCK I FUCKING HATE IT WHEN THIS HAPPENS SO FUCKING ANNOYING AND FRUSTRATING
rant
why
stupid
what the hell