89

I've heard it thrown around in professional circles and how everybody's doing it wrong, so.. who actually does use it?

For smaller teams

"scaled" trunk based development

you are viewing a single comment's thread
view the rest of the comments
[-] Ismay@programming.dev 27 points 7 months ago

I do, on a 900+ developer mono repo. Works like a charm.

We just have a CD that allows to deliver each project each micro service individually.

[-] luciole@beehaw.org 9 points 7 months ago

Holy crap that's a lot of devs 😳

[-] Ismay@programming.dev 5 points 7 months ago

Yeah, the biggest problem is keeping up to date.

That's where the mono repo really shines. We have a folder for common stuff that everyone depends upon. A modification is automatically applied/compatible with every micro service. Really streamline the lib updates problem ^^

[-] Diplomjodler3@lemmy.world 9 points 7 months ago

You deliver your software on CDs?

[-] boblin@sh.itjust.works 12 points 7 months ago

Most likely CD is intended to mean continuous delivery, which commonly means automation in processes that deliver your software to it’s target audience.

[-] Ismay@programming.dev 2 points 7 months ago

It does indeed ^^

[-] onlinepersona@programming.dev 3 points 7 months ago

Out of curiosity, how long are CI and CD runs? And are there any particularities in the way of working for example every PR/MR is created by pair programmers, or the use of josh to cut down on time to clone, stuff like that.

Anti Commercial-AI license

[-] agressivelyPassive@feddit.de 4 points 7 months ago

If cloning a repo is an issue, you're using CI wrong. --shallow has it's purpose.

Anyway, in my project a complete CI run including local integration tests takes about an hour. We could cut that down by running things in parallel, but we never bothered to add more runners.

I would say, if your tests hold you back, you might want to reconsider testing. Staged testing is an option, or just reevaluate whether you really need all those test cases. Many integration tests are not really testing that much, because 95% of them overlap.

[-] Ismay@programming.dev 1 points 7 months ago

No problem for the cloning.

A CI run is around 8 mins. We just use bazel to determine what to run and to keep cache of unchanged tests.

this post was submitted on 15 May 2024
89 points (95.9% liked)

Programming

17691 readers
310 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS