Key takeaways
Dev–prod parity means development, CI and production behave the same; small gaps cause failures that tests miss.
MariaDB and MySQL differ in strictness and JSON key ordering — run CI on the same engine and version as production.
Store all timestamps in UTC and convert only for display, and build CI from a fresh clone so untracked files can't hide problems.
"Works on my machine" is a cliché because it keeps happening. The modern version is "works on my machine and passes in CI" — and still breaks somewhere else, because the three environments involved are subtly different.
The Twelve-Factor App calls the goal dev–prod parity: keep development, testing and production as similar as possible.…