Skip to content

Google Cloud Batch ​

Parity grade: B · SDK cloud.google.com/go/batch@v1.24.1 · last audited 2026-10-30 (b0763c598)

Category: GCP · View PARITY.md on GitHub · All Services

Parity & Coverage ​

MetricValue
PARITY entries audited14 (8 ok, 5 partial, 1 gap)
Feature families9 (4 ok, 5 partial)
Known gaps4
Deferred items0
Resource leaksclean

Known Gaps ​

  • Compute Engine behaviour is not emulated: no VMs, so allocation_policy has no effect, instances stay empty, tasks are never preempted (exit codes 50001 to 50004 and 50006 cannot occur) and task_count_per_node, permissive_ssh and run_as_non_root are stored only. The 50005 exit code for exceeded run time is from the troubleshooting page.
  • Container runnable options, username and password (registry credentials) and enable_image_streaming are stored but ignored; script runnables run in a container image rather than on the VM host, so host paths a script path refers to must exist in that image.
  • No IAM policy methods, CancelOperation, dashboard page or proxy.
  • In docker mode a job that was RUNNING when the emulator restarts is marked FAILED on restore (its containers are gone) instead of being resumed.

Audited Operations ​

14 audited operations
OperationWireErrorsStatePersist
CreateJobokpartialokok
GetJobokokokn/a
ListJobsokpartialokn/a
DeleteJobokpartialokok
CancelJobokpartialokok
GetTaskokokokn/a
ListTasksokokokn/a
GetLocationokokokn/a
ListLocationsokokokn/a
GetOperationokokokok
ListOperationsokokokn/a
WaitOperationokokokn/a
DeleteOperationokpartialokok
CancelOperationgapgapgapn/a

Audited Feature Families ​

Feature FamilyStatus
emulator_mode_state_onlyok
emulator_mode_dockerok
environmentok
volumespartial
logs_policypartial
allocation_policypartial
routing_isolationok
authpartial
observabilitypartial

Released under the MIT License.