94 Commits

Author SHA1 Message Date
Kegan Dougal
f70dbe0186 v0.99.19 2024-06-28 16:20:09 +01:00
Kegan Dougal
ea3baf2351 v0.99.18 2024-05-23 11:07:56 +01:00
Kegan Dougal
693587ef7e v0.99.17 2024-05-10 14:25:32 +01:00
Kegan Dougal
66fd58bc49 v0.99.16 2024-04-26 13:42:42 +01:00
Kegan Dougal
a1b5e48529 Run the cleaner on startup 2024-04-22 08:59:23 +01:00
Kegan Dougal
bbb886efd9 v0.99.15 2024-01-22 12:12:08 +00:00
Kegan Dougal
b0d20cefac v0.99.14 2024-01-08 10:33:04 +00:00
David Robertson
a8e9c56636
Bump version string, missed in v0.99.13 2023-12-08 14:11:28 +00:00
Boris Rybalkin
4c858fe3ef fix more docs 2023-11-16 14:07:23 +00:00
Kegan Dougal
8e32fff894 Bump to v0.99.12 2023-11-09 16:32:03 +00:00
Kegan Dougal
a86e01acd2 v0.9.11 2023-10-11 16:03:42 +01:00
Till Faelligen
3ed6346a21
Fix copy and paste mistake 2023-09-19 15:58:22 +02:00
Till Faelligen
317a722286
Merge branch 'main' of github.com:matrix-org/sliding-sync into s7evink/httptimeout 2023-09-19 15:03:35 +02:00
David Robertson
80ed88fe89
Remove per-device token migration added in #89
This is causing cyclic import pain. Remove it, rather than port it to
the newer migration infrastructure.

This means that users must run the migration before upgrading to the
any version which includes this change.
2023-09-19 11:32:13 +01:00
Till Faelligen
a397b72c30
Make HTTP timeout configurable 2023-09-19 11:48:49 +02:00
Kegan Dougal
696c602ff6 Add SYNCV3_DB_IDLE_TIMEOUT_SECS 2023-09-15 11:12:47 +01:00
Quentin Gliech
af5e8579b2 Better propagate request context
This properly propagates the go Context on down to all HTTP calls, which means that outgoing request have the OTLP trace context.
This also adds the Jaeger propagator to the list of OTEL propagators, so that Synapse properly gets the incoming trace context.
It also upgrades all the OTEL libraries
2023-09-13 19:41:52 +02:00
Kegan Dougal
d2140471e0 v0.99.10 2023-09-07 13:58:32 +01:00
David Robertson
f3e07c529b
v0.99.9 2023-09-06 16:54:21 +01:00
Till Faelligen
85637cdece
Actually make use of revLen 2023-09-04 09:46:32 +02:00
Till Faelligen
9c2206545a
Add GitCommit from ReadBuildInfo 2023-09-04 09:38:51 +02:00
Kegan Dougal
8e096656f5 v0.99.8 2023-09-01 09:46:41 +01:00
Kegan Dougal
fb92ec03f7 v0.99.7 2023-08-24 12:21:52 +01:00
Kegan Dougal
2730e8f3b0 Configure basic auth correctly 2023-08-23 15:38:45 +01:00
Kegan Dougal
9ae4a04824 Move from Jaeger to OTLP exportor
Jaeger spans can be sent as OTLP so this is mostly semantics for
the collector, which is more flexible if it accepts OTLP traces
rather than jaeger.thrift traces.
2023-08-23 12:52:47 +01:00
Till Faelligen
414fa865db
Merge branch 'main' of github.com:matrix-org/sliding-sync into s7evink/devicedata 2023-08-03 09:24:13 +02:00
Kegan Dougal
6c3856da28 v0.99.5 2023-08-02 17:17:17 +01:00
Till Faelligen
a085e1fc04
Merge branch 'main' of github.com:matrix-org/sliding-sync into s7evink/devicedata 2023-08-02 11:07:40 +02:00
Till Faelligen
7e7cc4ba80
Fix out of bounds error 2023-07-28 15:37:25 +02:00
Till Faelligen
9b7d27dd87
Add initial support for database migrations 2023-07-28 15:10:15 +02:00
David Robertson
5904e5a3c7
Make transaction id delay time configurable 2023-07-26 12:23:38 +01:00
Kegan Dougal
4e387ca9f0 v0.99.4 2023-07-12 18:20:09 +01:00
Kegan Dougal
ea805f7a1c Log calculated values for sanity 2023-07-12 17:42:04 +01:00
Kegan Dougal
8be09840d0 Add SYNCV3_MAX_DB_CONN: use it in e2e tests
This is designed to catch a class of SQL transaction bugs where
we BEGIN a transaction and then forget to use that `txn` var, and
do other things on `sql.DB` which will use a different connection.

By testing with max conns = 1 this will deadlock. We also test with
max conns = 2 to try to catch more pernicious failure modes. Using
max conns = 1 effectively serialises access to the database, but
some bugs may only be apparent when there is some limited amount
of concurrency available e.g mid-processing this event, do X. With
max conns = 1 we cannot test this, which is why we also test with
max conns = 2.
2023-07-12 17:10:47 +01:00
Kegan Dougal
4c661fbdd1 Add db conns test; uncomment DBMaxConns to break the world 2023-06-19 15:56:22 +01:00
David Robertson
69acacfb3a
v0.99.3 2023-06-19 14:49:43 +01:00
David Robertson
14a3370da6
Merge branch 'main' into dmr/oidc 2023-05-16 12:28:53 +01:00
David Robertson
4fe27e2d77
Fixup the migration test command
(Though idk if we want to keep this around)
2023-05-10 12:24:04 +01:00
David Robertson
d3a81adea2
Migrate on startup 2023-05-10 12:12:05 +01:00
networkException
4b7754f7d1
Allow setting a log level using environment variables
Signed-off-by: networkException <git@nwex.de>
2023-05-09 20:39:11 +02:00
David Robertson
1a7160787e
Fix various typos 2023-05-09 18:41:32 +01:00
David Robertson
b4bd1054d2
Add dirty entry point for testing the migration 2023-05-09 14:12:43 +01:00
David Robertson
08d3d0f317
Declare v0.99.2 2023-04-27 11:47:56 +01:00
David Robertson
6b40371b51
Don't set an environment 2023-04-12 19:22:42 +01:00
David Robertson
03823bd3ff
sync3.Setup may log to sentry 2023-04-05 18:40:23 +01:00
David Robertson
c0557f2011
DEBUG 2023-04-05 18:24:02 +01:00
David Robertson
7e49a8c2f1
Remove redundant sentry flush 2023-04-05 17:54:51 +01:00
David Robertson
646232dcb0
Explanatory comments 2023-04-05 17:54:25 +01:00
David Robertson
9ed2979d0d
Install sentry middleware
This partially reverts commit faef68bc6fee1cdd13ab75913ea978a253b78197.
2023-04-05 14:57:04 +01:00
David Robertson
0929f0da88
Describe env var in help 2023-04-04 18:18:07 +01:00