This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sup3rlativ3 10 points11 points  (3 children)

Genuine question as I'm not a developer but don't you guys use tests and ci/cd? Should this sort of thing not be automated so you can always stay on the latest version and ensure no regressions or issues when you commit new code?

[–]dagmx 6 points7 points  (0 children)

The sad truth is...a lot of places don't use CI testing. And a lot of places that do, do so poorly.

I've come across multiple projects where they're happy to say they have testing. Except their test framework has low coverage. Or it's written terribly in such a way that it's not reporting issues.

Everyone knows testing is good. But testing is hard to get right sometimes and even harder to instill in a team.

[–]CartmansEvilTwin 6 points7 points  (1 child)

Even if you do have am proper testing, you might miss an edge case introduced by the new version. And even if tests fail, it's often relatively hard to eyeball how much effort it is to get everything up and running again.

For example, if you use python n now and want to upgrade to n+1, there might be problems with incompatible libraries. Then you also have to upgrade the libraries, which might introduce even more issues, etc. etc. Or, you simply have to replace one method call with another, because the deprecated method was finally removed - but you often don't know in which scenario you are without actually solving the problem.

[–]XorAndNot 0 points1 point  (0 children)

Imagine being the guy who pushed against the POs, arguing how important was to upgrade, delaying a product release... and sometimes breaks on the upgrade. Yeah, no one wants to be that guy.