|
|
|
|
|
by peterwwillis
2390 days ago
|
|
An alternative system includes optimizations: 1) don't use a monorepo, 2) don't run tests that have nothing to do with the code changed. Both require redesign of code structure, testing, execution, but both remove the inherent limits of integration. Nobody seems to talk about this and I don't know why. It would remove integration complexity and speed up testing. We do the same thing for CD and nobody seems to have a problem with it... |
|
1) Two changes which don’t effect intersecting parts of the repo are landed separately. Similar to having infinite separate repos.
2) Only the tests that your code effects are run.
This is all possible because Bazel let’s you look at a commit and determine with certainty which test needs to run a and which targets are effected.