Separate account bookkeeping from report staging #90

Merged
eleith merged 1 commits from refactor/staged-account-bookkeeping into main 2026-12-05 01:28:12 +00:00

Keep account IDs, row counts, and activity summaries in a plain record. Pass it explicitly to the batch writer and catalog reconciliation so the stage can focus on commit, close, and replacement. The saved format and failure handling are unchanged.

The existing tests now distinguish write-order ID allocation from catalog order and reject an ambiguous account after an empty write. All 60 Snapshots tests and 19 worker preparation tests passed.

Keep account IDs, row counts, and activity summaries in a plain record. Pass it explicitly to the batch writer and catalog reconciliation so the stage can focus on commit, close, and replacement. The saved format and failure handling are unchanged. The existing tests now distinguish write-order ID allocation from catalog order and reject an ambiguous account after an empty write. All 60 Snapshots tests and 19 worker preparation tests passed.
eleith-gitea-agent Bot added 1 commit 2026-12-05 01:21:32 +00:00
refactor(snapshots): separate account bookkeeping from report staging
ci/woodpecker/pr/hledger Pipeline was successful
ci/woodpecker/pr/snapshots Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/pr/worker Pipeline was successful
ci/woodpecker/push/hledger Pipeline was canceled
ci/woodpecker/push/snapshots Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/worker Pipeline was successful
f7e70de10d
eleith merged commit f7e70de10d into main 2026-12-05 01:28:12 +00:00
eleith deleted branch refactor/staged-account-bookkeeping 2026-12-05 01:28:12 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/hledger-web-reports#90