Artifact cf2fa07da879f48c8e153b64ce18df0940e61486418d1b1d53a3bf1363bef590:
- File
internal/repo/verify_test.go
-
2026-10-21 18:45:52
— part of check-in
[6f269e32a9]
on branch feat/submanifest-reader
— fix(repo): verify with one sweep down the delta forest
Repo.Verify expanded every non-phantom blob on its own with content.Verify. Each expansion re-applies the blob's whole delta chain, so the cost grows with the square of chain length. On a clone of fossil-scm.org's repository (67,894 blobs, chains averaging 532 deltas and reaching 2,546) repo verify took 49 minutes of CPU on both main and this branch, against six and a half minutes for fossil test-integrity.
content.ExpandAll already walks the delta forest from its roots and applies each delta once, binding every result to its name; internal/verify uses it. Verify now goes through it, with the same blob selection (size >= 0), and names the failing rid in its error. The same clone verifies in 19 seconds. (user: [email protected], size: 1778) [annotate] [blame] [check-ins using]
-
2026-10-21 21:20:46
— part of check-in
[7244496a09]
on branch main
— Merge pull request #437 from danmestas/feat/submanifest-reader
feat: sub-manifest trees and sparse cones (draft-fossil-submanifests-00, draft-fossil-sparse-cone-00) (user: [email protected], size: 1778) [annotate] [blame] [check-ins using]
-
2026-10-21 18:45:52
— part of check-in
[6f269e32a9]
on branch feat/submanifest-reader
— fix(repo): verify with one sweep down the delta forest