Overview
| Comment: | Warm the derivation cache at clone-end so the first read isn't a cold derive: runClone now calls Repository.warmCache after the final log append, which runs open's own miss path (derive → serialize the zero-parse image → store .zit-cache) so the first leaves/branch/name-resolution read takes the image fast path. Measured on a real clone: cold first-read leaves 26.0s → 0.03s, byte-identical. Best-effort — a warm failure leaves the clone correct with the old lazy first-read, never fails the clone (repostate §7.3 rebuild fallback). |
|---|---|
| Timelines: | family | ancestors | descendants | both | eager-image |
| Files: | files | file ages | folders |
| SHA3-256: |
85d8080ec8a8381cf5fa98b83faa0709 |
| User & Date: | dmestas on 2026-07-17 02:52:31.984 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-07-17
| ||
| 02:55 | Merge eager-image: warm the derivation cache at clone-end so the first read after a clone is the zero-parse image path (cold first-read leaves 26s → 0.03s), best-effort and clone-only. check-in: bf8b63f32c user: dmestas tags: trunk | |
| 02:52 | Warm the derivation cache at clone-end so the first read isn't a cold derive: runClone now calls Repository.warmCache after the final log append, which runs open's own miss path (derive → serialize the zero-parse image → store .zit-cache) so the first leaves/branch/name-resolution read takes the image fast path. Measured on a real clone: cold first-read leaves 26.0s → 0.03s, byte-identical. Best-effort — a warm failure leaves the clone correct with the old lazy first-read, never fails the clone (repostate §7.3 rebuild fallback). closed check-in: 85d8080ec8 user: dmestas tags: eager-image | |
| 02:27 | Create new branch named "eager-image" check-in: 5b2ba7331c user: dmestas tags: eager-image | |
Changes
Modified src/main.zig
from [5ddbb6cdd5]
to [6fac891f9a].
[diff]
Modified src/repository.zig
from [83be1678bb]
to [7f925277bf].
[diff]
Modified src/repository_test.zig
from [c0e2093497]
to [8cc334f640].
[diff]