)]}'
{
  "commit": "08ae5ada0e6b69a971b87bbf6f2fddef4de95f62",
  "tree": "e52816bfbb83682b82719b8abbb4927a8f639779",
  "parents": [
    "c7b275f2a1c2e5d6bbb74de2b1ac707344231383"
  ],
  "author": {
    "name": "Salma Samy",
    "email": "16399431+SalmaSamy@users.noreply.github.com",
    "time": "Tue Nov 10 13:56:13 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Nov 10 14:56:13 2026 +0100"
  },
  "message": "Fix update-git-mirror-tar-ball pipeline and schedule weekly update (#3008)\n\nWhen gitbundle.sh was switched from `git clone --mirror` to `git clone\n--bare` (to avoid downloading refs/pull/* refs), the bare repositories\nno longer had a remote.origin.fetch rule in their Git config.\nWithout that rule, running `git fetch --prune` on an existing bare\nrepository only updates FETCH_HEAD and never advances branch pointers\n(HEAD), causing the freshness verification check to fail on subsequent\nruns.\n\nIn addition, the `update-git-mirror-tar-ball` pipeline had no schedule\nand had not succeeded since January 2026, leaving the Git mirror archive\nin GCS over 9 months behind—so even freshly built VM images were baking\nin a 9-month-old mirror, forcing every CI job to download months of\nmissing Git history from GitHub during checkout.\n\nThis change:\n- Configures remote.origin.fetch to `+refs/heads/*:refs/heads/*` and\npasses --tags to `git fetch --prune` so branch heads and tags are\nproperly updated without pulling PR refs.\n- Adds a weekly schedule (Mondays at 03:00 UTC) for\n`update-git-mirror-tar-ball` so the Git mirror archive in GCS is\nrefreshed before the weekly VM image builds, so new VM images always\nbake in a fresh Git mirror.\n\nTested\n[here](https://buildkite.com/bazel-trusted/update-git-mirror-tar-ball/builds/9)",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dc964bb81dbe2abb3f94133ae8938cc4cb4eb775",
      "old_mode": 33188,
      "old_path": "buildkite/terraform/bazel-trusted/pipelines_misc.tf",
      "new_id": "9f9f6a1baf6615a037e7060329e9e42fd2c96ba4",
      "new_mode": 33188,
      "new_path": "buildkite/terraform/bazel-trusted/pipelines_misc.tf"
    },
    {
      "type": "modify",
      "old_id": "8262d1b48e413c65b124028e41d761f4aaf22e2c",
      "old_mode": 33261,
      "old_path": "gitbundle/gitbundle.sh",
      "new_id": "2834819cb03c50bc04404336503db80dd7aa96ea",
      "new_mode": 33261,
      "new_path": "gitbundle/gitbundle.sh"
    }
  ]
}
