News for hackers. Stuff that matters.
Re:Minify your container by killingtime74 on Wednesday August 03, 2022 @04:46PM (#32336482)
If you have good integration tests is it still a problem?
Re:Minify your container by fwip on Wednesday August 03, 2022 @05:43PM (#32336955)
It depends on how comprehensive they are, and how important it is that your container operates correctly.

For example, even the best integration tests (for small/mid-size companies) don't always include tests that exercise weird paths around dates/times - leap years, leap seconds, daylight savings time, etc. We often trust that our datetime library or code will handle these for us, but what if the configuration is stored in a file that isn't accessed during your integration tests?

Best case scenario is you hit the error-path soon in production and your code either crashes or does something correct-enough with a fallback path, but a worse scenario is you start losing critical information and don't realize it/fix it until it's gone on for a while.

Re:Minify your container by mplewis on Wednesday August 03, 2022 @06:25PM (#32337274)
In a non-trivial app, you can never guarantee that your "good integration tests" cover every edge case. If you could, we wouldn't have outages in production.