6.6 Build Service Operations

Sections in this chapter · 9

6.6.1Tracing a Build Across Services

Use this when a build crosses CI, Bazel, cache, remote execution, BES, and downstream consumers and no single log explains the failure or latency.

6.6.2Action-Internal Telemetryextra

Escalate from portable Bazel and REAPI evidence to governed private executor signals inside an opaque action without contaminating cached results.

6.6.3Measuring Build-Service Latency and Reliability

Use this when a single average build time or service CPU graph cannot tell whether users are waiting on lookup, transfer, queueing, execution, outputs, or missing results.

6.6.4Locating Build-Service Failures

Use this when “the remote build failed” could mean source, Bazel, credentials, cache storage, scheduling, execution, network, BES delivery, or a downstream consumer.

6.6.5Classifying Failures Before Retrying

Use this when deciding whether a failure is deterministic, flaky, incompatible, transient infrastructure, or corrupt shared state—and whether retry will help or amplify it.

6.6.6Build-Service Incident Recovery

Use this when cache, remote execution, BES, region, or executor-fleet incidents require recovery without destroying evidence or causing a cold storm.

6.6.7Planning Capacity for Build Infrastructure

Use this when sizing cache, scheduler, executor, BES, and CI stages for baseline, bursts, scale lag, and component failure.

6.6.8Build Infrastructure Cost and Impact

Use this when deciding whether cache, remote execution, warm CI, or local investment delivers real value instead of moving cost elsewhere.

6.6.9Bottleneck-Driven Optimizationextra

Use this when measurement identifies loading, analysis, configuration, retained-state, hashing, transfer, materialization, or execution as the bottleneck and you need the matching bounded mechanism.