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
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
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
19f4c24c00
style: Document & refactor rooms/event_handler service
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
timedout
4673282ca1
perf: Don't try to fetch prevs we already fetched
...
graphs are hard
2026-06-20 17:08:00 +01:00
timedout
0c03195aec
fix: Fall back to legacy behaviour when prev events are missed from get_missing_events
2026-06-20 17:08:00 +01:00
timedout
439bc2784d
style: Use more explicit variable names
2026-06-20 17:08:00 +01:00
timedout
689a1ce59b
style: Use user_can_send_message
2026-06-20 17:08:00 +01:00
timedout
c141503ccb
style: Re-use GET_MISSING_EVENTS_MAX_BATCH_SIZE
2026-06-20 17:08:00 +01:00
timedout
ab3be337cb
chore: Reformat
2026-06-20 17:08:00 +01:00
timedout
aa1281a9e0
fix: Prevent arbitrary state injection attack
2026-06-20 17:08:00 +01:00
timedout
115a2e802e
style: Check power levels before attempting to send extremity squashes
...
Solves a problem where the console screams in agony when local users can't send dummy events
2026-06-20 17:08:00 +01:00
timedout
968328d788
perf: Squash weird mutable variable
2026-06-20 17:08:00 +01:00
timedout
f1cde5f323
style: Fix up some TODOs
2026-06-20 17:08:00 +01:00
timedout
832ee8650b
style: Adjust docstrings and dodgy comment
2026-06-20 17:08:00 +01:00
timedout
ddb4ef539f
fix: un-forget how streams work
2026-06-20 17:08:00 +01:00
timedout
3faedc4581
perf: Remove huge clone and tackle TODOs
2026-06-20 17:08:00 +01:00
timedout
a3544353ba
feat: Automatically squash extremities when they exceed a threshold
...
Attempts to tackle #1844
2026-06-20 17:08:00 +01:00
timedout
b0612397d3
style: Tidy up
2026-06-20 17:08:00 +01:00
timedout
31737e127e
fix: Make fetch_state_ids_from_backfill_servers candidate-free safe
2026-06-20 17:08:00 +01:00
timedout
486dcd208c
style: Resolve lint complaints
2026-06-20 17:08:00 +01:00
timedout
a945a4b2ad
fix: Correctly handle still-missing state, always fetch full state atomically if regular fetch fails
2026-06-20 17:08:00 +01:00
timedout
c28ea44e11
fix: Correct inverted boolean condition, add explicit timeout on /state fetch
2026-06-20 17:08:00 +01:00
timedout
3e4d6b2565
perf: Always fetch at least N events per GME
2026-06-20 17:08:00 +01:00
timedout
29ce21cd2e
fix: Correctly pre-populate state events vec with known events
2026-06-20 17:08:00 +01:00
timedout
d461c6977a
fix: Friendly assertations
2026-06-20 17:08:00 +01:00
timedout
5a0d6461d1
perf: Don't try to re-persist non-outliers we already have
2026-06-20 17:08:00 +01:00
timedout
2ec7394785
perf: Don't add trees we already have to latest boundary
2026-06-20 17:08:00 +01:00
timedout
8a5708b9f9
fix: Be noisy when there's no incoming state
2026-06-20 17:08:00 +01:00
timedout
cd46070bd3
fix: Elide auth chain from fetch_and_handle_outliers
2026-06-20 17:08:00 +01:00
timedout
9930e549a0
fix: Progress log in fetch_prev
2026-06-20 17:08:00 +01:00
timedout
36ed20cb04
fix: Downgrade safe assert to debug assert
2026-06-20 17:08:00 +01:00
timedout
3907589b6c
fix: Don't download the world
2026-06-20 17:08:00 +01:00
timedout
2a598af888
feat: Make logging more verbose to diagnose the aranjesplosion
2026-06-20 17:08:00 +01:00
timedout
f34f84832b
feat: Include timing information in debug logs
2026-06-20 17:08:00 +01:00
timedout
0efa6ed1f2
fix: Don't treat prev outlier upgrades as fetch failures
2026-06-20 17:08:00 +01:00