News for hackers. Stuff that matters.
Re:We Halved Go Monorepo CI Build Time by spion on Sunday June 26, 2022 @12:44PM (#31885498)
Why would a complex dependency update be faster in a monorepo? In my experience the biggest savings are for simple updates that happen acorss multiple repos - when the update itself is complex, the extra time to make multiple PRs is dwarfed by the actual update's complexity, and it helps if the update can be separated into several projects where the version can be bumped separately.
Re:We Halved Go Monorepo CI Build Time by sagarm on Thursday June 30, 2022 @02:53AM (#31929393)
You don't "update" the dependency. You are always building and releasing at head with all your internal deps (external deps are still versioned of course).

> the extra time to make multiple PRs is dwarfed by the actual update's complexity

Writing code is never the majority of the work. All the operational stuff is more complex without forced upgrades: coordinating the dependency updates, automating integration testing, pushing clients to migrate off old thick clients, determining what version of a specific repo is deployed, running a bisect to root cause issues, etc.

Re:We Halved Go Monorepo CI Build Time by rfoo on Sunday June 26, 2022 @01:26PM (#31885901)
A lot of things could be done in a series of "simple updates that happen across multiple repos". Different style of doing the job I guess.

Also, having a rather global view of the impact of my code before actually make the change helps a lot, especially if you are working on low-ish level libraries. Technically this is not bound to monorepo, but people usually criticize the complexity introduced by having such ability for monorepo, so :)