Overview
| Artifact ID: | 3dbd75a8c9b6f7da158fbdefd6bbf646d75cbc6d3b50f5987032c67827f9b9d3 |
|---|---|
| Ticket: | b93ebb1e80c40731f569ff83fd5e298b69ff5eef
Corpus parity check belongs in CI |
| User & Date: | dmestas on 2026-08-16 19:46:24 |
Changes
- comment changed 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.
- status changed to: "Open"
- title changed to: "Corpus parity check belongs in CI"
- type changed to: "Testing"