Company
Date Published
Author
Szabolcs Gelencser
Word count
1485
Language
English
Hacker News points
1

Summary

Bazel is an open-source build and test automation tool designed for large, multi-language projects with complex dependencies. Its remote caching capabilities allow it to store and retrieve build outputs from a remote server, enhancing build times through cache reuse across different environments. The Bazel remote caching API specification outlines how clients and remote servers interact, defining entities such as Action, Command, platform, and ActionResult. The client-side implementation in Bazel v7.0.2 involves checking for cached results, downloading missing blobs, writing local results to the cache, and persisting results for given Actions. Bitrise's server-side implementation of the remote cache API will be explored in a subsequent post.