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
| Metric | Value |
|---|---|
| PARITY entries audited | 14 (8 ok, 5 partial, 1 gap) |
| Feature families | 9 (4 ok, 5 partial) |
| Known gaps | 4 |
| Deferred items | 0 |
| Resource leaks | clean |
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
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateJob | ok | partial | ok | ok |
GetJob | ok | ok | ok | n/a |
ListJobs | ok | partial | ok | n/a |
DeleteJob | ok | partial | ok | ok |
CancelJob | ok | partial | ok | ok |
GetTask | ok | ok | ok | n/a |
ListTasks | ok | ok | ok | n/a |
GetLocation | ok | ok | ok | n/a |
ListLocations | ok | ok | ok | n/a |
GetOperation | ok | ok | ok | ok |
ListOperations | ok | ok | ok | n/a |
WaitOperation | ok | ok | ok | n/a |
DeleteOperation | ok | partial | ok | ok |
CancelOperation | gap | gap | gap | n/a |
Audited Feature Families
| Feature Family | Status |
|---|---|
emulator_mode_state_only | ok |
emulator_mode_docker | ok |
environment | ok |
volumes | partial |
logs_policy | partial |
allocation_policy | partial |
routing_isolation | ok |
auth | partial |
observability | partial |
