Get the latest tech news

Trusting builds with Bazel remote execution


The previous article on Bazel remote caching concluded that using just a remote cache for Bazel builds was suboptimal due to limitations in what can and cannot be cached for security reasons. The reason behind the restrictions was that it is impossible to safely reuse a cache across users. Or is it? In this article, we’ll see how leveraging remote execution in conjunction with a remote cache opens the door to safely sharing the cache across users. The reason is that remote execution provides a trusted execution environment for actions, and this opens the door to cross-user result sharing. Let’s see why and how.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Bazel

Bazel

Photo of Trusting

Trusting

Related news:

News photo

Bazel and Glibc Versions

News photo

The next generation of Bazel builds

News photo

Bazel 8.0