- May 03, 2022
-
-
David Robertson authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
... in order to debug some problems we've been having with certain events not being sent when expected.
-
Andrew Morgan authored
-
Richard van der Hoff authored
broken in 5938928c :-S
-
Richard van der Hoff authored
-
Richard van der Hoff authored
As the comment says, there is no need to process such events, and indeed we need to avoid doing so. Fixes #12509.
-
Andrew Morgan authored
-
David Robertson authored
Check we're on the right branch before tagging, and on the right tag before uploading * Abort if we're on the wrong branch * Check we have the right tag checked out * Clarify that `publish` only releases to GitHub
-
Erik Johnston authored
This works by taking a row level lock on the `rooms` table at the start of both transactions, ensuring that they don't run at the same time. In the event persistence transaction we also check that there is an entry still in the `rooms` table. I can't figure out how to do this in SQLite. I was just going to lock the table, but it seems that we don't support that in SQLite either, so I'm *really* confused as to how we maintain integrity in SQLite when using `lock_table`....
-
David Robertson authored
-
Andrew Morgan authored
-
- Apr 29, 2022
-
-
Richard van der Hoff authored
This was originally added when we first added a `MemoryHandler` to the default log config back in https://github.com/matrix-org/synapse/pull/8040, to ensure that we didn't explode with an infinite loop if there was an error formatting the logs. Since then, we made additional improvements to logging which make this workaround redundant. In particular: * we no longer attempt to log un-UTF8-decodable byte sequences, which were the most likely cause of an error in the first place. * https://github.com/matrix-org/synapse/pull/8268 ensures that in the unlikely case that there *is* an error, it won't cause an infinite loop.
-
David Robertson authored
* Allow unused ignores in "bleeding edge" CI Where "bleeding edge" means the Twisted Trunk and Latest Deps jobs. Follow up from #12531. Resolves #12574. * Use `--extras all` in latest deps mypy CI Twisted trunk job already does this. Missed in #12531. * changelog
-
- Apr 28, 2022
-
-
Patrick Cloke authored
-
Šimon Brandner authored
-
Sean Quah authored
The status code of requests must always be set, regardless of client disconnection, otherwise they will always be logged as 200!. Broken for `respond_with_json` in f48792ee. Broken for `respond_with_json_bytes` in 3e58ce72. Broken for `respond_with_html_bytes` in ea26e9a9. Signed-off-by:
Sean Quah <seanq@element.io>
-
DeepBlueV7.X authored
-
David Robertson authored
This reverts commit 5a320baa. This reverts commit f282d5fc. This reverts commit ce6ecdd4.
-
David Robertson authored
-
David Robertson authored
Twisted trunk job already does this. Missed in #12531.
-
David Robertson authored
Where "bleeding edge" means the Twisted Trunk and Latest Deps jobs. Follow up from #12531. Resolves #12574.
-
- Apr 27, 2022
-
-
Sean Quah authored
When configuring the return values of mocks, prefer awaitables from `make_awaitable` over `defer.succeed`. `Deferred`s are only awaitable once, so it is inappropriate for a mock to return the same `Deferred` multiple times. Also update `run_in_background` to support functions that return arbitrary awaitables. Signed-off-by:
Sean Quah <seanq@element.io>
-
Brendan Abolivier authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
reivilibre authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
David Robertson authored
Not enforced in config yet. One day.
-
David Robertson authored
Over time we've begun to use newer versions of mypy, typeshed, stub packages---and of course we've improved our own annotations. This makes some type ignore comments no longer necessary. I have removed them. There was one exception: a module that imports `select.epoll`. The ignore is redundant on Linux, but I've kept it ignored for those of us who work on the source tree using not-Linux. (#11771) I'm more interested in the config line which enforces this. I want unused ignores to be reported, because I think it's useful feedback when annotating to know when you've fixed a problem you had to previously ignore. * Installing extras before typechecking Lacking an easy way to install all extras generically, let's bite the bullet and make install the hand-maintained `all` extra before typechecking. Now that https://github.com/matrix-org/backend-meta/pull/6 is merged to the release/v1 branch.
-
Patrick Cloke authored
-
Will Hunt authored
-
Dirk Klimpel authored
-
- Apr 26, 2022
-
-
Nick Mills-Barrett authored
Co-authored-by:
Brad Murray <bradtgmurray@gmail.com> Co-authored-by:
Andrew Morgan <andrewm@element.io>
-
David Robertson authored
Synapse 1.58.0rc2 (2022-04-26) ============================== This release candidate fixes bugs related to Synapse 1.58.0rc1's logic for handling device list updates. Bugfixes -------- - Fix a bug introduced in Synapse 1.58.0rc1 where the main process could consume excessive amounts of CPU and memory while handling sentry logging failures. ([\#12554](https://github.com/matrix-org/synapse/issues/12554)) - Fix a bug introduced in Synapse 1.58.0rc1 where opentracing contexts were not correctly sent to whitelisted remote servers with device lists updates. ([\#12555](https://github.com/matrix-org/synapse/issues/12555)) Internal Changes ---------------- - Reduce unnecessary work when handling remote device list updates. ([\#12557](https://github.com/matrix-org/synapse/issues/12557))
-
David Robertson authored
-
David Robertson authored
-
Erik Johnston authored
-
David Robertson authored
-
Erik Johnston authored
-
Jason Robinson authored
Co-authored-by:
David Robertson <davidr@element.io>
-