Start builds from failure point to reduce test time.

@stanhu and I were talking and we would like to have the CI optionally work like this:

  1. Run your CI tests as usual.
  2. Test fails.
  3. Next time you run your tests, start from that point forward.
  4. Continue this pattern until the whole thing passes.
  5. Once the whole thing passes run the whole test suite again.

This is in contrast to the way it currently works which is rerun the whole test every time.

This method could save a ton of time. Our tests currently take at least 80 minutes to run. We could cut that 80 minutes down.

No one at this point wants to run tests on our CI for fear of time and sanity loss.

You need everything to pass but developers don't run everything every time. We run whatever failed. So why shouldn't we duplicate our local methods remotely.

cc @ayufan @markpundsack @grzesiek

Assignee Loading
Time tracking Loading