eda: dispatch and match ledger rows outlive their binding or mapping #1329

Open
opened 2026-10-27 13:39:57 +00:00 by sam · 0 comments
Owner

binding_dispatches and mapping_matches rows are never deleted when a binding or mapping is removed, so the ledgers grow without bound. Delete them with their owner (FK cascade or the same transaction). Done when removing a binding or mapping leaves no ledger rows for it.


Imported from beads archie-core-g3y8k · GitHub #1625 · type bug · priority P3 · created 2026-10-11

binding_dispatches and mapping_matches rows are never deleted when a binding or mapping is removed, so the ledgers grow without bound. Delete them with their owner (FK cascade or the same transaction). Done when removing a binding or mapping leaves no ledger rows for it. --- _Imported from beads `archie-core-g3y8k` · GitHub #1625 · type bug · priority P3 · created 2026-10-11_
sam added the lowbug labels 2026-10-27 13:39:57 +00:00
sam self-assigned this 2026-10-27 13:39:57 +00:00
sam added the deferred label 2026-11-15 17:26:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1329