Quentin Gliech
|
d62fe98f5a
|
syn2mas: provide guidance on how to re-do a fresh migration
|
2025-04-23 13:34:34 +02:00 |
|
Quentin Gliech
|
fa1ecc5216
|
syn2mas: warn about existing oauth-delegated user_external_ids
|
2025-04-23 13:30:02 +02:00 |
|
Quentin Gliech
|
f84f6142b9
|
Fix starting up when no telemetry config is set
|
2025-04-23 11:18:28 +02:00 |
|
Quentin Gliech
|
31c8a08dd1
|
syn2mas: spawn the writer connections in parallel
Also make sure we have a single span for them
|
2025-04-22 17:57:30 +02:00 |
|
Quentin Gliech
|
853b987a4a
|
syn2mas: only log once when rebuilding constraints
|
2025-04-22 17:46:12 +02:00 |
|
Quentin Gliech
|
9aafc576a1
|
syn2mas: log the number of entities migrated at each step
|
2025-04-22 17:38:58 +02:00 |
|
Quentin Gliech
|
ad2c183c71
|
syn2mas: reduce the channel buffer size
|
2025-04-22 17:35:15 +02:00 |
|
Quentin Gliech
|
1056949149
|
syn2mas: remove the MasWriter::write_ methods and replaced them in tests
|
2025-04-22 16:35:37 +02:00 |
|
Quentin Gliech
|
47009a8800
|
syn2mas: make the MasWriteBuffer use the WriteBatch trait
|
2025-04-22 15:49:17 +02:00 |
|
Quentin Gliech
|
d2f1ab08fb
|
syn2mas: implement WriteBatch for MasNewCompatRefreshToken
|
2025-04-22 14:42:52 +02:00 |
|
Quentin Gliech
|
aa2e2825fe
|
syn2mas: implement WriteBatch for MasNewCompatAccessToken
|
2025-04-22 14:39:59 +02:00 |
|
Quentin Gliech
|
86000613ac
|
syn2mas: implement WriteBatch for MasNewCompatSession
|
2025-04-22 14:37:32 +02:00 |
|
Quentin Gliech
|
07536cbd3b
|
syn2mas: implement WriteBatch for MasNewUpstreamOauthLink
|
2025-04-22 14:33:16 +02:00 |
|
Quentin Gliech
|
028a993dc6
|
syn2mas: implement WriteBatch for MasNewUnsupportedThreepid
|
2025-04-22 14:30:51 +02:00 |
|
Quentin Gliech
|
2450e2e480
|
syn2mas: implement WriteBatch for MasNewEmailThreepid
|
2025-04-22 14:25:13 +02:00 |
|
Quentin Gliech
|
4c081152a9
|
syn2mas: implement WriteBatch for MasNewUserPassword
|
2025-04-22 14:17:37 +02:00 |
|
Quentin Gliech
|
8488476368
|
syn2mas: implement WriteBatch for MasNewUser
|
2025-04-22 14:14:44 +02:00 |
|
Quentin Gliech
|
b3538219e6
|
syn2mas: introduce a WriteBatch trait to refactor how we write to MAS
|
2025-04-22 14:14:20 +02:00 |
|
Quentin Gliech
|
b21748c2bd
|
syn2mas: add a buffered channel for writing refreshable tokens
|
2025-04-22 13:49:22 +02:00 |
|
Quentin Gliech
|
c292da7ac9
|
syn2mas: add a buffered channel for writing external IDs
|
2025-04-22 13:44:52 +02:00 |
|
Quentin Gliech
|
ef81b3ce4f
|
syn2mas: add a buffered channel for writing threepids
|
2025-04-22 13:40:14 +02:00 |
|
Quentin Gliech
|
1fcf650322
|
Option to generate a MAS config from an existing Synapse config
This is a best-effort conversion, which will warn about unsupported options.
|
2025-04-18 18:27:15 +02:00 |
|
Quentin Gliech
|
0792171f91
|
Move the synapse_idp_id field to the top of the provider section
This means that when serializing those, it will be at a more obvious place.
|
2025-04-18 18:25:46 +02:00 |
|
Quentin Gliech
|
a061db35d7
|
Make a few password-related options public in the config crate
It also adds docs to a few of those options
|
2025-04-18 18:24:35 +02:00 |
|
Quentin Gliech
|
b4a1e5f691
|
syn2mas: replace #[allow] annotations with #[expect]
Also removes unused #[allow] annotations.
|
2025-04-18 11:34:27 +02:00 |
|
Quentin Gliech
|
35cd982e6f
|
syn2mas: refactor the metrics logic in the progress module
We don't need to carry around the various meters. Just make them global.
|
2025-04-18 11:32:26 +02:00 |
|
Quentin Gliech
|
2e2193b806
|
tasks: don't rely on #[instrument(err)] for logging errors
|
2025-04-18 09:59:31 +02:00 |
|
Quentin Gliech
|
005c427c2f
|
Record the job result from within the job LogContext
This means we can log stats about the job when it finishes, and its
status will have the right log context attached to it.
|
2025-04-18 09:59:30 +02:00 |
|
Quentin Gliech
|
3a8d4a1e8a
|
Replace most remaining #[instrument(err)] annotations
|
2025-04-18 09:59:29 +02:00 |
|
Quentin Gliech
|
93590a0375
|
Make the error wrapper log errors
|
2025-04-18 09:59:28 +02:00 |
|
Quentin Gliech
|
8ba47e9b37
|
Create log contexts for accepted connections & log errors in them
|
2025-04-18 09:59:27 +02:00 |
|
Quentin Gliech
|
28026e8001
|
handlers::views: don't rely on #[instrument(err)] to capture errors
|
2025-04-18 09:59:26 +02:00 |
|
Quentin Gliech
|
38b3dc6ce6
|
handlers::upstream_oauth2: don't rely on #[instrument(err)] to capture errors
|
2025-04-18 09:59:25 +02:00 |
|
Quentin Gliech
|
ef28aa2250
|
handlers::oauth2: don't rely on #[instrument(err)] for error logging
|
2025-04-18 09:59:25 +02:00 |
|
Quentin Gliech
|
d70877a1c9
|
Fix Sentry creating transactions for every request
|
2025-04-18 09:59:24 +02:00 |
|
Quentin Gliech
|
451fd3e2fa
|
Make the FancyError type log the error when being transformed into a response.
|
2025-04-18 09:59:23 +02:00 |
|
Quentin Gliech
|
a1c147c43a
|
Better errors for the introspection endpoint
|
2025-04-18 09:59:22 +02:00 |
|
Quentin Gliech
|
e65bc17e50
|
Better logging of client cretentials verification errors
|
2025-04-18 09:59:21 +02:00 |
|
Quentin Gliech
|
fb35d0e1b7
|
handlers::oauth2::token: Way better error logging on the token endpoint
|
2025-04-18 09:59:20 +02:00 |
|
Quentin Gliech
|
feb3f6c0a8
|
handlers::compat: don't rely on #[instrument(err)] for logging errors
|
2025-04-18 09:59:20 +02:00 |
|
Quentin Gliech
|
488991f8d6
|
handlers::admin: don't rely on #[instrument(err)] for logging errors
|
2025-04-18 09:59:19 +02:00 |
|
Quentin Gliech
|
c380cd0f98
|
Exclude the HTTP server response events from Sentry
|
2025-04-18 09:59:18 +02:00 |
|
Quentin Gliech
|
37a0af85a6
|
Macro to record an HTTP response error with the Sentry event ID attached
|
2025-04-18 09:59:13 +02:00 |
|
Quentin Gliech
|
c8c63a10ad
|
Log on every HTTP response
|
2025-04-18 09:58:57 +02:00 |
|
Quentin Gliech
|
7c9754d537
|
Add context to some log messages
|
2025-04-18 09:58:48 +02:00 |
|
Quentin Gliech
|
aa174a5ea0
|
Roll our own event formatter
|
2025-04-18 09:58:47 +02:00 |
|
Quentin Gliech
|
b56b5ebd47
|
Provide log context stats in a separate structure
|
2025-04-18 09:58:42 +02:00 |
|
Quentin Gliech
|
9e4689f263
|
Create a few basic logging contexts
|
2025-04-16 16:07:29 +02:00 |
|
Quentin Gliech
|
70e809b997
|
Introduce a task-level log context
|
2025-04-16 16:07:27 +02:00 |
|
Adis Veletanlic
|
5365e7a172
|
Fix clippy error
|
2025-04-16 13:04:25 +02:00 |
|