)]}'
{
  "commit": "91704e77e0eed4f6ce51447e14512e5e280c7c0d",
  "tree": "31f8f30dd60a8ddda739c8653309911151d09a7b",
  "parents": [
    "0e511b3aa1e6af4f6eaf98838db22801466af7b9"
  ],
  "author": {
    "name": "Sebastian Ullrich",
    "email": "sebasti@nullri.ch",
    "time": "Fri Nov 27 10:06:30 2026 +0000"
  },
  "committer": {
    "name": "Sebastian Ullrich",
    "email": "sebasti@nullri.ch",
    "time": "Fri Nov 27 10:06:30 2026 +0000"
  },
  "message": "fix: release the buffer when reading an `.olean` file fails\n\nThis PR makes `CompactedRegion.read` release the file mapping when it rejects a file after loading it, e.g. because the file is truncated. Previously the mapping stayed alive, which on Windows prevented the file from being overwritten or deleted afterwards.\n\nThe unmap/free logic of `lean_compacted_region_free` moves into `release_region_buffer`, which `lean_compacted_region_read` now also calls when the framing checks or `region_reader::read` throw. The `olean_truncated` test additionally frees successfully read regions so that it can keep overwriting its file on Windows.\n\nCo-Authored-By: Claude Fable 5.2 \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6f1362b97f4fe2ef4d88bbedc37757e5acfe4cca",
      "old_mode": 33188,
      "old_path": "src/library/module.cpp",
      "new_id": "30e19ca76c132b37de0329a60f08de5c5e0010d4",
      "new_mode": 33188,
      "new_path": "src/library/module.cpp"
    },
    {
      "type": "modify",
      "old_id": "4b2490bf7389bed8712fe135031517d6444d51b9",
      "old_mode": 33188,
      "old_path": "tests/compile/olean_truncated.lean",
      "new_id": "a3e6c029335011c4617a0d130d28b514ef75bbc6",
      "new_mode": 33188,
      "new_path": "tests/compile/olean_truncated.lean"
    }
  ]
}
