Our presubmit checks is spenting a lot of time in Bazel, to find out that everything is remotely cached by Buildbarn. The analysis cache is unfortunately discarded because we run Bazel multiple times with different flags. How should one setup the CI system to avoid spending minutes on checking for cache hits?
We would like to get down to presubmit times of below one minute, inspired by Eric Burnett's talk "One minute Presubmits" at
http://build-london.com/. Bazel has taken us down from the 1 hour range to 10 minutes, but right now Bazel is on the critical path.