3 ms·
Interesting that they don't talk about Bazel. Isn't skipping tests like this one of its biggest selling points, particularly for monorepo users?
by wwright 6y ago
Interesting that they don't talk about Bazel. Isn't skipping tests like this one of its biggest selling points, particularly for monorepo users?
- spankalee 6y agoExactly. The first thing they should dispense with is the idea that they should run _all_ the tests in the monorepo. That's what doesn't scale. Run only the effected tests and the overhead is now more proportional the potential impact of the change.
- wwright 6y agoThat seemed to be what they were describing, but with dynamic dependency detection via introspection.
- yawaramin 6y agoDoes Shopify use Bazel? I would have guessed not. In any case, the more natural fit for them would be Nix, since it should be good at eliminiating redundant builds, and they recently went all-in on it.
- wwright 6y agoAFAIK Bazel and Nix are orthogonal and actually go well together. Nix is great for packaging and environments, but is anemic at actual build tooling (a big one: no incremental builds within a package). Bazel does very little to manage the environment or packages, but it has very granular and efficient build support.
- yawaramin 6y agoTrue, but they both require a rather large complexity and learning and complexity budget. It would be difficult to introduce both into a shop at the same time.