timedout
e16a62e1ed
feat: Add more debug logging to PDU handle funcs
...
Tracking down weird soft-fails
2026-07-11 17:27:42 +01:00
timedout
64a08262ca
perf: Change signature of build_local_dag to remove refmap hacks
2026-07-11 17:27:42 +01:00
timedout
70a3905761
style: Remove duplicate pdu check 1 call in handle_incoming_pdu
2026-07-11 17:27:42 +01:00
timedout
cf9179e8f6
fix: Perform checks 1-3 on auth chain PDUs
2026-07-11 17:27:42 +01:00
timedout
6b899b7f80
refactor: Move PDU checks 1, 2, and 3 into pdu_checks.rs
2026-07-11 17:27:42 +01:00
timedout
ad57fa06fc
style: Unify and document state_before_incoming
2026-07-11 17:27:42 +01:00
timedout
ec9efbada5
fix: Don't reject auth events when they're innocent in auth chain response
2026-07-11 17:27:42 +01:00
timedout
318d2b205a
style: Move PDU check functions into their own module
2026-07-11 17:27:42 +01:00
timedout
99a5f2a9fb
refactor: Reduce complexity of incoming PDU handling
...
* Ignores any events pushed without a room ID
* Removes needless clones for PDU size checking
* Removes incorrect ACL check in incoming handler
* Fast-path handling already handled outlier events
* Remove redundant same-room checks, replace with useful ones
* Combine event rejection and persistence in a single function
* Additional safety assertions in upgrade task
* Split upgrade task into multiple subroutines for reduced cognitive complexity
* Only mutate current state and forward extremities in tandem
* Improve code documentation to better explain the logic flow
2026-07-11 17:27:42 +01:00
timedout
b915692ae1
fix: Remove broken federated invite revoke handling
...
It turns out it never worked in the first place :D
2026-07-10 16:32:38 +01:00
Ginger
2fabf18451
style: Fix comment
2026-07-09 17:36:56 -04:00
Ginger
63a26141f8
fix: Make depth cap a bit more thorough
2026-07-09 17:33:13 -04:00
Ginger
cc1f667c2b
fix: Cap max_depth to 50 in hierarchy endpoint
2026-07-09 17:22:36 -04:00
timedout
f9b532162f
fix: SEC20
...
Reviewed-By: Ginger <ginger@gingershaped.computer >
2026-07-09 17:58:59 +01:00
Ginger
3467dffd94
fix: Adjust sync watcher logic to be more explicit
2026-07-05 00:42:44 +00:00
Ginger
69163b5391
refactor: Split remote and deactivated users into their own columns
2026-07-02 16:24:07 -04:00
Jade Ellis
eee4ef50d2
chore: merge 1818 nex/perf/get-missing-events
2026-07-01 18:45:08 +00:00
timedout
62e0b53f52
feat: Prioritise sending dummy events when the extremity count reaches 20 or more
2026-07-01 19:15:35 +01:00
timedout
9b80a99aa7
style: De-duplicate build_local_dag definitions, replace outdated comment on unwrap safety
2026-07-01 19:15:22 +01:00
timedout
bd525c100f
style: Re-use room_id parameter instead of potentially recalculating
2026-07-01 16:31:59 +01:00
timedout
e6225f3265
fix: Use infallible room ID getter
2026-07-01 16:13:55 +01:00
Charlotte 🦝 Deleńkec
54c94ca9ad
fix(appservice): Re-add room membership conditions for event sending
...
They accidentally got removed in a recent refactor
Fixes #1890
2026-07-01 10:20:57 +01:00
timedout
19a83c6891
style: Add docstrings to squasher functions
2026-06-29 18:37:04 +01:00
timedout
2bfd678c71
feat: Add jitter to extremity squasher
2026-06-29 18:29:04 +01:00
timedout
e936d18324
feat: Don't panic in build_local_dag
...
Previously the function assumed the caller had performed proper validation on the inputs (and all current callers do), but this is a poor reason to panic when sane error handling is available.
Events with no prev events now return an error, and prev events which are illegal are simply skipped.
2026-06-29 18:12:16 +01:00
timedout
90797fa3cd
fix: Avoid string roundtrip when fetching timestamps in build_local_dag
2026-06-29 17:44:13 +01:00
Jade Ellis
5199cde870
feat: Allow sending dummy events to clients
2026-06-28 03:44:23 +01:00
Jade Ellis
b6bc7dfc16
feat: Debounce extremity squashing
...
Additionaly circuit-breaks it if the squash would have only
b triggered by dummy events / other squashes
2026-06-28 01:29:52 +01:00
Jade Ellis
945ea5a78a
chore: Box large futures
2026-06-28 01:29:52 +01:00
timedout
d719fe2048
chore: Merge origin/main into nex/perf/get-missing-events
2026-06-28 01:29:23 +01:00
timedout
124241238e
refactor: Rename "synapse"-related federation methods to "slow"
...
I won't even comment on how stupid that naming was.
2026-06-27 18:37:33 +01:00
timedout
967e2cc54f
refactor: Split the users service into several modules
...
Also resolvers several lints, including needless async on create_user
2026-06-27 18:37:33 +01:00
timedout
77dab8fd20
style: Document & refactor rooms/alias service
2026-06-27 18:36:44 +01:00
timedout
10b5ca8e3a
style: Document & refactor rooms/directory service
2026-06-27 18:36:44 +01:00
timedout
f9eed42cb7
style: Document & refactor rooms/directory service
2026-06-27 18:36:44 +01:00
timedout
19f4c24c00
style: Document & refactor rooms/event_handler service
2026-06-27 18:36:44 +01:00
timedout
0a162b7bc4
style: Document & refactor rooms/lazy_loading service
2026-06-27 18:36:44 +01:00
timedout
0d1b130127
style: Document & refactor rooms/metadata service
2026-06-27 18:36:44 +01:00
timedout
5e0e82e7e8
style: Document & refactor rooms/outlier service
2026-06-27 18:36:44 +01:00
timedout
4bf0816bcc
style: Document & refactor rooms/search service
2026-06-27 18:36:44 +01:00
timedout
ecbe035b36
style: Document & refactor rooms/short service
2026-06-27 18:36:44 +01:00
timedout
4d30ee5d33
style: Document & refactor rooms/state_accessor service
2026-06-27 18:36:44 +01:00
timedout
4844c6ae3e
style: Document & refactor rooms/state_cache service
2026-06-27 18:36:44 +01:00
timedout
6603798d60
style: Document & refactor rooms/state_compressor service
2026-06-27 18:36:44 +01:00
timedout
199f6eb67b
style: Document & refactor rooms/user and rooms/timeline services
2026-06-27 18:36:44 +01:00
timedout
3b6858e936
perf: Throttle dummy events to prevent stampeding
2026-06-23 15:26:28 +01:00
timedout
7ca00e4ab9
chore: Drop unused param from handle_outlier_pdu
2026-06-20 17:08:00 +01:00
timedout
b8ca06029f
perf: Use a hashmap for full-state filtering
2026-06-20 17:08:00 +01:00
timedout
2efe8f2ec0
fix: Inverted power level check in extremity squash
2026-06-20 17:08:00 +01:00
timedout
d1aa911739
fix: Rename variables in auth event fetcher
...
Also fixes a couple bugs where events were being misattributed
2026-06-20 17:08:00 +01:00