Cloud Build
Parity grade: B · SDK cloud.google.com/go/cloudbuild@v1.34.0 · last audited 2026-10-22 (1c0729588)
Category: GCP · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 21 (21 ok) |
| Feature families | 14 (12 ok, 2 partial) |
| Known gaps | 4 |
| Deferred items | 0 |
| Resource leaks | ok |
Known Gaps
- connectedRepository builds fail with FETCH_SOURCE_FAILED (sourcemanifest.go:23: no Cloud Build v2 connections or repositories API in-process); repository_event_config and git_file_source triggers cannot resolve a repository, and triggers that read cloudbuild.yaml from a repository can be stored but not run.
- options.machine_type, options.disk_size_gb and worker pool machine settings are logged but do not limit the step containers (run.go:268): the vCPU and memory of each Cloud Build machine type could not be read from the Cloud Build pricing page (truncated), so no limits are applied; there is also no concurrency limit, so a build is never held QUEUED and queue_ttl applies only to approval-held and late-started builds.
- Step containers share the host Docker daemon and mount its socket when present (step.go:304) so docker builder steps work; builds are not isolated from each other or from the host.
- Authentication is not checked, IAM is not enforced and service_account is ignored (IAM evaluation is out of scope).
Audited Operations
21 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateBuild | ok | ok | ok | ok |
GetBuild | ok | ok | ok | ok |
ListBuilds | ok | ok | ok | ok |
CancelBuild | ok | ok | ok | ok |
RetryBuild | ok | ok | ok | ok |
ApproveBuild | ok | ok | ok | ok |
CreateBuildTrigger | ok | ok | ok | ok |
GetBuildTrigger | ok | ok | ok | ok |
ListBuildTriggers | ok | ok | ok | ok |
DeleteBuildTrigger | ok | ok | ok | ok |
UpdateBuildTrigger | ok | ok | ok | ok |
RunBuildTrigger | ok | ok | ok | ok |
ReceiveTriggerWebhook | ok | ok | ok | n/a |
PubsubTrigger | ok | ok | ok | n/a |
CreateWorkerPool | ok | ok | ok | ok |
GetWorkerPool | ok | ok | ok | ok |
ListWorkerPools | ok | ok | ok | ok |
GetDefaultServiceAccount | ok | ok | ok | n/a |
UpdateWorkerPool | ok | ok | ok | ok |
DeleteWorkerPool | ok | ok | ok | ok |
GetOperation | ok | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
execution | ok |
timeouts | ok |
source | partial |
images | ok |
artifacts | ok |
logging | ok |
notifications | ok |
substitutions | ok |
scheduling | partial |
secrets | ok |
results | ok |
persistence | ok |
routing_isolation | ok |
terraform | ok |
