News for hackers. Stuff that matters.
Re:Scaling monorepo maintenance by iudqnolq on Saturday May 01, 2021 @05:09PM (#27009848)
> You create a PR that fixes the code and the problematic call sites in a single commit. It gets merged and you’re done.

What happens when you roll this out and partway through the rollout an old version talks to a new version? I thought you still needed backwards compat? I'm a student and I've never worked on a project with no-downtime deploys, so I'm interested in how this can be possible.

Re:Scaling monorepo maintenance by ublaze on Saturday May 01, 2021 @07:55PM (#27011061)
Version skew is only an issue when there's cross service communication. One service deployed on two different codepaths (in this case, using a different library implementation) is completely fine.
Re:Scaling monorepo maintenance by alexhutcheson on Saturday May 01, 2021 @08:51PM (#27011358)
My example was a library, so both the library and it’s caller are in the same release artifact (binary/JAR/whatever).

If you’re changing the interface of an RPC service, then you can’t do that in a single commit, and need to fall back to something like the second approach, but with even more caution to make sure you properly account for releases and the possibility of rollbacks.