Hi all! We have been developing apps with Habitat for quite some time. We love the benefits of how anyone can just checkout our codebase run one or two commands to get their dev environment up and running in no time.
Our general workflow has always been this:
- Make a new feature branch
- Start making code changes
- Run “build /path/to/component”, which does lint/style, build, unit test, create artifact
- If successful submit the feature branch for review.
While it has been very simple and gratifying, our repo is a huge monorepo with various components mostly written in C/C++. We have a few common libraries and over 20 components. With that we have required our contributors to run this build all script that will literally build everything making sure everything is good to go.
One major complaint that keeps coming up over time is how long our build takes. 30 mins and counting. Our build all script is definitely serial - things could be done in parallel. I see there are ways to disable artifact creation.
However, I’m reaching out to the community to know what your dev workflows have been like?