eventcore-fs: ADR-0046: read-time fsck + dangling-transaction handling #393
Labels
No labels
adr
automated
bug
chore
dependencies
documentation
enhancement
epic
github-actions
P1-high
P2-medium
P3-low
release
research
rust
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/eventcore#393
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to PR #390 (eventcore-fs file backend). Covers the remaining git
robustness from ADR-0046.
Context
PR #390 wrote
.gitignoreand a defensive.gitattributes events/** merge=union.Two robustness pieces remain: tamper/edit detection, and tolerating a partial or
aborted
git merge.Scope
recorded content-hash anchor in its header.
merge=unionprotects theadditive case but can mask an illegal edit of a JSONL file; the fsck catches
that loudly. (May require adding the anchor to the header — note the format is
immutable, so decide whether this is a v2 header field for new files.)
parent_transaction_idsreference files not present (a half-merged/aborted
git merge) must bereported as a
DanglingTransactionviastatus(), never crash and neversilently drop. Linearization must remain robust to missing parents.
Acceptance
status()reports the dangling transaction; reads do not panic.
References: ADR-0046, PR #390.