This happened in the early days of GitHub:
https://github.blog/2010-11-15-today-s-outage/
These sloppy setups are common even today, where it's fairly easy to allow for a simple config error or a wrong environment variable (env=PROD) to wipe out production from a test suite. These safeguards need to be in place in the first days of your codebase.