David Robertson
0a38c7ec6d
Snapshot schema 72 ( #13873 )
Including another batch of fixes to the schema dump script
1 year ago
Mathieu Velten
6bd8763804
Add cache invalidation across workers to module API ( #13667 )
Signed-off-by: Mathieu Velten <mathieuv@matrix.org>
1 year ago
reivilibre
9ce1a53c46
Fix the release script not publishing binary wheels. ( #13850 )
1 year ago
reivilibre
a35842caec
Fix the release script not publishing binary wheels. ( #13850 )
1 year ago
David Robertson
fff9b955fa
Generate separate snapshots for logical databases ( #13792 )
* Generate separate snapshots for sqlite, postgres and common
* Cleanup postgres dbs in the TRAP
* Say which logical DB we're applying updates to
* Run background updates on the state DB
* Add new option for accepting a SCHEMA_NUMBER
1 year ago
David Robertson
b60d47ab2c
Updates to the schema dump script ( #13770 )
1 year ago
reivilibre
c7b18d9d44
Extend the release script to wait for GitHub Actions to finish and to be usable as a guide for the whole process. ( #13483 )
1 year ago
David Robertson
ba8938b090
Reject non-strict types in Pydantic models ( #13502 )
1 year ago
reivilibre
1c910e2216
Add a `merge-back` command to the release script, which automates merging the correct branches after a release. ( #13393 )
1 year ago
reivilibre
05aeeb3a80
Enable Complement CI tests in the 'latest deps' test run. ( #13213 )
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
1 year ago
reivilibre
543dc9c93e
Extend the release script to automatically push a new SyTest branch, rather than having that be a manual process. ( #12978 )
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
1 year ago
Patrick Cloke
1efe6b8c41
Stop building Ubuntu 21.10 (Impish Indri) which is end of life. ( #13326 )
1 year ago
reivilibre
0c95313a44
Add --build-only option to complement.sh to prevent actually running Complement. ( #13158 )
1 year ago
reivilibre
65e675504f
Add the ability to set the log level using the `SYNAPSE_TEST_LOG_LEVEL` environment when using `complement.sh`. ( #13152 )
1 year ago
reivilibre
c04e25789e
Enable Complement testing in the 'Twisted Trunk' CI runs. ( #13079 )
1 year ago
Richard van der Hoff
fe910fb10e
complement.sh: Permit skipping docker build ( #13143 )
Add a `-f` argument to `complement.sh` to skip the docker build
1 year ago
Erik Johnston
de334ac183
Add a CI job to check that schema deltas are in the correct folder. ( #13063 )
2 years ago
reivilibre
538044ac01
Collapse Docker build commands in Complement CI runs to make the logs easier to read. ( #13058 )
2 years ago
Erik Johnston
aef398457f
Up complement time outs ( #13048 )
2 years ago
Patrick Cloke
1df22e16df
Fix example of running complement.sh. ( #12990 )
2 years ago
reivilibre
67f51c84f8
Merge the Complement testing Docker images into a single, multi-purpose image. ( #12881 )
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2 years ago
David Robertson
81d9f2a8e9
Fixes to MSC3787 implementation ( #12858 )
2 years ago
reivilibre
7a68203cde
Disable 'faster room join' Complement tests when testing against Synapse with workers. ( #12842 )
2 years ago
David Robertson
5331fb5b47
allow `on_invalidate=None` in `@cached` methods ( #12769 )
2 years ago
Richard van der Hoff
34e84fee68
Tweaks to workers-under-complement ( #12637 )
* Bump the HS startup timeout
* Log prefixes for more processes
* Bump the overall timeout
2 years ago
Andrew Morgan
c4514b97db
Add missing space before 'docker' link in release announcement script ( #12612 )
2 years ago
David Robertson
bf2fea8f7d
Add sanity checks to the release script ( #12556 )
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
2 years ago
David Robertson
30c8e7e408
Make `scripts-dev` pass `mypy --disallow-untyped-defs` ( #12356 )
Not enforced in config yet. One day.
2 years ago
David Robertson
6b9e95015b
Lint the release script
2 years ago
David Robertson
730fcda546
Update release script to be poetry-aware
Poetry now manages the project version in pyproject.toml.
2 years ago
Shay
99ab45423a
build debian package for jammy jellyfish ( #12543 )
2 years ago
Richard van der Hoff
f5668f0b4a
Await un-partial-stating after a partial-state join ( #12399 )
When we join a room via the faster-joins mechanism, we end up with "partial
state" at some points on the event DAG. Many parts of the codebase need to
wait for the full state to load. So, we implement a mechanism to keep track of
which events have partial state, and wait for them to be fully-populated.
2 years ago
David Robertson
09b4f6e46d
Remove leftover references to setup.py ( #12514 )
* Remove leftover references to setup.py
Missed in #12478 .
* Changelog
2 years ago
Richard van der Hoff
798deb3a10
Fix typo in deb changelogs from release script ( #12497 )
The release script used to incorrectly write `New synapse release 1.57.0~rc1.`
instead of `New synapse release 1.57.0rc1.`
2 years ago
Jan Christian Grünhage
a1f87f57ff
Implement MSC3383: include destination in X-Matrix auth header ( #11398 )
Co-authored-by: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
Co-authored-by: Marcus Hoffmann <bubu@bubu1.eu>
2 years ago
David Robertson
535a689cfc
Reintroduce the lint targets in the linter script ( #12455 )
2 years ago
Erik Johnston
ba1588461b
Fix typos in release script docs ( #12450 )
2 years ago
Richard van der Hoff
3cdf5a1386
Fix up healthcheck generation for workers docker image ( #12405 )
This wasn't quite generating the right thing.
2 years ago
Richard van der Hoff
5f72ea1bde
Move complement setup stuff into the Synapse repo ( #12404 )
Fixes matrix-org/complement#330 (or it will, once we remove the old files).
It's not quite a lift-and-shift: I've also taken the opportunity to get rid of the custom CA that we used to use to sign the TLS certs, which has been superceded by the CA exposed by Complement.
2 years ago
David Robertson
dd5cc37aa4
Stop maintaining a list of lint targets in `lint.sh` ( #12420 )
2 years ago
David Robertson
80839a44f1
Remove more dead/broken dev scripts ( #12355 )
2 years ago
David Robertson
336bff1104
Burn `check_signature` dev script. ( #12351 )
2 years ago
David Robertson
21351820e0
Remove `list_url_patterns` dev script ( #12349 )
2 years ago
David Robertson
15cdcf8f30
Remove `dockerfile-pgtests` ( #12336 )
2 years ago
David Robertson
a7fb66e800
Update dead links in check-newsfragment.sh ( #12331 )
2 years ago
Andrew Morgan
19a1d6a42a
Remove references to "msc2403" ( #12165 )
2 years ago
David Robertson
12d1f82db2
Generate announcement links in release script ( #12242 )
2 years ago
David Robertson
4aeb00ca20
Move synctl into `synapse._scripts` and expose as an entrypoint ( #12140 )
2 years ago
Eric Eastwood
a511a890d7
Enable MSC2716 Complement tests in Synapse ( #12145 )
Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
2 years ago
Eric Eastwood
31b125ccec
Enable MSC3030 Complement tests in Synapse ( #12144 )
The Complement tests for MSC3030 are now merged, https://github.com/matrix-org/complement/pull/178
Synapse implmentation: https://github.com/matrix-org/synapse/pull/9445
2 years ago