Overview
| Artifact ID: | ee48d5e2a696417dfd1d7b259e90ecc7e2abd7a7553194086cbb0c8143ebe3f2 |
|---|---|
| Ticket: | d725bd29c55ed2320a02ae0142222abca12ecefa
tk: artifacts the store holds are missing from the index and a rebuild does not restore them |
| User & Date: | dmestas on 2026-08-19 15:42:31 |
Changes
- icomment:
Root-caused, and lead 2 was right in an unexpected way: the "missing check-in" is not missing and is not a check-in. `cd4f6a34…` is tkMacOSXEvent.c — a plain C source blob. Check-in `2b9302ce…` (2011-07-18, CVS-conversion era) carries a P card naming that blob as its parent. This is tk's history as written: fossil's own database records the same plink edge at face value and creates no timeline event for the blob, so fossil's timeline draws the same disconnected segment quarry's does. The index was never wrong; the probe's definition of "repairable" was. **Fix (8a96f742):** `lostArtifacts` now parses each probed artifact and counts only those the store holds AS MANIFESTS. Holding the hash is not holding a check-in — a blob parent is the same category as a shunned ancestor: inherent history, not loss. The regression test folds tk's exact shape (a check-in whose parent is a file blob in a real store) and pins lost == 0. **Effects:** tk no longer rebuilds 69,182 artifacts chasing a gap no rebuild can close, no longer reports itself permanently broken on /fleet, and the gap signal is quiet on a healthy boot — so when Gaps is non-zero again it will MEAN loss, which is the whole value of the signal. The timeline's rendering of the 2011 orphan stands, in exact agreement with fossil's.
- mimetype: "text/x-markdown"
- resolution changed to: "Works_As_Designed"
- status changed to: "Fixed"