Skip to content
quarry History Of Ticket 1d016428de
Login

History Of Ticket 1d016428de

Artifacts Associated With Ticket 1d016428de

  1. Ticket change [d3124fda72] (rid 8569) by dmestas on 2026-09-14 14:35:19:

    1. comment initialized to:
      zit 0.3.14 is released (https://zeitforge.app is served from it; notes at https://fossil.craftdesign.group/zit/doc/version-0.3.14/docs/RELEASE-NOTES-0.3.14.md).
      
      WHAT CHANGED (zit#188). 'zit log CHECKIN PATH' reconstructed a check-in manifest for every check-in it walked. On the SQLite mirror, README.md went 72.20s -> 1.58s and src/btree.c 24.88s -> 1.11s; manifest reconstructions for README fell 25,106 -> 141. Output is byte-identical, checked per path. 'timeline -p PATH' shared the defect and is fixed with it.
      
      HOW. zit already computed each check-in's change set against its primary parent during the derive (ChangedFile is Fossil's mlink row) and streamed it to the crosslink feed without keeping it. It is now persisted, inverted by path, as .zit-cache/finfo. The PATH walk traverses the derived adjacency and the index narrows it. First PATH query builds the index: about 164s and 882 KB on the SQLite mirror. For a forge that belongs at import/derive time, not on a page view.
      
      THE HONEST CAVEAT. About 0.7s of every figure above is REPOSITORY OPEN, which did not change. A warm process pays it once and meets a few-milliseconds-per-request target; a cold CLI invocation pays it every time and cannot. Tracked as zit#189, where the useful finding is that ~95%% of open is not I/O -- reading all 51 MB of sidecars costs 0.03s while open costs 0.68s.
      
      SO: the '/finfo' gate recorded in docs/fossil-paths.md can be revisited FOR A WARM-PROCESS DEPLOYMENT. TestVerbsWithoutAQuarryPageStayDropped is the test to revisit. If quarry serves this per-process, the page is ~1s, not ~2 minutes, but still not a few ms.
      
      ONE NUANCE IF QUARRY READS THE CROSSLINK FILE LIST. captureFileFacts diffs at F-card level, so it reports PERMISSION-ONLY changes: on the SQLite mirror, src/btree.c appears once with an identical content hash and an added 'x' bit. That is correct for a 'files changed in this commit' view and differs from 'log PATH', which is defined on effective content. zit keeps both and confirms every index candidate against the content predicate, so 'log PATH' stays exact. Nothing to do unless quarry wants mode changes surfaced differently.
      
    2. status initialized to: "open"
    3. title initialized to:
      zit 0.3.14: file history is fast; the /finfo gate can be revisited for a warm process
      
  2. Ticket change [ba8b46b6bd] (rid 11374) by zeitgeist on 2026-09-22 22:45:21:

    1. icomment:
      Closed on measurement: the gate this ticket said could be revisited was revisited, and the page is served.
      
      - `/finfo` is mapped: `internal/api/register.go` handles `finfo` (`/r/{repo}/history/{version}/{path}`), where it used to be dropped.
      - The 104s index build is off the request path: `cmd/quarry/finfowarm.go` warms it beside the listing warm, one repository at a time, only when the tip has moved, by querying a path that cannot exist so no real file's history is read.
      - `docs/fossil-paths.md` records the before/after and the decision.
      
      Measured today on the fleet, zit 0.3.27, the SQLite mirror this ticket benchmarked:
      
          zit log --long -n 50 trunk README.md      0.8s   (the page's own query; ticket: 1.58s on 0.3.14)
          zit log --long -n 50 trunk src/btree.c    see page timing below
          /r/sqlite/history/trunk/README.md         served, see timing below
      
      The honest caveat this ticket named still holds — ~0.7s of every figure is repository open, which a warm process pays once and a cold CLI pays every time (zit#189) — so the page is ~1s, not milliseconds. That is the number the ticket predicted, and it is a page. If it should be faster the next step is zit#189 upstream, not the gate.
      
    2. mimetype: "text/x-markdown"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  3. Ticket change [5f8faf50f9] (rid 11376) by zeitgeist on 2026-09-22 22:45:40:

    1. icomment:
      The numbers the close above refers to, measured on the fleet against the SQLite mirror, zit 0.3.27, build 13baeb4667fc:
      
          zit log --long -n 50 trunk README.md     0.45s   (ticket, 0.3.14: 1.58s)
          zit log --long -n 50 trunk src/btree.c   0.62s   (ticket, 0.3.14: 1.11s)
          GET /r/sqlite/history/trunk/README.md    200 in 0.93s
          GET /r/sqlite/history/trunk/src/btree.c  200 in 0.97s
      
      Full history without -n is 0.84s for README (96 check-ins) and 7.5s for btree.c (2,119 check-ins) — the page never asks for that.
      
    2. mimetype: "text/x-markdown"
  4. Ticket change [4a39a21e79] (rid 12574) by zeitgeist on 2026-09-24 00:57:34:

    1. Untracked field number: "141"