fix: Don't drop transactions with more than one PDU in a room #1711

Merged
nex merged 5 commits from nex/fix/federation-txn-pdu-sorting into main 2026-04-27 22:15:52 +00:00

5 commits

Author SHA1 Message Date
a0132a236e
style: Clippy conflicts with cargo fmt, apparently
All checks were successful
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 8s
Checks / Prek / Check changed files (pull_request) Successful in 6s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m25s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m33s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 8m34s
2026-04-27 23:15:26 +01:00
6abec29364
style: Use debug assert instead of a normal assert
Some checks failed
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 8s
Checks / Prek / Pre-commit & Formatting (pull_request) Has been cancelled
Checks / Prek / Check changed files (pull_request) Has been cancelled
Documentation / Build and Deploy Documentation (pull_request) Has been cancelled
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
2026-04-27 23:15:05 +01:00
197b489416
style: Simplify build_local_dag return
Some checks failed
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 8s
Checks / Prek / Check changed files (pull_request) Successful in 35s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m15s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 2m38s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 8m30s
2026-04-27 23:01:15 +01:00
3de89df273
feat: Assert that no events were dropped during sorting
Some checks failed
Checks / Prek / Check changed files (pull_request) Successful in 7s
Checks / Changelog / Check changelog is added (pull_request_target) Failing after 34s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 1m20s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m33s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 5m6s
2026-04-27 22:39:41 +01:00
0482bea74d
fix: Don't consider out-of-scope nodes as prev events before sorting incoming events
Some checks failed
Auto Labeler / Apply labels based on changed files (pull_request_target) Successful in 31s
Checks / Prek / Check changed files (pull_request) Successful in 31s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m17s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 1m18s
Checks / Changelog / Check changelog is added (pull_request_target) Failing after 31s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
2026-04-27 22:30:43 +01:00