)]}'
{
  "commit": "ad3e855c65e075be2cb247f13619974dba545c1d",
  "tree": "86c08f295d62164a225bb3f1c20789449787112f",
  "parents": [
    "f52852b6964d143349d09ba9290147b94da7d083"
  ],
  "author": {
    "name": "Salma Samy",
    "email": "16399431+SalmaSamy@users.noreply.github.com",
    "time": "Wed Nov 11 11:07:26 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Nov 11 12:07:26 2026 +0100"
  },
  "message": "Fix Docker image pre-pulling for arm64 Linux VMs     (#3014)\n\nBefore we pinned `@sha256:...` digests in `setup-docker.sh`, a line like\n`docker pull \"gcr.io/bazel-public/ubuntu2204\"` automatically detected\nthe machine\u0027s CPU architecture and downloaded only the `amd64` image on\n`x86_64` VMs, or only the `arm64` image on `arm64` VMs.\n\nAfter pinning `@sha256:...` digests, `setup-docker.sh` unconditionally\npulled `amd64` `@sha256` digests on both `x86_64` and `aarch64` VMs,\ncausing `arm64` Linux agents to miss local Docker image caches on every\njob. for example, in\n[here](https://buildkite.com/bazel/bazel-bazel/builds/38292#01a1ca3f-48f4-4738-8b01-4c27a70a23c7)\nthe agent had to download and extract ~1 GB of layers from scratch,\nadding ~18 seconds to job startup).\n\nFix:\nIn `setup-docker.sh`, we check the arctecture (the same check already\nused earlier in that script) and pull the `arm64` digests from\n`digests.json` on `arm64` machines, while pulling the `amd64` digests on\n`x86_64` machines.\nBecause `update_docker_image_hashes.py` already loops over both `amd64`\nand `arm64` hashes in `digests.json` and replaces matching strings in\n`setup-docker.sh`, it will automatically keep both lists updated with\nzero changes to the Python script.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9b347739a51198dfdcc455b6453b55d3ee474acb",
      "old_mode": 33261,
      "old_path": "buildkite/setup-docker.sh",
      "new_id": "bf760cc9b15f0ab65f8d4be94ec5649eea825235",
      "new_mode": 33261,
      "new_path": "buildkite/setup-docker.sh"
    }
  ]
}
