Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
adc0788
fix(account_set): activate eventually_consistent flag for async balan…
bodymindarts Apr 1, 2026
d8208c9
fix(balance): use entry_id watermark for incremental recalculation
bodymindarts Apr 1, 2026
323980d
fix(balance): use ORDER BY DESC LIMIT 1 instead of MAX() on UUID
bodymindarts Apr 1, 2026
ac064a0
refactor(balance): convert account set queries to compile-time verified
bodymindarts Apr 1, 2026
7fb3198
fix(account_set): update EC set balances on member add/remove
bodymindarts Apr 1, 2026
c3dda05
refactor(balance): derive watermark from loaded snapshots
bodymindarts Apr 1, 2026
90cdc07
refactor(balance): stop returning watermark from load_account_set_bal…
bodymindarts Apr 1, 2026
737dd10
docs(balance): document UUID v7 invariant for single-watermark correc…
bodymindarts Apr 1, 2026
eaee830
refactor(balance): pass EntryId directly to sqlx instead of convertin…
bodymindarts Apr 1, 2026
e8af64c
test(balance): add unit tests for replay_member_deltas
bodymindarts Apr 1, 2026
c5de875
refactor(balance): replace entry_id watermark with BIGSERIAL seq
bodymindarts Apr 1, 2026
8a9c93d
feat(balance): add batch recalculation for account sets with shared m…
bodymindarts Apr 1, 2026
9c35b6e
refactor(balance): proxy single-set recalculate through batch path
bodymindarts Apr 1, 2026
3514bb1
feat(account_set): add deep/transitive recalculation for account set …
bodymindarts Apr 1, 2026
c86d941
fix(test): use exclusive members to avoid MemberAlreadyAdded in batch…
bodymindarts Apr 1, 2026
ffc39be
refactor(account_set): use HashSet for O(1) dedup in deep recalculation
bodymindarts Apr 1, 2026
fb40faf
feat(perf): add EC account set benchmarks
bodymindarts Apr 1, 2026
a3a753a
chore(sqlx): update .sqlx cache for new account set queries
bodymindarts Apr 2, 2026
db38e87
chore: delete <root>/.sqlx
bodymindarts Apr 2, 2026
7f55a64
fix(perf): make batch recalculate benchmark a fair comparison
bodymindarts Apr 2, 2026
7bf40eb
fix(account_set): use transactional account lookup in add/remove member
bodymindarts Apr 2, 2026
f827c15
feat(balance): add effective balance recalculation for EC account sets
bodymindarts Apr 2, 2026
9d829a1
chore(migrations): inline balance_history seq into ledger_setup
bodymindarts Apr 2, 2026
b6087bc
fix(balance): use two-phase fetch for incremental effective recalcula…
bodymindarts Apr 2, 2026
bafc00c
chore(sqlx): update .sqlx cache for effective balance queries
bodymindarts Apr 2, 2026
9b76694
chore(sqlx): move cache to cala-ledger/.sqlx and remove root .sqlx
bodymindarts Apr 2, 2026
2304d5b
feat(account-set): add API for listing eventually consistent account …
HonestMajority Apr 7, 2026
253f6b9
feat(account-set)!: paginate list_eventually_consistent_ids
HonestMajority Apr 7, 2026
fe88831
refactor(balance): replace load_latest_before tuple with named struct
HonestMajority Apr 7, 2026
e2703b7
fix(perf): benchmark #10 should call recalculate_balances per-set
HonestMajority Apr 7, 2026
ad889a0
fix(balance): close EC recalc <-> poster watermark race
HonestMajority Apr 7, 2026
ca01e65
test(balance): add hierarchical EC recalc race test
HonestMajority Apr 8, 2026
262a20b
fix(account-set)!: refuse member changes when member has history
HonestMajority Apr 9, 2026
faf1419
fix(account-set)!: reject recalculate_balances on non-EC sets
HonestMajority Apr 9, 2026
45ee3e2
fix(balance)!: take SHARED on parent, not EXCL, in member history check
HonestMajority Apr 9, 2026
0d7e524
fix(balance): sort lock_accounts_exclusive_in_op input for canonical …
HonestMajority Apr 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

Loading
Loading