[译] 编写 Bazel rules(四):将逻辑移到 execution phase

原文:Writing Bazel rules: moving logic to execution 作者:Jay Conrod,曾在 Google 的 Go 团队工作,现就职于 EngFlow。 原文发表于 2018-12-26,更新于 2025-09-09。 译注:文中的“我”指原作者。版本号和工具行为保留原文发表或更新时的语境,示例代码与技术术语保留原样。 ...

2026-11-10 · 8 分钟 · 3917 字 · Jay Conrod

[译] Integration tests 是最好的测试

原文:Integration tests are best tests 作者:Jay Conrod · 原文发表于 2026-01-15。 作者简介:Jay Conrod 是软件工程师,目前在 EngFlow 改进 Bazel 等构建系统的 remote builds 性能。他此前在 Google 的 Go 语言团队工作,参与过 Go modules、fuzzing、Bazel 支持和 command-line tools 的开发。 ...

2026-11-10 · 8 分钟 · 3580 字 · Jay Conrod

[译] 为什么你该放弃 YAML,改用 Jsonnet

原文:Why you should ditch YAML and use Jsonnet instead 作者:Joachim Bargsten · 原文发表于 2023-01-14。 译注:文中的“我”指原作者,工具和文档的相关描述保留原文发表时的语境。 我说不清自己究竟是什么时候想明白的。不过,看看 YAML 的格式和它的用法,我觉得这准是魔鬼的杰作之一。就像苍蝇被一大坨牛粪吸引,包括我在内的开发者,也被一股无形的力量推向了这种格式。 ...

2026-11-09 · 6 分钟 · 2525 字 · Joachim Bargsten

[译] 我的 Bazel 构建为什么这么慢?

原文:Why is my Bazel build so slow? 作者:Maggie Lou · 原文署名日期为 2024-04-02。 译注:文中的“我们”指原作者或 BuildBuddy 团队。所译网页已包含 Bazel 8.7、9.1 等后续版本的补充说明,使用 flags 时请核对自己的 Bazel 版本。Bazel 专有名词、命令和代码保持英文;原文几处参数及缓存行为说明的修正见脚注。 ...

2026-11-09 · 11 分钟 · 5201 字 · Maggie Lou

[译] Action Merging

原文:Action Merging 作者:Iain Macdonald · 原文发表于 2026-01-05。 译注:文中的“我们”指原作者或 BuildBuddy 团队,时效性表述以原文发布日期为准。Bazel 专有名词保留英文,代码和命令未作翻译。 ...

2026-11-09 · 5 分钟 · 2431 字 · Iain Macdonald

[译] Remote Cache CDC:复用已有字节

原文:Remote Cache CDC: Reusing Bytes 作者:Tyler French · 原文发表于 2026-05-01。 译注:文中的“我们”指原作者或 BuildBuddy 团队,时效性表述以原文发布日期为准。Bazel 专有名词保留英文,代码和命令未作翻译。 ...

2026-11-09 · 11 分钟 · 5476 字 · Tyler French

[译] Snapshot、Chunk、Clone:大规模部署快速 runner

原文:Snapshot, Chunk, Clone: Fast Runners at Scale 作者:Maggie Lou · 原文发表于 2026-01-26。 译注:文中的“我们”指原作者或 BuildBuddy 团队,时效性表述以原文发布日期为准。Bazel 专有名词保留英文,代码和命令未作翻译。 ...

2026-11-09 · 11 分钟 · 5508 字 · Maggie Lou

[译] 使用 Podman 和 SOCI Snapshotter 按需拉取容器镜像

原文:Lazily Pulling Container Images with Podman and SOCI Snapshotter 作者:Iain Macdonald · 原文发表于 2023-11-15。 译注:文中的“我们”指原作者或 BuildBuddy 团队,时效性表述以原文发布日期为准。Bazel 专有名词保留英文,代码和命令未作翻译。 ...

2026-11-09 · 7 分钟 · 3310 字 · Iain Macdonald

[译] 我们如何用 ClickHouse 分析数百万次构建的趋势

原文:How We Use ClickHouse to Analyze Trends Across Millions of Builds 作者:Lulu Zhang · 原文发表于 2022-11-22。 译注:文中的“我们”指原作者或 BuildBuddy 团队,时效性表述以原文发布日期为准。Bazel 专有名词保留英文,代码和命令未作翻译。 ...

2026-11-09 · 3 分钟 · 1215 字 · Lulu Zhang

[译] 理解 Bazel 的 Remote Caching 与 Remote Execution

原文:Bazel’s Remote Caching and Remote Execution Explained 作者:Brentley Jones · 原文发表于 2022-03-16。 译注:文中的“我们”指原作者或 BuildBuddy 团队,时效性表述以原文发布日期为准。Bazel 专有名词保留英文,代码和命令未作翻译。 ...

2026-11-09 · 10 分钟 · 4653 字 · Brentley Jones