close #66
Message
close #66
Diff
.forge/issues/f06329e9-7e81-41f8-acf2-a48baf70cdcd/comments/c103d1da-2f52-434a-ba03-1df1a8afe0ba.md+6 −0
--- /dev/null+++ b/.forge/issues/f06329e9-7e81-41f8-acf2-a48baf70cdcd/comments/c103d1da-2f52-434a-ba03-1df1a8afe0ba.md@@ -0,0 +1,6 @@1+---2+id: c103d1da-2f52-434a-ba03-1df1a8afe0ba3+author: null4+created: 2026-10-27T15:41:26.874656833Z5+---6+Fixed in 68873a40: blob_size() decides before reading; blobs > 8 MiB stream via show_to_file() to raw/ and page as a placeholder; README candidates capped at 1 MiB. tests/large_blob.rs builds a 12 MiB blob and asserts the page stays small.
.forge/issues/f06329e9-7e81-41f8-acf2-a48baf70cdcd/issue.md+2 −2
--- a/.forge/issues/f06329e9-7e81-41f8-acf2-a48baf70cdcd/issue.md+++ b/.forge/issues/f06329e9-7e81-41f8-acf2-a48baf70cdcd/issue.md@@ -1,13 +1,13 @@11 ---22 id: f06329e9-7e81-41f8-acf2-a48baf70cdcd33 title: 'build aborts (allocator) on large blobs: every file is read fully into memory'4-state: open4+state: closed55 labels:66 - robustness77 assignees: []88 milestone: null99 created: 2026-10-27T14:54:10.641778270Z10-updated: null10+updated: 2026-10-27T15:41:26.855301643Z1111 ---1212 `build` reads every blob fully into memory (`gitx::show` → `run_git` → `Vec<u8>`), regardless of size. `PREVIEW_MAX_BYTES` (256 KiB) only decides whether the *page* renders a preview — the bytes were already in RAM.1313