)]}'
{
  "commit": "bb1f614e408dc4503653bebcbbafaa2240c4b61e",
  "tree": "c4ee58343b4b160f701cf8dd42b9cabdff31d23b",
  "parents": [
    "7c5f58818574279e8e53e29337467763e938ef35"
  ],
  "author": {
    "name": "Sebastian Ullrich",
    "email": "sebasti@nullri.ch",
    "time": "Mon Nov 09 15:37:52 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Nov 09 15:37:52 2026 +0000"
  },
  "message": "fix: report allocation failure when loading an `.olean` after `mmap` fails (#16349)\n\nThis PR improves the error message when Lean fails to load a .olean\nbecause of e.g. the memory mapping limit on Linux.\n\nWhen mapping an `.olean` fails, `lean_compacted_region_read` falls back\nto `malloc` but never checked its result, so hitting the memory mapping\nlimit surfaced as a generic \"failed to read file\" error. Now a failed\n`malloc` reports the size and the `mmap` error, and on Linux an `ENOMEM`\nfrom `mmap` points at `vm.max_map_count`. Read failures also include\n`strerror`.\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e86b9f199ada6b8365530f67782c296274358798",
      "old_mode": 33188,
      "old_path": "src/library/module.cpp",
      "new_id": "3bc0dde6f1adcb367fcc9ea2c2e8880fdeed9c91",
      "new_mode": 33188,
      "new_path": "src/library/module.cpp"
    }
  ]
}
