)]}'
{
  "commit": "35bf0dfc05c30f80648228dc2f0a0412bb100c3d",
  "tree": "fc32c449a948251118649d6010e9eca525e0b50c",
  "parents": [
    "2bd928123ad46f5b96970f537af073e0acb5b654"
  ],
  "author": {
    "name": "Régis Desgroppes",
    "email": "rdesgroppes@gmail.com",
    "time": "Sun Feb 08 12:20:50 2026 +0100"
  },
  "committer": {
    "name": "Régis Desgroppes",
    "email": "rdesgroppes@gmail.com",
    "time": "Tue Feb 10 08:35:50 2026 +0100"
  },
  "message": "fix: handle UTF-16LE-encoded manifests on Windows\n\nPrior to Bazel 8, manifest files containing non-ASCII characters were\nwritten with UTF-16LE encoding instead of UTF-8 on Windows:\n- bazelbuild/bazel#24231\n- bazelbuild/bazel#24350\n- bazelbuild/bazel#24403\n\nThis led to disable failing tests in CI:\n\n`//tests/zip:unicode_test`:\n```\nFile \"pkg\\private\\manifest.py\", line 59, in read_entries_from\n  raw_entries \u003d json.loads(fh.read())\nUnicodeDecodeError: \u0027utf-8\u0027 codec can\u0027t decode byte 0xbb in position 338: invalid start byte\n```\n\n`//tests/mappings:utf8_manifest_test`:\n```\nFile \"tests\\mappings\\manifest_test_lib.py\", line 39, in assertManifestsMatch\n  got \u003d json.loads(g_fp.read())\nUnicodeDecodeError: \u0027utf-8\u0027 codec can\u0027t decode byte 0xbb in position 354: invalid start byte\n```\n\nSince the manifest is plain JSON, the fix simply consists in detecting\nwhether the second byte is `0`, where the default UTF-8 decoding would\nfail, in which case we assume the file is UTF-16LE-encoded.\n\nThe code is slightly reorganized to factor out the encoding selection.\n\nThis allows to enable `//tests/mappings:utf8_manifest_test` and\n`//tests/zip:unicode_test` tests in Windows CI.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c1e3b5e92cf53e89031f196e6b576bbf9a292b1b",
      "old_mode": 33188,
      "old_path": ".bazelci/tests.yml",
      "new_id": "ee4649a3e0c39b2f143c764713c908cc65a22fdd",
      "new_mode": 33188,
      "new_path": ".bazelci/tests.yml"
    },
    {
      "type": "modify",
      "old_id": "1eef01656fe1d8812c94be7f39fede8d97d09a0c",
      "old_mode": 33188,
      "old_path": "pkg/private/install.py.tpl",
      "new_id": "447f7af85f6792328f138b2de389a8971e80d82c",
      "new_mode": 33188,
      "new_path": "pkg/private/install.py.tpl"
    },
    {
      "type": "modify",
      "old_id": "d3b91859d9302a1e901a5a171960f2433f92ac04",
      "old_mode": 33188,
      "old_path": "pkg/private/manifest.py",
      "new_id": "8d2a87c0a74b3bc210e0143490b5972a5744676e",
      "new_mode": 33188,
      "new_path": "pkg/private/manifest.py"
    },
    {
      "type": "modify",
      "old_id": "5fd5bcf5e89d59f55c2b82fc01124750398fc7db",
      "old_mode": 33188,
      "old_path": "pkg/private/tar/build_tar.py",
      "new_id": "1810207377e74e54fe10c88f1bc1fa41e76546b9",
      "new_mode": 33188,
      "new_path": "pkg/private/tar/build_tar.py"
    },
    {
      "type": "modify",
      "old_id": "0ca1ed33bc46c7e6573744dc8c0b410b4874a0b0",
      "old_mode": 33188,
      "old_path": "pkg/private/zip/build_zip.py",
      "new_id": "53af08cc544da1c4efe8a0468048de8dbc194eab",
      "new_mode": 33188,
      "new_path": "pkg/private/zip/build_zip.py"
    },
    {
      "type": "modify",
      "old_id": "2169105e95af2760729fc1cbf45fc82c3095720b",
      "old_mode": 33188,
      "old_path": "tests/install/test.py",
      "new_id": "bf814857d49204093e436ea2a0e958d7095029b4",
      "new_mode": 33188,
      "new_path": "tests/install/test.py"
    },
    {
      "type": "modify",
      "old_id": "b668439cf36d91d665af8da9ca1f69bbddd38d4c",
      "old_mode": 33188,
      "old_path": "tests/mappings/manifest_test_lib.py",
      "new_id": "7e6c7b7907a904f5940c0705144e04aa5dbe460f",
      "new_mode": 33188,
      "new_path": "tests/mappings/manifest_test_lib.py"
    }
  ]
}
