parsimony/internal/store
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi cfcfd42110 fix(router,store): consume a confirmation token only when its action happened
- store: ConfirmPending claims the row (DELETE ... RETURNING), applies join or leave and commits in one
  transaction; a refusal from check, a database error, a token of another list or a rollback leaves the
  token usable; concurrent confirmations of one token apply exactly once
- store: CreatePending purges pending rows older than the 72 h TTL
- store: IsActiveMember
- router: confirm uses it, the list policy check runs before anything is consumed
- router: +join from a member disabled by bounces sends the confirmation; confirming re-enables it
- tests: purge, refusal, forced database error, other list, expiry, 8 concurrent confirms, whole rejoin flow
- cli test: the create error text changed with the new name rule
2026-11-10 11:54:05 +01:00
..
archive_test.go test: pin the SMTP command named in a relay error, SMTPUTF8 and thread order 2026-11-10 11:42:19 +01:00
m2_test.go fix(router,store): consume a confirmation token only when its action happened 2026-11-10 11:54:05 +01:00
outbox.go fix: keep refused deliveries visible instead of dropping them silently 2026-11-09 20:33:27 +01:00
outbox_test.go test: pin the documented limits and close gaps found by mutation checks 2026-11-09 20:43:41 +01:00
store.go fix(router,store): consume a confirmation token only when its action happened 2026-11-10 11:54:05 +01:00
store_test.go feat(store): list update, delete, listing and member removal 2026-11-09 14:57:13 +01:00