Re:Why I distrust Google Cloud more than than AWS or Azure
by epistasis on Wednesday April 21, 2021 @11:43PM
(#26898486)
I don't know exactly what's going on at Google, but the key feature request seems to be that one chunk of code be able to depend on a consistent version of the library interfaces. If it wasn't a mono-repo, you could specify a dependency as a particular version of the other repository. But if everything is in the same repository, and one directory of code depends on a past version of library code, then everything falls apart. Keeping code that doesn't work in the mono repo, with its test last failing, is worse than deleting the code at the point that the API change breaks the other chunk of code.
Re:Why I distrust Google Cloud more than than AWS or Azure
by dilyevsky on Wednesday April 21, 2021 @11:54PM
(#26898557)
Maybe in java world it was different but when i wrote c++ and go code there breaking existing apis was extremely frowned upon and if they had to do it people usually sent you automated code edit PRs for this
Re:Why I distrust Google Cloud more than than AWS or Azure
by Lt_Riza_Hawkeye on Thursday April 22, 2021 @01:13AM
(#26898986)
I can attest. I work at a similar megacorp with a very large megarepo. If you commit a change that breaks any kind of test, anywhere, that shit is getting reverted very rapidly. If you MUST make a breaking change, congradulations, you get to update all of your users code too.
Re:Why I distrust Google Cloud more than than AWS or Azure
by Viliam1234 on Thursday April 22, 2021 @07:26PM
(#26909346)
This is about company culture, not the programming language. When someone breaks their API and someone else's code stops working as a consequence, will the first person get told to fix their API, or will the second person get told to fix their application?
Some companies may have a consistent policy about this, in other companies it may depend on which team happens to have more political power.
Re:Why I distrust Google Cloud more than than AWS or Azure
by dilyevsky on Saturday April 24, 2021 @05:18PM
(#26928332)
At least during my time there nobody was introducing breaking (at compile time) api changes wily-nily. What did happen was people would deprecate (or “sunset” as pms loved to call it) a runtime api that ppl depended on - i.e shutting down some servers. So splitting the monorepo would do nothing here unless you’re willing to run those services yourself.
Re:Why I distrust Google Cloud more than than AWS or Azure
by nhoughto on Wednesday April 21, 2021 @11:46PM
(#26898509)
its easier to park a codebase and have it rot when its not in a monorepo where everything is assumed to be consistent/working all the time.
I'd have thought you could just pull maintenance-mode products out of the monorepo tree and stash them somewhere else. Let it rot by choice. Is basically what everyone else does, let you perform maintenance tasks on your schedule not other monorepo participants schedule.
Re:Why I distrust Google Cloud more than than AWS or Azure
by barbazoo on Thursday April 22, 2021 @12:00AM
(#26898589)
I would assume multi-repo also means dependency on packages rather than code. So code changes that are not backwards compatible yield a new version of the package that doesn't have to get applied across all uses of that repo.
Imo mono repo has little to do with it and it’s more just an eng culture of shipping above all else (heavily influenced by their promo process)