Development record
The filing-time match reads an unreadable open/ or resolved/ ledger directory as an empty candidate set: capture/match.go matchCandidates discards scanLedger's result for the directory, and scanLedger treats any ReadDir error as an absent ledger, so a capture or intent create reports 'compared N' or 'no record to compare' instead of the unread outcome the intent store's own failure takes. The same absent-or-unreadable conflation makes capture list and capture status count an unreadable status directory as zero records with nothing in the skipped roster.
issueresolvedminoriss-2609261631120364
The filing-time match reads an unreadable open/ or resolved/ ledger directory as an empty candidate set: capture/match.go matchCandidates discards scanLedger's result for the directory, and scanLedger treats any ReadDir error as an absent ledger, so a capture or intent create reports 'compared N' or 'no record to compare' instead of the unread outcome the intent store's own failure takes. The same absent-or-unreadable conflation makes capture list and capture status count an unreadable status directory as zero records with nothing in the skipped roster.
Grounds
- pursued: a capture with resolved/ at mode 000 reports the match as unread and links nothing, and list and status carry one read-layer skip naming the directory; TestMatchReportsAnUnreadableStatusDirectoryAsUnread, TestListAndStatusReportAnUnreadableStatusDirectory and TestAScopedListNamesAnUnreadableOpenDirectory would fail if the directory read as empty again
Frontmatter
| id | iss-2609261631120364 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609261631120364-match-unreadable-ledger-dir-reads-as.md
open on GitHub ↗ · commit history ↗