timedout
a916fdf09a
fix: Mark even more error codes as stale based on observed data
2026-08-20 00:57:11 +00:00
timedout
768933b025
fix: Don't stop tracking servers when there's nothing more to send despite being inflight
2026-08-20 00:57:11 +00:00
timedout
46f0483395
fix: Correctly insert running status only if the sender should attempt to send
2026-08-20 00:57:11 +00:00
timedout
f7773760a6
fix(sender): Don't attempt to send concurrent transactions to a remote
2026-08-20 00:57:11 +00:00
timedout
6104c68768
style: Centralise decision for stale marker
2026-08-20 00:57:11 +00:00
timedout
ef5bf7c977
feat: Clear destinations cache when a remote is potentially stale
2026-08-20 00:57:11 +00:00
timedout
2d713c1631
feat: Use an explicit backoff base value
2026-08-20 00:57:11 +00:00
timedout
79c9f7da30
chore: Tidy up backoff helper code
2026-08-20 00:57:11 +00:00
timedout
bc1826de66
feat: Hook transaction senders into health tracking
2026-08-20 00:57:11 +00:00
timedout
e1866df682
feat: Trace why remotes get health marked
2026-08-20 00:57:11 +00:00
timedout
785db0bdba
chore: Move health tracking to federation service
...
Otherwise federation would have to depend on sender
2026-08-20 00:57:11 +00:00
timedout
6ae66eed1b
feat: Mark servers as online/offline based on transaction responses
2026-08-20 00:57:11 +00:00
Erwan Leboucher
43197f695c
feat(sync): Add MSC4354 sticky events
2026-08-02 17:28:00 +00:00
timedout
2d65d47498
fix: Load bearing mut refs
2026-06-27 18:37:33 +01:00
timedout
e4922814b9
refactor: Add better documentation to sender service, add additional logging traces
...
This is a surprise tool that will help us later!
2026-06-27 18:37:33 +01:00
Jade Ellis
a4e64383b7
refactor: Ruma upstraming, bake a little more
2026-04-28 09:16:51 -04:00
Ginger and Jade Ellis
204bc1367e
refactor: Ruma upstreaming, half-baked edition
...
Co-authored-by: Jade Ellis <jade@ellis.link >
2026-04-28 09:16:51 -04:00
timedout
01f6893c07
feat: Reduce verbosity of "remote server couldn't process pdu" warning
...
(cherry picked from commit 8b206564aa )
2026-04-18 01:11:48 +01:00
Jason Volk and Jade Ellis
1a7bda209b
feat: Implement Dehydrated Devices MSC3814
...
Co-authored-by: Jade Ellis <jade@ellis.link >
Signed-off-by: Jason Volk <jason@zemos.net >
2026-03-03 19:39:53 +00:00
Jade Ellis
d3ee9c407a
fix: Apply timeouts in more places
2026-01-09 19:42:13 +00:00
Jade Ellis
aed15f246a
refactor: Clean up logging issues
...
Primary issues: Double escapes (debug fmt), spans without levels
2026-01-05 18:28:57 +00:00
Jade Ellis
987c5eeb03
refactor: Promote handling unsigned data out of timeline
...
Also fixes:
- Transaction IDs leaking in event route
- Age not being set for event relations or threads
- Both of the above for search results
Notes down concern with relations table
2025-12-21 17:12:33 +00:00
Ginger
07dfc5528d
refactor(sync/v3): Split load_joined_room into smaller functions
2025-12-07 19:58:24 +00:00
Ginger
2940bc69c1
fix(sync/v3): Cleanup part 1: mostly fix redundant data in state
2025-12-07 19:58:24 +00:00
nexy7574
7e4071c117
Implement room v12 ( #943 )
...
**Does not yet work!** Currently, state resolution does not correctly resolve conflicting states. Everything else appears to work as expected, so stateres will be fixed soon, then we should be clear for takeoff.
Also: a lot of things currently accept a nullable room ID that really just don't need to. This will need tidying up before merge. Some authentication checks have also been disabled temporarily but nothing important.
A lot of things are tagged with `TODO(hydra)`, those need resolving before merge. External contributors should PR to the `hydra/public` branch, *not* ` main`.
---
This PR should be squash merged.
Reviewed-on: https://forgejo.ellis.link/continuwuation/continuwuity/pulls/943
Co-authored-by: nexy7574 <git@nexy7574.co.uk >
Co-committed-by: nexy7574 <git@nexy7574.co.uk >
2025-09-17 20:46:03 +00:00
Jason Volk
364293608d
Post-formatting aesthetic and spacing corrections
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-02 19:17:06 +01:00
Jason Volk and Jade Ellis
116f85360f
Toward abstracting Pdu into trait Event.
...
Co-authored-by: Jade Ellis <jade@ellis.link >
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-02 19:03:26 +01:00
Jason Volk
bee4c6255a
reorg PduEvent strip tools and callsites
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-03-30 23:00:37 +00:00
Jason Volk
a67ab75417
fix edition 2024 lints
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-02-27 10:26:45 -05:00
June Clementine Strawberry
a1e1f40ded
run cargo fix for rust 2024 changes and rustfmt
...
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay >
2025-02-23 01:17:45 -05:00
Jason Volk
ffe3b0faf2
make shutdown grace periods configurable
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-02-02 16:30:55 +00:00
Jason Volk
09bc71caab
fix missed concurrent fetch opportunities in sender ( ffd0fd4242)
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-31 22:46:26 +00:00
Jason Volk
99fe88c21e
use smallvec for the edu sending event buffer
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-29 01:18:08 +00:00
Jason Volk
ffd0fd4242
pipeline pdu fetch for federation sending destination
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-29 01:18:08 +00:00
Jason Volk
4a2d0d35bc
split federation request from sending service
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-28 18:36:00 +00:00
Jason Volk
3e0ff2dc84
simplify references to server_name
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-28 18:36:00 +00:00
Jason Volk
02f19cf951
tweak tracing spans; inlines
...
db deserializer tracing instrument cover
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-10 07:03:34 +00:00
strawberry
a5d70f7356
add some m.room.member checks on putting direct state events
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2025-01-02 18:16:00 -05:00
Jason Volk
7e4453620e
move exponential backoff util to different submod
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-01 23:28:01 -05:00
Jason Volk
0a9b6c136f
refactor for ruma identifiers optimizations
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-01 23:28:01 -05:00
Jason Volk
e5a1309583
additional interruption points to hasten shutdown
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-01 23:28:01 -05:00
Jason Volk
af3d6a2e37
shard sender into multiple task workers by destination hash
...
rename Destination::Normal variant
tracing instruments
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-01 23:28:01 -05:00
Jade Ellis
5b5735f653
update ruwuma
2024-12-19 21:03:12 -05:00
strawberry
f54a62dda0
Revert "Send read reciept and typing indicator EDUs to appservices with receive_ephemeral"
...
This reverts commit 3675c941f8 .
2024-12-18 11:26:18 -05:00
Jade Ellis
3675c941f8
Send read reciept and typing indicator EDUs to appservices with receive_ephemeral
2024-12-17 22:49:45 -05:00
strawberry
77e0b76408
apply new rustfmt.toml changes, fix some clippy lints
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-15 01:00:41 -05:00
strawberry
0317cc8cc5
rename conduit to conduwuit finally
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-14 22:24:45 -05:00
Jason Volk
aba88ccead
misc tracing span tweaks
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-12-10 06:20:30 +00:00
Jason Volk
ef9b1c6303
simplify sender shutdown; prevent launching any retries
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-12-04 00:51:57 +00:00
Jason Volk
b5266ad9f5
parallelize sender edu selection
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-29 08:47:03 +00:00