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
-
binhex4368yhey it happens - hopefully you have good rollback policies so you can add test coverage, bug fix and redeploy.
-
youprat11598yHappens way too often. Probably it's time for a production environment clone to do the integration testing on.
-
@binhex I created a new branch with git from the latest commit I knew was stable, then pushed to origin and commanded the backend to update from that branch while I fixed it.
-
@youprat unfortunately I can't clone the production environment since it relies on OAuth2 user consent.
-
binhex4368y@Frederikam Yeah that's a little tricky when you're delegating authentication to something like OAuth2.. You could generate fake user tokens and mock your OAuth calls to verify the fake user tokens.
Related Rants
When you test your backend code thoroughly before pushing to production, but a fatal exception with the much larger production userbase causes one of your vital threads to die with a NullPointerException.
undefined
production
testing
java
backend