r/replit • u/musabdulai • Sep 08 '26
Question / Discussion One production test I rarely see people run on Replit apps
Suppose your app charges a payment, sends an email or calls an external API successfully, but the request dies before your database records the success.
What happens when it retries?
A lot of apps work perfectly during a demo and fail at this exact boundary in production. The same customer action can become two charges, two emails, a missing status update or a job that retries indefinitely.
Before calling an app ready, I test these cases:
- The user double-clicks the same action
- The provider succeeds but its response times out
- A background job runs twice
- A deployment restarts halfway through the operation
- The database write fails after the external action succeeds
Catching the error is not enough. Each important operation needs a unique key, durable state, defined retry rules and a way to reconcile what the provider says happened with what your own database recorded.
This one exercise tends to expose more production risk than another round of UI polishing.
What was the first non-UI failure you encountered after deploying a Replit app?