News for hackers. Stuff that matters.
Re:We should all be using dependency cooldowns by jerlam on Friday November 21, 2025 @11:56AM (#46006224)
Your CI/CD might be setup to upgrade all your dependencies on every build.
Re:We should all be using dependency cooldowns by wrs on Friday November 21, 2025 @12:05PM (#46006317)
I’ve seen a lot of CI/CD setups and I’ve never seen that. If that were common practice, it would certainly simplify the package manager, since there would be no need for lockfiles!
Re:We should all be using dependency cooldowns by jerlam on Friday November 21, 2025 @12:14PM (#46006438)
I didn't necessarily say they were good CI/CD practices.
Re:We should all be using dependency cooldowns by chuckadams on Saturday November 22, 2025 @08:45AM (#46014755)
I do see some CI running without lockfiles, and there's still a contingent that believes that libraries should never commit their lockfiles. It's a reasonably good idea to _test_ a configuration without the lockfile, since any user of your dependency is using _their_ lockfile that their local solver came up with, not yours, but this ought to be something you'd do alongside the tests using the lockfile. So locking down the CI environment is a good idea for that and many other reasons.

Realistically, no one does full side-by-side tests with and without lockfiles, but it's a good idea to at least do a smoke test or two that way.