3 ms·
> Why does anyone believe that storing all code in the same repository is enough to make these operations atomic? No one is saying that. But there are lots of
by lolinder 2y ago
> Why does anyone believe that storing all code in the same repository is enough to make these operations atomic?
No one is saying that. But there are lots of types of shared code that can be updated atomically, so why not update them atomically? And there's nothing inherent in being a monorepo that prevents you from being careful about the non-atomic updates.
It's really easy to accidentally deploy multiple repos in a way that gets the deployment order wrong. You have to be careful with non-atomic deployments whatever type of repo structure you have.