Skip to content
quarry History Of Ticket 0c8654f83c
Login

History Of Ticket 0c8654f83c

Artifacts Associated With Ticket 0c8654f83c

  1. Ticket change [550e7bcabd] (rid 2245) by ai-local on 2026-08-23 21:38:21:

    1. Untracked field cmimetype: "text/x-markdown"
    2. comment initialized to:
      zit#132: `zit ls <check-in>` returns ZERO files on a large sub-manifest store, after ~5 minutes, where the equivalent flat store returns 68,568. quarry calls Ls in five places, and every one of them would render that empty answer as truth:
      
      - internal/api/register.go:4188 — archive contents
      - internal/api/register.go:5419 — a ROOT check-in's diff, where the whole file set IS the change
      - internal/api/register.go:5485 — file listing at a version
      - internal/api/register.go:5664 — the same for a check-in
      - cmd/quarry/main.go:1456
      
      The exposure is the standing invariant, not the upstream bug: an empty file list reads as "this check-in has no files", which is a statement quarry would be making without having been told it. "Could not read the manifest" and "there is nothing here" are different facts and currently render identically.
      
      Two things worth doing regardless of when 132 is fixed, because a slow or partial store read is not unique to that bug:
      
      1. **Distinguish empty from unread.** Ls returning no rows for a check-in the index says has files is a disagreement between two readers of the same store — exactly the condition RFC 0001 says to surface rather than paper over. The page should say the manifest could not be read.
      2. **Bound the wait.** Five minutes on a page request is not a page. Ls needs a deadline, and exceeding it is the same "unread" state as above.
      
      Blocked on nothing: both are quarry-side. The upstream fix removes the trigger; these remove the class.
      
    3. severity initialized to: "Important"
    4. status initialized to: "Open"
    5. subsystem initialized to: "api"
    6. title initialized to:
      an unreadable manifest must not render as an empty file list
      
    7. type initialized to: "Code_Defect"
  2. Ticket change [6b2ae0d820] (rid 3279) by dmestas on 2026-08-28 11:54:19:

    1. comment changed to:
      Closing: the cause is fixed upstream. This was filed against zit#132 (ls returning zero files on a large sub-manifest store), which is now CLOSED, so the empty answer this guarded against no longer arrives.
      
      The defensive guard across the five Ls call sites was never added. That is deliberate rather than forgotten — with the upstream fixed there is no known path that produces the empty answer, and a guard against a hypothetical would be checking every listing forever for a bug that no longer exists. If some other cause ever makes Ls return empty, this is the ticket to reopen.
      
    2. resolution changed to: "Fixed"
    3. status changed to: "Closed"
  3. Ticket change [d574e1c422] (rid 12517) by zeitgeist on 2026-09-24 00:53:58:

    1. Untracked field number: "82"