TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How and When should we update our dependencies?

2 点作者 sporkle-feet大约 3 年前
Having recently been tasked at work with upgrading some dependencies, I realise this is a nightmare.<p>We have unit tests, but they are not sufficient to be confident that nothing is subtly broken. This is a problem in many environments (maven, nuget, npm, etc). There was a story recently where (I think) a Ruby library subtly changed behaviour between versions and broke their payment system.<p>Our current process is to not update unless a security vulnerability is raised (we have tools to check for these), or a new version has features we want. Then automated unit testing and manual testing is done, but not to the level where, for instance, we would have caught that payments bug. We don&#x27;t audit the source code of open-source libraries.<p>Is this a reasonable process? How does your company handle this? How could we do better?

暂无评论

暂无评论