feat: implement transactional wrappers around room joins and other key code blocks writing to the database #1455

Closed
gamesguru wants to merge 1 commit from gamesguru/continuwuity:guru/experiment/rocksdb-transactional-wrappers into main

1 commit

Author SHA1 Message Date
7d5dcd0e4d
feat: implement transactional wrappers around room joins and other key code blocks writing to the database
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been cancelled
Checks / Prek / Pre-commit & Formatting (pull_request) Has been cancelled
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
Update flake hashes / update-flake-hashes (pull_request) Has been cancelled
edits in join.rs to support better transactions

add a test to ensure the database nested transaction panic works as expected

add news fragment

-------------------------------------------

revamp transactions to handle read locks better

add dedicated closure mechanism for transaction batches

fix: apply db transaction wrappers to /leave endpoint

better handling of global context
better syntax/scoping/commits
handle fallthrough (leave fallback) cases and nullity better
hardened db txn panics/logging, optimize presence sync queries, expand lifecycle tests

refactor `presence_since()` and other small tidy ups
update function sigs/calls, and add more rollback tests
enhance failure logging/error reporting

add tests and fixes for closures, rollbacks, and nested panic
2026-03-15 23:34:11 -04:00