| Comment: | Merge pull request #500 from danmestas/feat/list-files-in-cone
feat: list a check-in's files in a cone |
|---|---|
| Timelines: | family | ancestors | descendants | both | main | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
e90c972c40e6dd742e8ced3ec72eb4db |
| User & Date: | [email protected] on 2026-10-26 00:01:54.000 |
| Other Links: | branch diff | manifest | tags |
|
2026-10-26
| ||
| 00:11 |
Merge pull request #501 from danmestas/perf/submanifest-node-memo
perf(manifest): memoize parsed sub-manifests by hash check-in: d82fddda6a user: [email protected] tags: main, trunk | |
| 00:02 |
perf(manifest): memoize parsed sub-manifests by hash
draft-fossil-submanifests-00 §7.4: enumeration results SHOULD be cached keyed by artifact name, so a rebuild parses each distinct sub-manifest once. The tree walk's loader now serves a resolved node from, and keeps it in, a new byte-bounded LRU memo on content.Cache (DerivedSized), keyed by the node's hash and charged its bytes, within a quarter of the cache's budget. The existing 32-entry Derived FIFO is sized for a few parsed check-ins; a tree's working set is every distinct node, which would thrash it and evict those check-ins. Only a node that resolved is kept, so a phantom is looked up afresh and fails the walk as before. Depth, cycle and node-count bounds stay per walk. The memo is dropped with Derived on Invalidate and Clear, and the Repo's cache is replaced at every write. Listing a tree that differs from one already read in one leaf now parses its manifest and that leaf; listing every check-in of zit's recorded tree history parses 48 sub-manifests instead of 109. SM-7.4-1 is covered. Tracked in #493. check-in: 94f61db228 user: [email protected] tags: main, trunk | |
| 00:01 |
Merge pull request #500 from danmestas/feat/list-files-in-cone
feat: list a check-in's files in a cone check-in: e90c972c40 user: [email protected] tags: main, trunk | |
|
2026-10-25
| ||
| 23:53 |
feat: list a check-in's files narrowed to a cone
Repo.ListFilesIn passes the public Cone to the enumeration seam as the range predicate (draft-fossil-sparse-cone-00 §4.1). On a tree manifest the walk skips sub-manifests the cone cannot reach (§4.5), so over a sparse store it succeeds where ListFiles fails on an elided node. It reads through the attached content cache, via a new internal manifest.ListFilesFilteredCached. Tracked in #491. check-in: 7156492179 user: [email protected] tags: main, trunk | |
| 23:44 |
Merge pull request #499 from danmestas/ci/race
ci: run the unit suite under -race; give packages 10m check-in: 612977a2d6 user: [email protected] tags: main, trunk | |