From ac5dc5d44fa4c412ed8aefa730b1edf9822ebcc0 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 14 Jan 2026 12:07:09 +0200 Subject: [PATCH] Pull in some additional Synapse workers routing configuration Provoked by https://github.com/element-hq/synapse/pull/19281 which landed in Synapse v1.145.0, but we pull in a few other routes that I noticed to be missing. --- roles/custom/matrix-synapse/vars/main.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/roles/custom/matrix-synapse/vars/main.yml b/roles/custom/matrix-synapse/vars/main.yml index f4de30ac8..8843c0600 100644 --- a/roles/custom/matrix-synapse/vars/main.yml +++ b/roles/custom/matrix-synapse/vars/main.yml @@ -200,12 +200,13 @@ matrix_synapse_workers_generic_worker_endpoints: - ^/_matrix/client/(r0|v3|unstable)/notifications$ # Encryption requests - # Note that ^/_matrix/client/(r0|v3|unstable)/keys/upload/ requires `worker_main_http_uri` - ^/_matrix/client/(r0|v3|unstable)/keys/query$ - ^/_matrix/client/(r0|v3|unstable)/keys/changes$ - ^/_matrix/client/(r0|v3|unstable)/keys/claim$ - ^/_matrix/client/(r0|v3|unstable)/room_keys/ - - ^/_matrix/client/(r0|v3|unstable)/keys/upload/ + - ^/_matrix/client/(r0|v3|unstable)/keys/upload$ + - ^/_matrix/client/(api/v1|r0|v3|unstable)/keys/device_signing/upload$ + - ^/_matrix/client/(api/v1|r0|v3|unstable)/keys/signatures/upload$ # Registration/login requests - ^/_matrix/client/(api/v1|r0|v3|unstable)/login$ @@ -223,6 +224,12 @@ matrix_synapse_workers_generic_worker_endpoints: - ^/_matrix/client/(api/v1|r0|v3|unstable)/knock/ - ^/_matrix/client/(api/v1|r0|v3|unstable)/profile/ + # Unstable MSC4140 support + - ^/_matrix/client/unstable/org.matrix.msc4140/delayed_events(/.*/restart)?$ + + # Admin API requests + - ^/_synapse/admin/v2/users/[^/]+$ + # Start of intentionally-ignored-endpoints # # We ignore these below, because they're better sent to dedicated workers (various stream writers).