Skip to content
quarry History Of Ticket b93ebb1e80c40731f569ff83fd5e298b69ff5eef
Login

History Of Ticket b93ebb1e80c40731f569ff83fd5e298b69ff5eef

Artifacts Associated With Ticket b93ebb1e80c40731f569ff83fd5e298b69ff5eef

  1. Ticket change [3dbd75a8c9] (rid 524) by dmestas on 2026-08-16 19:46:24:

    1. comment initialized to:
      Both data-loss bugs found on 2026-08-16 were silent by construction: an artifact that fails to parse falls back to opaque content, and a dropped stream event simply never folds. Neither surfaced an error. What caught them was comparing quarry's index against fossil's own tables on real corpora — event, ticket, forumpost, attachment.
      
      That comparison currently exists only as ad-hoc sqlite3 queries typed by hand. It should be a test that runs against a checked-in corpus, so a regression in folding or parsing fails a build instead of waiting to be noticed.
      
      Shape: a fixture store (or a small imported fossil repo committed as testdata) plus a test asserting per-kind counts against recorded ground truth. The full sqlite/tcl corpora are too large to commit; libfossil at 17,449 artifacts may be, or a purpose-built fixture carrying one of each awkward artifact — empty C card, empty J value, attachment with a deletion, technote edit.
      
    2. status initialized to: "Open"
    3. title initialized to: "Corpus parity check belongs in CI"
    4. type initialized to: "Testing"
  2. Ticket change [7948d3c79a] (rid 533) by dmestas on 2026-08-16 23:55:18:

    1. comment changed to:
      Landed in 86b84567 as two tests.
      
      TestAwkwardArtifactsSurviveIngest is the portable half: it feeds the shapes that bit us — empty C card, empty J value, empty T value, titled technote, forum post with no N card — through parse AND fold and asserts the row lands. Verified to catch the real bug by reverting the tokenizer fix, which fails all three empty-token cases.
      
      TestCorpusParity is the ground-truth half, comparing a built index against fossil's event/ticket/forumpost/attachment tables. Opt-in via QUARRY_PARITY and QUARRY_PARITY_INDEX, since the corpora are hundreds of megabytes and fossil must be installed. Known differences are enumerated individually with reasons rather than tolerated as a range.
      
      It earned its keep immediately: on its first run against libfossil it flagged 16 wiki pages against fossil's 17. The cause was a wiki-tag-propagation-test tag applied to the FIXMEs artifacts — a tag shaped like a page name, with no artifact carrying that L card. quarry was correct; the ground-truth query cannot tell the two apart, so it is recorded as a known delta.
      
    2. resolution changed to: "Fixed"
    3. status changed to: "Closed"
  3. Ticket change [aa723b3cca] (rid 864) by dmestas on 2026-08-18 18:40:09:

    1. Untracked field cmimetype: "text/x-markdown"
  4. Ticket change [0e157f5d04] (rid 12437) by zeitgeist on 2026-09-24 00:52:38:

    1. Untracked field number: "2"